rpms/smart/FC-5 smart.spec,1.6,1.7
Axel Thimm (athimm)
fedora-extras-commits at redhat.com
Mon Aug 7 15:11:21 UTC 2006
Author: athimm
Update of /cvs/extras/rpms/smart/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6259/FC-5
Modified Files:
smart.spec
Log Message:
Add ksmarttray support.
Index: smart.spec
===================================================================
RCS file: /cvs/extras/rpms/smart/FC-5/smart.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- smart.spec 26 Jun 2006 15:12:03 -0000 1.6
+++ smart.spec 7 Aug 2006 15:11:21 -0000 1.7
@@ -3,7 +3,7 @@
Summary: Next generation package handling tool
Name: smart
Version: 0.42
-Release: 34%{?dist}
+Release: 35%{?dist}
License: GPL
Group: Applications/System
URL: http://labix.org/smart/
@@ -15,6 +15,11 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: python-devel >= 2.3
BuildRequires: desktop-file-utils
+BuildRequires: autoconf, automake, gettext, gcc-c++
+BuildRequires: libXt-devel, libXext-devel
+BuildRequires: qt-devel >= 1:3.2, kdelibs-devel
+BuildRequires: zlib-devel
+
Requires: python-abi = %(python -c "import sys ; print sys.version[:3]")
Requires: rpm-python >= 4.4
Requires: smart-config
@@ -41,6 +46,15 @@
%description gui
Graphical user interface for the smart package manager.
+%package -n ksmarttray
+Summary: KDE tray program for watching updates with Smart Package Manager
+Group: Applications/System
+Requires: %{_bindir}/kdesu
+Requires: smart-update = %{version}-%{release}
+
+%description -n ksmarttray
+KDE tray program for watching updates with Smart Package Manager.
+
%prep
%setup -q
# /usr/lib is hardcoded
@@ -51,6 +65,14 @@
export CFLAGS
python setup.py build
+# ksmarttray
+pushd contrib/ksmarttray
+make -f admin/Makefile.common
+%configure
+make
+popd
+
+# smart-update
make -C contrib/smart-update
%install
@@ -61,6 +83,9 @@
mkdir -p %{buildroot}%{_sysconfdir}/smart/channels
mkdir -p %{buildroot}%{_localstatedir}/lib/smart{/packages,/channels}
+# ksmarttray
+make -C contrib/ksmarttray install DESTDIR=%{buildroot}
+
# usermode support
ln -sf consolehelper %{buildroot}%{_bindir}/smart-root
@@ -138,7 +163,18 @@
%config %{_sysconfdir}/security/console.apps/smart-root
%config %{_sysconfdir}/pam.d/smart-root
+%files -n ksmarttray
+%defattr(-,root,root,-)
+%{_bindir}/ksmarttray
+%{_datadir}/apps/ksmarttray
+
%changelog
+* Mon Aug 7 2006 Axel Thimm <Axel.Thimm at ATrpms.net> - 0.42-35
+- Add ksmarttray dependency to kdesu.
+
+* Sat Aug 5 2006 Axel Thimm <Axel.Thimm at ATrpms.net> - 0.42-34
+- Merge back ksmarttray package.
+
* Mon Jun 26 2006 Axel Thimm <Axel.Thimm at ATrpms.net> - 0.42-33
- Update to 0.42.
- Remove unneeded patched that have been applied upstream.
More information about the fedora-extras-commits
mailing list