first working release, can delete certificates
This commit is contained in:
66
tokentool.spec.in
Normal file
66
tokentool.spec.in
Normal file
@@ -0,0 +1,66 @@
|
||||
Summary: @PACKAGENAME@ PLEASE DESCRIBE
|
||||
Name: @PACKAGENAME@
|
||||
Version: @VERSION@
|
||||
Release: 1
|
||||
License: LGPL
|
||||
Group: Development/Libraries/C++
|
||||
URL: https://dev.swisssign.com/projects/@PACKAGENAME@
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildRequires: subversion libcppunit-devel gcc-c++ doxygen graphviz texlive automake autoconf libtool make
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
|
||||
|
||||
%description
|
||||
@README@
|
||||
|
||||
This package contains only the shared libraries required at runtime.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
./configure --prefix=/usr \
|
||||
--docdir=/usr/share/doc/packages/@PACKAGENAME@ \
|
||||
--libdir=/usr/lib
|
||||
|
||||
%build
|
||||
make
|
||||
|
||||
%install
|
||||
DESTDIR=$RPM_BUILD_ROOT make install
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
/usr/lib/@PACKAGENAME@.so.*
|
||||
%doc
|
||||
/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
|
||||
|
||||
%package devel
|
||||
Summary: @PACKAGENAME@ PLEASE DESCRIBE (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/@PACKAGENAME@.so
|
||||
/usr/lib/@PACKAGENAME@.a
|
||||
/usr/lib/pkgconfig
|
||||
/usr/lib/@PACKAGENAME@.la
|
||||
/usr/include/
|
||||
/usr/share/pkgconfig
|
||||
%doc
|
||||
/usr/share/doc/packages/@PACKAGENAME@/html
|
||||
/usr/share/doc/packages/@PACKAGENAME@/@PACKAGENAME@.spec
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user