SPECS: kde-kio-gopher.spec - builds, packages, works; rel 2

glen glen at pld-linux.org
Sun Dec 30 18:04:27 CET 2007


Author: glen                         Date: Sun Dec 30 17:04:27 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- builds, packages, works; rel 2

---- Files affected:
SPECS:
   kde-kio-gopher.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/kde-kio-gopher.spec
diff -u SPECS/kde-kio-gopher.spec:1.9 SPECS/kde-kio-gopher.spec:1.10
--- SPECS/kde-kio-gopher.spec:1.9	Tue Feb 13 09:06:36 2007
+++ SPECS/kde-kio-gopher.spec	Sun Dec 30 18:04:21 2007
@@ -1,21 +1,22 @@
 # $Revision$, $Date$
-%define		_name	gopher
 Summary:	Gopher support for KDE
 Summary(pl.UTF-8):	Obsługa protokołu gopher dla KDE
-Name:		kde-kio-%{_name}
+Name:		kde-kio-gopher
 Version:	20040214
-Release:	1
+Release:	2
 License:	GPL
 Group:		Applications
-Source0:	http://download.berlios.de/kgopher/kio_%{_name}-%{version}.tar.bz2
+Source0:	http://download.berlios.de/kgopher/kio_gopher-%{version}.tar.bz2
 # Source0-md5:	3e0ce7b35f48a8f7af64cd8789a332b2
-Patch0:		kde-common-PLD.patch
+Patch0:		%{name}-admin.patch
+Patch1:		%{name}-am.patch
+Patch2:		kde-ac260.patch
+Patch3:		kde-ac260-lt.patch
 URL:		http://kgopher.berlios.de/
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	kdelibs-devel >= 9:3.2.0
 BuildRequires:	rpmbuild(macros) >= 1.129
-#BuildRequires:	unsermake >= 040805
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,12 +26,16 @@
 Obsługa protokołu gopher dla KDE.
 
 %prep
-%setup -q -n kio_%{_name}-%{version}
+%setup -q -n kio_gopher-%{version}
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+
+rm -rf po/xx
 
 %build
 cp -f /usr/share/automake/config.sub admin
-#export PATH=/usr/share/unsermake:$PATH
 %{__make} -f admin/Makefile.common cvs
 
 %configure \
@@ -43,7 +48,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
+install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_datadir}/services}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
@@ -51,19 +56,17 @@
 	kde_libs_htmldir=%{_kdedocdir} \
 	kdelnkdir=%{_desktopdir} \
 
-%find_lang %{name} --with-kde
+%find_lang kio_gopher --with-kde
+mv $RPM_BUILD_ROOT{%{_desktopdir},%{_datadir}/services}/gopher.protocol
+rm -f $RPM_BUILD_ROOT%{_libdir}/kde3/kio_gopher.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f %{name}.lang
+%files -f kio_gopher.lang
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
-%{_pixmapsdir}/*
-%{_desktopdir}/*.desktop
-%{_iconsdir}/*/*/apps/%{name}.png
-%{_datadir}/mimelnk/application/*
-%{_datadir}/apps/%{name}
+%{_libdir}/kde3/kio_gopher.so
+%{_datadir}/services/gopher.protocol
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -71,6 +74,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2007-12-30 17:04:21  glen
+- builds, packages, works; rel 2
+
 Revision 1.9  2007-02-13 08:06:36  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kde-kio-gopher.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list