rpms/ktorrent/devel ktorrent.spec,1.34,1.35

Roland Wolters (liquidat) fedora-extras-commits at redhat.com
Fri Jul 6 12:56:25 UTC 2007


Author: liquidat

Update of /cvs/extras/rpms/ktorrent/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12487

Modified Files:
	ktorrent.spec 
Log Message:
Re-added some accidentely dropped spec file fixes.



Index: ktorrent.spec
===================================================================
RCS file: /cvs/extras/rpms/ktorrent/devel/ktorrent.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- ktorrent.spec	3 Jul 2007 19:45:23 -0000	1.34
+++ ktorrent.spec	6 Jul 2007 12:55:49 -0000	1.35
@@ -2,15 +2,21 @@
 
 Name:           ktorrent
 Version:        2.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A BitTorrent program for KDE
 Group:          Applications/Internet
 License:        GPL
 URL:            http://ktorrent.pwsp.net/
-Source0:        http://ktorrent.org/downloads/2.2/ktorrent-2.2.tar.gz
+Source0:        http://ktorrent.org/downloads/%{version}/ktorrent-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  qt-devel kdelibs-devel gettext gmp-devel avahi-devel automake desktop-file-utils
+BuildRequires:  kdelibs-devel
+BuildRequires:  gettext   
+BuildRequires:  gmp-devel   
+BuildRequires:  avahi-devel   
+BuildRequires:  desktop-file-utils   
+# for 'make -f admin/Makefile.common'   
+BuildRequires:  automake
 
 %description
 KTorrent is a BitTorrent program for KDE. Its main features are native KDE
@@ -19,16 +25,23 @@
 
 %prep
 %setup -q
+# fix "WARNING:.../Makefile.in seems to ignore the --datarootdir setting"
 make -f admin/Makefile.common
 
 %build
-%configure	--disable-rpath
+%configure \
+  --disable-rpath \
+  --enable-new-ldflags \
+  --disable-debug --disable-warnings \
+  --disable-dependency-tracking --enable-final
 
 make %{?_smp_mflags}
 
 %install
 %{__rm} -rf $RPM_BUILD_ROOT
+
 make install DESTDIR=$RPM_BUILD_ROOT
+
 %find_lang %{name}
 
 rm -f $RPM_BUILD_ROOT%{_datadir}/applnk/Internet/ktorrent.desktop
@@ -37,6 +50,9 @@
         --add-category=X-Fedora                                 \
         %{buildroot}%{_datadir}/applications/kde/ktorrent.desktop
 
+# Unpackaged files
+rm -f %{buildroot}%{_libdir}/lib*.la
+
 %post
 /sbin/ldconfig 2>/dev/null
 
@@ -63,7 +79,6 @@
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING README TODO
-%exclude %{_libdir}/lib*.la
 %{_bindir}/ktcachecheck
 %{_bindir}/ktorrent
 %{_bindir}/kttorinfo
@@ -96,7 +111,7 @@
 %{_libdir}/kde3/ktzeroconfplugin.so
 %{_libdir}/kde3/ktzeroconfplugin.la
 %{_datadir}/applications/kde/ktorrent.desktop
-%{_datadir}/apps/ktorrent
+%{_datadir}/apps/ktorrent/
 %{_datadir}/config.kcfg/ktlogviewerplugin.kcfg
 %{_datadir}/config.kcfg/ktrssfeedplugin.kcfg
 %{_datadir}/config.kcfg/ktscanfolderplugin.kcfg
@@ -137,6 +152,9 @@
 %{_datadir}/services/ktzeroconfplugin.desktop
 
 %changelog
+* Fri Jul 06 2007 Roland Wolters <wolters.liste at gmx.net> 2.2-2
+- spec-file fixes re-included
+
 * Tue Jul 03 2007 Roland Wolters <wolters.liste at gmx.net> 2.2-1
 - update to upstream 2.2:
 	- cleaner UI
@@ -151,6 +169,10 @@
 * Wed Jun 13 2007 Roland Wolters <wolters.liste at gmx.net> 2.2rc1-1
 - update to upstream 2.2rc1
 
+* Tue Apr 03 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.1.3-1
+- ktorrent-2.1.3 (#235014)
+- optimize %%configure
+
 * Fri Mar 09 2007 Roland Wolters <wolters.liste at gmx.net> 2.1.2-2
 - update to upstream 2.1.2
 




More information about the scm-commits mailing list