SPECS: kbarcode.spec - add %files

glen glen at pld-linux.org
Tue Oct 10 00:53:53 CEST 2006


Author: glen                         Date: Mon Oct  9 22:53:53 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add %files

---- Files affected:
SPECS:
   kbarcode.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/kbarcode.spec
diff -u SPECS/kbarcode.spec:1.2 SPECS/kbarcode.spec:1.3
--- SPECS/kbarcode.spec:1.2	Tue Oct 10 00:23:47 2006
+++ SPECS/kbarcode.spec	Tue Oct 10 00:53:47 2006
@@ -8,6 +8,9 @@
 URL:		http://www.kbarcode.net/
 Source0:	http://dl.sourceforge.net/kbarcode/%{name}-%{version}.tar.gz
 # Source0-md5:	86f62225995d9c55a0b8b0bf1dd0e403
+Patch0:		kde-common-PLD.patch
+BuildRequires:	autoconf
+BuildRequires:	automake
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -24,8 +27,10 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__make} -f admin/Makefile.common cvs
 %configure
 %{__make}
 
@@ -34,11 +39,21 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/kbarcode
+%{_libdir}/kde3/kfile_kbarcode.la
+%attr(755,root,root) %{_libdir}/kde3/kfile_kbarcode.so
+%{_desktopdir}/kde/*.desktop
+%{_datadir}/apps/kbarcode
+%{_iconsdir}/hicolor/*/actions/*.png
+%{_iconsdir}/hicolor/*/apps/kbarcode.png
+%{_datadir}/services/kfile_kbarcode.desktop
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -46,7 +61,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/10/09 22:53:47  glen
+- add %files
+
 Revision 1.2  2006/10/09 22:23:47  glen
 - pldize
-
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kbarcode.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list