started with spec file, refs #5
parent
d1734158ef
commit
a1060535d1
3 changed files with 68 additions and 2 deletions
@ -0,0 +1,62 @@ |
||||
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 <marc@dev0002.int.swisssign.net> - cxx-1 |
||||
- Initial build. |
Loading…
Reference in new issue