SPECS: kpoldek.spec - builds - add patch0 - clean-up %files and %i...

shadzik shadzik at pld-linux.org
Sat Mar 3 11:17:24 CET 2007


Author: shadzik                      Date: Sat Mar  3 10:17:24 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- builds
- add patch0
- clean-up %files and %install section

---- Files affected:
SPECS:
   kpoldek.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/kpoldek.spec
diff -u SPECS/kpoldek.spec:1.4 SPECS/kpoldek.spec:1.5
--- SPECS/kpoldek.spec:1.4	Sat Mar  3 04:29:08 2007
+++ SPECS/kpoldek.spec	Sat Mar  3 11:17:18 2007
@@ -8,6 +8,7 @@
 Group:		X11/Applications
 Source0:	http://kde-apps.org/CONTENT/content-files/53979-%{name}.tar.gz
 # Source0-md5:	9698f2725876a2babc61ef13b90fbcf0
+Patch0:		%{name}-qobject.patch
 URL:		http://http://kde-apps.org/content/show.php?content=53979
 BuildRequires:	QtCore-devel
 BuildRequires:	QtGui-devel
@@ -29,6 +30,7 @@
 
 %prep
 %setup -q -n %{name}
+%patch0 -p0
 
 %build
 qt4-qmake -project
@@ -37,25 +39,16 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
+install -d $RPM_BUILD_ROOT%{_bindir}
 
-%{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT \
-	kde_htmldir=%{_kdedocdir} \
-	kde_libs_htmldir=%{_kdedocdir} \
-	kdelnkdir=%{_desktopdir} \
+install kpoldek $RPM_BUILD_ROOT%{_bindir}/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
-%{_pixmapsdir}/*
-%{_desktopdir}/*.desktop
-%{_iconsdir}/*/*/apps/%{name}.png
-%{_datadir}/mimelnk/application/*
-%{_datadir}/apps/%{name}
+%attr(755,root,root) %{_bindir}/kpoldek
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -63,6 +56,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2007/03/03 10:17:18  shadzik
+- builds
+- add patch0
+- clean-up %files and %install section
+
 Revision 1.4  2007/03/03 03:29:08  shadzik
 - just adapterized
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kpoldek.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list