rpms/kdocker/devel .cvsignore, 1.2, 1.3 kdocker.spec, 1.16, 1.17 sources, 1.2, 1.3 kdocker-1.3-paths.patch, 1.2, NONE

Rex Dieter rdieter at fedoraproject.org
Wed Jan 20 19:25:13 UTC 2010


Author: rdieter

Update of /cvs/pkgs/rpms/kdocker/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9218

Modified Files:
	.cvsignore kdocker.spec sources 
Removed Files:
	kdocker-1.3-paths.patch 
Log Message:
* Wed Jan 20 2010 Rex Dieter <rdieter at fedoraproject.org> - 4.3-1
- kdocker-4.3



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/kdocker/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- .cvsignore	1 Nov 2005 14:14:40 -0000	1.2
+++ .cvsignore	20 Jan 2010 19:25:12 -0000	1.3
@@ -1 +1 @@
-kdocker-1.3.tar.gz
+kdocker-4.3.tar.gz


Index: kdocker.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdocker/devel/kdocker.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -r1.16 -r1.17
--- kdocker.spec	25 Jul 2009 04:31:44 -0000	1.16
+++ kdocker.spec	20 Jan 2010 19:25:12 -0000	1.17
@@ -1,103 +1,74 @@
 
 Name:	 kdocker
 Summary: Dock any application in the system tray
-Version: 1.3
-Release: 13%{?dist}
+Version: 4.3 
+Release: 1%{?dist}
 
 Group:   User Interface/Desktops
 License: GPLv2+
-URL:	 http://kdocker.sourceforge.net/
-Source0: http://downloads.sourceforge.net/sourceforge/kdocker/kdocker-%{version}.tar.gz
+URL:	 https://launchpad.net/kdocker 
+Source0: http://launchpad.net/kdocker/trunk/%{version}/+download/kdocker-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-Patch1: kdocker-1.3-paths.patch 
+## upstreamable patches
+# use an adjustable install prefix, default to /usr (vs /usr/local)
+Patch50: kdocker-4.3-qmake_saner_defaults.patch
 
-BuildRequires: desktop-file-utils
-BuildRequires: qt3-devel 
-%if 0%{?fedora} > 4 || 0%{?rhel} > 4
-BuildRequires: libXmu-devel
-BuildRequires: libXpm-devel
-%endif
+BuildRequires: qt4-devel
 
 %description
 KDocker will help you dock any application in the system tray. This means you
 can dock openoffice, xmms, firefox, thunderbolt, eclipse, anything! Just point
 and click. Works for both KDE and GNOME (In fact it should work for most modern
-window managers that support NET WM Specification. I believe it works for XFCE,
-for instance)
+window managers that support NET WM Specification for instance)
 
 All you need to do is start KDocker and select an application using the mouse
-and lo! the application gets docked into the system tray. The application can 
+and lo! the application gets docked into the system tray. The application can
 also be made to dissappear from the task bar.
 
-KDocker supports the KDE System Tray Protocol and the System Tray Protocol from
-freedesktop.org
-
-Very few apps have docking capabilities (e.g. Yahoo! and XMMS don't have any). 
-Even if they do, sometimes they are specific to desktops (working on KDE but 
-not on GNOME, and vice versa). KDocker will help you dock any application in 
-the system tray. This means you can dock OpenOffice.org, XMMS, Firefox, 
-Thunderbird, etc. Just point and click. It works for KDE, GNOME, XFCE, and 
-probably many more.
-
 
 %prep
-%setup -q -n kdocker 
+%setup -q 
 
-%patch1 -p1 -b .paths
+%patch50 -p1 -b .qmake_saner_defaults
 
 
 %build
-unset QTDIR || : ; . /etc/profile.d/qt.sh
-
-qmake 
-sed -i -e '/^\s*-\?strip /d' Makefile # naughty qmake
+%{_qt4_qmake}
 
-# Not smp safe
-make 
+make  %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot} 
 
-make install DESTDIR=$RPM_BUILD_ROOT
+make install INSTALL_ROOT=%{buildroot}
 
 desktop-file-install \
-  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
+  --dir=%{buildroot}%{_datadir}/applications \
   --vendor="" \
   --add-category="Qt" \
-  $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
-
-# remove dup'd docs
-rm -rf $RPM_BUILD_ROOT%{_datadir}/kdocker/docs
-ln -s %{_docdir}/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/kdocker/docs
-
-# %lang'ify i18n bits
-echo "%dir %{_datadir}/kdocker/i18n/" >> %{name}.lang
-for lang_bit in $RPM_BUILD_ROOT%{_datadir}/kdocker/i18n/*.qm ; do
-  if [ -f $lang_bit ]; then
-    lang_file=$(basename $lang_bit)
-    lang=$(echo $lang_file .qm | cut -d_ -f2)
-    echo "%lang($lang) %{_datadir}/kdocker/i18n/$lang_file" >> %{name}.lang
-  fi
-done
+  helpers/kdocker.desktop 
 
 
 %clean
-rm -rf $RPM_BUILD_ROOT 
+rm -rf %{buildroot}
 
 
-%files -f %{name}.lang
+%files 
 %defattr(-,root,root,-)
-%doc AUTHORS BUGS COPYING CREDITS ChangeLog HACKING README TODO VERSION
-%{_bindir}/*
-%dir %{_datadir}/kdocker/
-%{_datadir}/kdocker/docs
-%{_datadir}/kdocker/icons/
-%{_datadir}/applications/*.desktop
+%doc AUTHORS BUGS COPYING CREDITS ChangeLog README TODO VERSION
+%{_bindir}/kdocker
+%{_datadir}/kdocker/
+%{_datadir}/applications/kdocker.desktop
+# wary of owning this dir, but seems like what most other packages do
+%{_sysconfdir}/bash_completion.d/
 
 
 %changelog
+* Wed Jan 20 2010 Rex Dieter <rdieter at fedoraproject.org> - 4.3-1
+- kdocker-4.3
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/kdocker/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources	1 Nov 2005 14:14:40 -0000	1.2
+++ sources	20 Jan 2010 19:25:12 -0000	1.3
@@ -1 +1 @@
-c6900fc87c6c48cd106457ed9c6f924f  kdocker-1.3.tar.gz
+51bd0a29e58edc6c93fe19f9c5acaaea  kdocker-4.3.tar.gz


--- kdocker-1.3-paths.patch DELETED ---



More information about the scm-commits mailing list