2010-04-26 06:37:14 +00:00
|
|
|
Summary: XML C++ Library
|
|
|
|
Name: @PACKAGENAME@
|
|
|
|
Version: @VERSION@
|
|
|
|
Release: 1
|
|
|
|
License: LGPL
|
|
|
|
Group: Development/Libraries/C++
|
2011-11-09 13:31:13 +00:00
|
|
|
URL: https://dev.marc.waeckerlin.org/projects/@PACKAGENAME@
|
2010-04-26 06:37:14 +00:00
|
|
|
Source0: %{name}-%{version}.tar.gz
|
2011-11-09 13:31:13 +00:00
|
|
|
BuildRequires: subversion libcppunit-devel gcc-c++ doxygen graphviz texlive automake autoconf libtool make
|
2010-04-26 06:37:14 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@README@
|
|
|
|
|
|
|
|
This package contains only the shared libraries required at runtime.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
./configure --prefix=/usr \
|
2011-11-09 15:09:49 +00:00
|
|
|
--docdir=/usr/share/doc/packages/@PACKAGENAME@ \
|
2010-04-26 06:37:14 +00:00
|
|
|
--libdir=/usr/lib
|
|
|
|
|
|
|
|
%build
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
DESTDIR=$RPM_BUILD_ROOT make install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2011-11-09 13:31:13 +00:00
|
|
|
/usr/lib/@PACKAGENAME@.so.*
|
2010-04-26 06:37:14 +00:00
|
|
|
%doc
|
2011-11-09 13:31:13 +00:00
|
|
|
/usr/share/doc/packages/@PACKAGENAME@/AUTHORS
|
|
|
|
/usr/share/doc/packages/@PACKAGENAME@/COPYING
|
|
|
|
/usr/share/doc/packages/@PACKAGENAME@/ChangeLog
|
|
|
|
/usr/share/doc/packages/@PACKAGENAME@/INSTALL
|
|
|
|
/usr/share/doc/packages/@PACKAGENAME@/NEWS
|
|
|
|
/usr/share/doc/packages/@PACKAGENAME@/README
|
2010-04-26 06:37:14 +00:00
|
|
|
|
|
|
|
%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,-)
|
2011-11-09 13:31:13 +00:00
|
|
|
/usr/lib/@PACKAGENAME@.so
|
|
|
|
/usr/lib/@PACKAGENAME@.a
|
2010-04-26 06:37:14 +00:00
|
|
|
/usr/lib/pkgconfig
|
2011-11-09 13:31:13 +00:00
|
|
|
/usr/lib/@PACKAGENAME@.la
|
2010-04-26 06:37:14 +00:00
|
|
|
/usr/include/
|
|
|
|
/usr/share/pkgconfig
|
2011-11-09 13:31:13 +00:00
|
|
|
%doc
|
2011-11-09 15:09:49 +00:00
|
|
|
/usr/share/doc/packages/@PACKAGENAME@/html
|
|
|
|
/usr/share/doc/packages/@PACKAGENAME@/@PACKAGENAME@.spec
|
2010-04-26 06:37:14 +00:00
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Wed Apr 21 2010 Marc Wäckerlin <marc@dev0002.int.swisssign.net> - cxx-1
|
|
|
|
- Initial build.
|