|
|
|
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
|
|
|
|
Conflicts: swisssurfer
|
|
|
|
Provides: swisssurfer
|
|
|
|
Obsoletes: swisssurfer
|
|
|
|
|
|
|
|
%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
|
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/share/doc/packages/@PACKAGENAME@/html
|
|
|
|
rm $RPM_BUILD_ROOT/usr/share/doc/packages/@PACKAGENAME@/COPYING
|
|
|
|
rm $RPM_BUILD_ROOT/usr/share/doc/packages/@PACKAGENAME@/INSTALL
|
|
|
|
rm $RPM_BUILD_ROOT/usr/share/doc/packages/swissbrowser/swissbrowser.spec
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
/usr/bin/@PACKAGENAME@
|
|
|
|
/usr/share/applications/@PACKAGENAME@.desktop
|
|
|
|
/usr/share/swissbrowser/swissbrowser.png
|
|
|
|
/usr/share/swissbrowser/swissbrowser.xpm
|
|
|
|
%doc
|
|
|
|
/usr/share/doc/packages/@PACKAGENAME@/AUTHORS
|
|
|
|
/usr/share/doc/packages/@PACKAGENAME@/ChangeLog
|
|
|
|
/usr/share/doc/packages/@PACKAGENAME@/NEWS
|
|
|
|
/usr/share/doc/packages/@PACKAGENAME@/README
|
|
|
|
|
|
|
|
%changelog
|