raphgro pushed to kdocker (epel7). "- kdocker-4.3"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Mar 30 20:44:34 UTC 2015


>From 3b8e0eea81cb3b5241e08bb09263fd168fbec242 Mon Sep 17 00:00:00 2001
From: Rex Dieter <rdieter at fedoraproject.org>
Date: Wed, 20 Jan 2010 19:25:12 +0000
Subject: - kdocker-4.3


diff --git a/.cvsignore b/.cvsignore
index 9ca0d3d..8450104 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-kdocker-1.3.tar.gz
+kdocker-4.3.tar.gz
diff --git a/kdocker-1.3-paths.patch b/kdocker-1.3-paths.patch
deleted file mode 100644
index 98ba808..0000000
--- a/kdocker-1.3-paths.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- kdocker/kdocker.pro.paths	2005-04-04 22:14:58.000000000 -0500
-+++ kdocker/kdocker.pro	2006-05-10 12:29:45.000000000 -0500
-@@ -1,10 +1,10 @@
- TEMPLATE = app
- DEPENDPATH += i18n src
- INCLUDEPATH += . src  /usr/include/X11 /usr/include/X11R6
--LIBPATH += /usr/X11/lib /usr/X11R6/lib
-+#LIBPATH += /usr/X11/lib /usr/X11R6/lib
- LIBS = -lX11 -lXpm -lXmu
- TARGET = kdocker
--INSTALL_PATH = /usr/local/share/kdocker
-+INSTALL_PATH = $(DESTDIR)/usr/share/kdocker
- DOCS_PATH = $$INSTALL_PATH/docs
- 
- # Defines
-@@ -24,10 +24,10 @@
- docs.path = $$DOCS_PATH
- docs.files = README
- 
--desktop.path = /usr/share/applications
-+desktop.path = $(DESTDIR)/usr/share/applications
- desktop.files = kdocker.desktop
- 
--target.path = /usr/local/bin
-+target.path = $(DESTDIR)/usr/bin
- 
- INSTALLS += target icons docs translations desktop
- 
---- kdocker/kdocker.desktop.paths	2004-11-22 10:11:49.000000000 -0600
-+++ kdocker/kdocker.desktop	2006-05-10 12:29:14.000000000 -0500
-@@ -4,7 +4,7 @@
- Comment=Docks any application into system tray
- Exec=kdocker
- TryExec=kdocker
--Icon=/usr/local/share/kdocker/icons/kdocker.png
-+Icon=/usr/share/kdocker/icons/kdocker.png
- Terminal=false
- Type=Application
- Categories=Application;Utility;
diff --git a/kdocker.spec b/kdocker.spec
index ff0fce5..dabce40 100644
--- a/kdocker.spec
+++ b/kdocker.spec
@@ -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
 
diff --git a/sources b/sources
index b3cac12..63bf5af 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c6900fc87c6c48cd106457ed9c6f924f  kdocker-1.3.tar.gz
+51bd0a29e58edc6c93fe19f9c5acaaea  kdocker-4.3.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/kdocker.git/commit/?h=epel7&id=3b8e0eea81cb3b5241e08bb09263fd168fbec242


More information about the scm-commits mailing list