Summary: XML C++ Library Name: @PACKAGENAME@ Version: @VERSION@ Release: 1 License: LGPL Group: Development/Libraries/C++ URL: https://dev.marc.waeckerlin.org/projects/libxml-cxx Source0: %{name}-%{version}.tar.gz BuildRequires: libproxy-devel gcc-c++ doxygen graphviz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description @README@ This package contains only the shared libraries required at runtime. %prep %setup -q ./configure --prefix=/usr \ --datadir=/usr/share/doc/packages \ --libdir=/usr/lib %build make %install DESTDIR=$RPM_BUILD_ROOT make install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) /usr/lib/libxml-cxx.so.0.0.0 /usr/lib/libxml-cxx.so.0 %doc /usr/share/doc/packages/@PACKAGENAME@ %package devel Summary: XML C++ Library (development files) Group: Development/Libraries/C++ Requires: @PACKAGENAME@ = @VERSION@ %description devel @README@ This Package contains all files required for developement. %files devel %defattr(-,root,root,-) /usr/lib/libxml-cxx.so /usr/lib/libxml-cxx.a /usr/lib/pkgconfig /usr/lib/libxml-cxx.la /usr/include/ /usr/share/pkgconfig %changelog * Wed Apr 21 2010 Marc Wäckerlin - cxx-1 - Initial build.