[Goodies-commits] r3358 - in xfce4-smartpm-plugin/trunk: . redhat
Anders F Bjorklund
afb at xfce.org
Thu Oct 11 10:15:12 CEST 2007
Author: afb
Date: 2007-10-11 08:15:12 +0000 (Thu, 11 Oct 2007)
New Revision: 3358
Added:
xfce4-smartpm-plugin/trunk/redhat/
xfce4-smartpm-plugin/trunk/redhat/Makefile.am
xfce4-smartpm-plugin/trunk/redhat/xfce4-smartpm-plugin.spec.in
Modified:
xfce4-smartpm-plugin/trunk/Makefile.am
xfce4-smartpm-plugin/trunk/configure.in.in
Log:
move redhat (fedora/centos) rpm spec to subdir
Modified: xfce4-smartpm-plugin/trunk/Makefile.am
===================================================================
--- xfce4-smartpm-plugin/trunk/Makefile.am 2007-10-10 22:03:09 UTC (rev 3357)
+++ xfce4-smartpm-plugin/trunk/Makefile.am 2007-10-11 08:15:12 UTC (rev 3358)
@@ -2,6 +2,7 @@
SUBDIRS = \
debian \
+ redhat \
icons \
src \
po
@@ -16,14 +17,11 @@
dpkg-buildpackage -uc -us -rfakeroot -i.svn
EXTRA_DIST = \
- xfce4-smartpm-plugin.spec \
- xfce4-smartpm-plugin.spec.in \
intltool-extract.in \
intltool-merge.in \
intltool-update.in
DISTCLEANFILES = \
- xfce4-smartpm-plugin.spec \
intltool-extract \
intltool-merge \
intltool-update
Modified: xfce4-smartpm-plugin/trunk/configure.in.in
===================================================================
--- xfce4-smartpm-plugin/trunk/configure.in.in 2007-10-10 22:03:09 UTC (rev 3357)
+++ xfce4-smartpm-plugin/trunk/configure.in.in 2007-10-11 08:15:12 UTC (rev 3358)
@@ -133,8 +133,9 @@
AC_OUTPUT([
Makefile
-xfce4-smartpm-plugin.spec
debian/Makefile
+redhat/Makefile
+redhat/xfce4-smartpm-plugin.spec
icons/Makefile
icons/16x16/Makefile
icons/48x48/Makefile
Added: xfce4-smartpm-plugin/trunk/redhat/Makefile.am
===================================================================
--- xfce4-smartpm-plugin/trunk/redhat/Makefile.am (rev 0)
+++ xfce4-smartpm-plugin/trunk/redhat/Makefile.am 2007-10-11 08:15:12 UTC (rev 3358)
@@ -0,0 +1,10 @@
+# $Id: Makefile.am $
+
+EXTRA_DIST = \
+ xfce4-smartpm-plugin.spec \
+ xfce4-smartpm-plugin.spec.in
+
+DISTCLEANFILES = \
+ xfce4-smartpm-plugin.spec
+
+# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
Copied: xfce4-smartpm-plugin/trunk/redhat/xfce4-smartpm-plugin.spec.in (from rev 3308, xfce4-smartpm-plugin/trunk/xfce4-smartpm-plugin.spec.in)
===================================================================
--- xfce4-smartpm-plugin/trunk/redhat/xfce4-smartpm-plugin.spec.in (rev 0)
+++ xfce4-smartpm-plugin/trunk/redhat/xfce4-smartpm-plugin.spec.in 2007-10-11 08:15:12 UTC (rev 3358)
@@ -0,0 +1,56 @@
+Name: xfce4-smartpm-plugin
+Version: @VER@
+Release: 0. at REV@%{?dist}
+Summary: Smart Package Manager plugin for the Xfce panel
+
+Group: User Interface/Desktops
+License: GPLv2
+URL: http://goodies.xfce.org/
+Source: http://goodies.xfce.org/releases/%{name}/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: xfce4-panel-devel >= 4.3.99.2, libxfcegui4-devel >= 4.3.99.2
+BuildRequires: gettext
+# install libXt for modular X
+%if "%fedora" > "4"
+BuildRequires: libXt-devel
+%endif
+Provides: xfce4-smart-plugin = %{version}
+Obsoletes: xfce4-smart-plugin <= %{version}
+Requires: xfce4-panel >= 4.3.99.2
+Requires: smart >= 0.50 smart-gui
+
+%description
+Plugin for the Xfce 4 panel that checks for package upgrades using the Smart
+Package Manager. Install the "smart-update" package for silent channel updates.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+%find_lang %{name} || :
+
+%post
+touch --no-create %{_datadir}/icons/hicolor || :
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+
+%postun
+touch --no-create %{_datadir}/icons/hicolor || :
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING NEWS ChangeLog README THANKS TODO
+%{_libexecdir}/xfce4/panel-plugins/%{name}
+%{_datadir}/xfce4/panel-plugins/*.desktop
+%{_datadir}/icons/hicolor/*/apps/xfce*-*.png
+%{_datadir}/icons/hicolor/*/apps/xfce*-*.svg
More information about the Goodies-commits
mailing list