From 0ba4b2bd32067e5125d27ebb19ab1be65748e1b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 3 Jan 2012 13:07:39 +0000 Subject: [PATCH] files to install and remove uninstalled files; refs #112 --- swisssurfer.spec.in | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/swisssurfer.spec.in b/swisssurfer.spec.in index 9928518..57ca0e7 100644 --- a/swisssurfer.spec.in +++ b/swisssurfer.spec.in @@ -26,41 +26,24 @@ 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/swisssurfer/swisssurfer.spec %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -/usr/lib/@PACKAGENAME@.so.* +/usr/bin/@PACKAGENAME@ +/usr/share/applications/@PACKAGENAME@.desktop +/usr/share/swisssurfer/swisssurfer.png +/usr/share/swisssurfer/swisssurfer.xpm %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