Hello community,
here is the log from the commit of package smart
checked in at Mon May 15 19:04:19 CEST 2006.
--------
--- smart/smart.changes 2006-04-26 21:00:34.000000000 +0200
+++ smart/smart.changes 2006-04-26 19:58:14.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Apr 26 19:57:18 CEST 2006 - cthiel@suse.de
+
+- new subpackage ksmarttray
+- included KDE service menus
+
+-------------------------------------------------------------------
New:
----
smart-ksmarttray-guard.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ smart.spec ++++++
--- /var/tmp/diff_new_pack.YDJzUD/_old 2006-05-15 19:04:03.000000000 +0200
+++ /var/tmp/diff_new_pack.YDJzUD/_new 2006-05-15 19:04:03.000000000 +0200
@@ -11,15 +11,16 @@
# norootforbuild
Name: smart
-BuildRequires: python-devel python-elementtree python-gtk rpm-devel rpm-python update-desktop-files
+BuildRequires: kdelibs3-devel python-devel python-elementtree python-gtk rpm-devel rpm-python update-desktop-files
Summary: Smart Package Manager
Version: 0.41
-Release: 19
+Release: 23
Source: %{name}-%{version}.tar.bz2
Source1: distro.py
Source2: %{name}.desktop
Patch: %{name}-%{version}.diff
Patch1: %{name}-YaST2.diff
+Patch2: smart-ksmarttray-guard.diff
Patch3: smart-trunk.diff
URL: http://smartpm.org
Group: System/Packages
@@ -58,10 +59,26 @@
--------
Gustavo Niemeyer
+%package ksmarttray
+Summary: KDE System Tray for the Smart Package Manager
+Group: System/Packages
+Requires: smart = %{version}
+Requires: smart-gui = %{version}
+
+%description ksmarttray
+KDE System Tray for the Smart Package Manager.
+
+
+
+Authors:
+--------
+ Gustavo Niemeyer
+
%prep
%setup -q
%patch
%patch1
+%patch2
%patch3
%build
@@ -72,6 +89,14 @@
pushd contrib/rpmhelper
python ./setup.py build
popd
+pushd contrib/ksmarttray
+# add missing files or autotools will fail:
+touch INSTALL NEWS README AUTHORS ChangeLog COPYING
+. /etc/opt/kde3/common_options
+update_admin
+./configure $configkde --disable-final
+make
+popd
%install
python ./setup.py install --prefix=%{_prefix} --root="$RPM_BUILD_ROOT"
@@ -88,6 +113,13 @@
$RPM_BUILD_ROOT%{_prefix}/lib/smart/plugins \
$RPM_BUILD_ROOT%{_sysconfdir}/smart/channels
%{__install} -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_prefix}/lib/smart/distro.py
+%{__install} -D -m 0755 contrib/servicemenus/kde_add_smart_channel.sh \
+ "$RPM_BUILD_ROOT/opt/kde3/bin/kde_add_smart_channel.sh"
+%{__install} -D -m 0644 contrib/servicemenus/add_smart_channel.desktop \
+ "$RPM_BUILD_ROOT/opt/kde3/share/apps/konqueror/servicemenus/add_smart_channel.desktop"
+pushd contrib/ksmarttray
+%{makeinstall}
+popd
%suse_update_desktop_file %name Application System Utility Settings PackageManager
%find_lang %name
@@ -115,8 +147,18 @@
%{_datadir}/applications/smart.desktop
%{_datadir}/pixmaps/smart.png
+%files ksmarttray
+%defattr(-,root,root)
+/opt/kde3/bin/ksmarttray
+/opt/kde3/share/apps/ksmarttray
+/opt/kde3/bin/kde_add_smart_channel.sh
+/opt/kde3/share/apps/konqueror
+
%changelog -n smart
* Wed Apr 26 2006 - cthiel@suse.de
+- new subpackage ksmarttray
+- included KDE service menus
+* Wed Apr 26 2006 - cthiel@suse.de
- updated smart-YaST2.diff (r698)
- split of smart-trunk.diff from smart-YaST2.diff
* Sat Mar 04 2006 - cthiel@suse.de
++++++ smart-ksmarttray-guard.diff ++++++
--- contrib/ksmarttray/src/ksmarttray.h
+++ contrib/ksmarttray/src/ksmarttray.h
@@ -21,6 +21,10 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+
+#ifndef __KSMARTTRAY_H_DEF
+#define __KSMARTTRAY_H_DEF
+
#include
#include
@@ -107,4 +111,6 @@
KSmartTray();
};
+#endif // __KSMARTTRAY_H_DEF
+
// vim:ts=4:sw=4:et
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...