You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.4 KiB
51 lines
1.4 KiB
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
|
|
|