[mate-applet-softupd/f19] Initial import (#919469).
Patrick Monnerat
monnerat at fedoraproject.org
Thu Mar 14 11:54:54 UTC 2013
commit 5a9cddb9ccd11ac9aca1e1eb14ff0995ae893f45
Author: Patrick Monnerat <pm at datasphere.ch>
Date: Thu Mar 14 12:54:45 2013 +0100
Initial import (#919469).
.gitignore | 1 +
mate-applet-softupd-0.2.5-badvarset.patch | 12 +++
mate-applet-softupd-0.2.5-morefrench.patch | 11 +++
mate-applet-softupd.spec | 112 ++++++++++++++++++++++++++++
sources | 1 +
5 files changed, 137 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c03c2cc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mate-applet-softupd-0.2.5.tar.gz
diff --git a/mate-applet-softupd-0.2.5-badvarset.patch b/mate-applet-softupd-0.2.5-badvarset.patch
new file mode 100644
index 0000000..3cff2e4
--- /dev/null
+++ b/mate-applet-softupd-0.2.5-badvarset.patch
@@ -0,0 +1,12 @@
+diff -Naur mate-applet-softupd-0.2.5.orig/configure.ac mate-applet-softupd-0.2.5.new/configure.ac
+--- mate-applet-softupd-0.2.5.orig/configure.ac 2013-03-12 11:55:05.547652805 +0100
++++ mate-applet-softupd-0.2.5.new/configure.ac 2013-03-07 21:30:34.000000000 +0100
+@@ -99,7 +99,7 @@
+ EXIT_MSG="none"
+ if test $FOUND_BACKEND = "no" ; then
+ EXIT_NOW="yes"
+- EXIT_MSG = "*** No suitable backend found. Cannot continue."
++ EXIT_MSG="*** No suitable backend found. Cannot continue."
+ elif test $FORCE_BACKEND = "package-kit" ; then
+ if test $CHECK_PACKAGEKIT = "no" ; then
+ EXIT_NOW="yes"
diff --git a/mate-applet-softupd-0.2.5-morefrench.patch b/mate-applet-softupd-0.2.5-morefrench.patch
new file mode 100644
index 0000000..aaa9b2d
--- /dev/null
+++ b/mate-applet-softupd-0.2.5-morefrench.patch
@@ -0,0 +1,11 @@
+diff -Naur mate-applet-softupd-0.2.5.orig/src/org.mate.applets.SoftupdApplet.mate-panel-applet.in mate-applet-softupd-0.2.5.new/src/org.mate.applets.SoftupdApplet.mate-panel-applet.in
+--- mate-applet-softupd-0.2.5.orig/src/org.mate.applets.SoftupdApplet.mate-panel-applet.in 2013-03-07 21:30:34.000000000 +0100
++++ mate-applet-softupd-0.2.5.new/src/org.mate.applets.SoftupdApplet.mate-panel-applet.in 2013-03-12 12:01:20.393580446 +0100
+@@ -9,6 +9,7 @@
+ Description=Notify on software updates
+ Description[en_GB]=Notify on software updates
+ Description[bg_BG]=Уведомление за нови пакети
++Description[fr_FR]=Notifie la disponibilité de mises à jour
+ Description[ru_RU]=Уведомление об обновлениях
+
+ [SoftupdApplet]
diff --git a/mate-applet-softupd.spec b/mate-applet-softupd.spec
new file mode 100644
index 0000000..7e9b252
--- /dev/null
+++ b/mate-applet-softupd.spec
@@ -0,0 +1,112 @@
+Name: mate-applet-softupd
+Version: 0.2.5
+Release: 3%{?dist}
+Summary: MATE Software Update Applet
+Group: Applications/System
+License: GPLv2+
+URL: http://www.zavedil.com/mate-software-updates-applet/
+Source: http://www.zavedil.com/wp-content/uploads/2013/03/mate-applet-softupd-%{version}.tar.gz
+Patch1: mate-applet-softupd-0.2.5-badvarset.patch
+Patch2: mate-applet-softupd-0.2.5-morefrench.patch
+BuildRequires: mate-panel-devel >= 1.3.0
+BuildRequires: libmatenotify-devel >= 1.2.0
+BuildRequires: PackageKit-glib-devel
+BuildRequires: gettext-devel
+BuildRequires: PackageKit
+BuildRequires: yumex
+BuildRequires: autoconf
+BuildRequires: automake
+Requires: PackageKit
+Requires: yumex
+
+%description
+Software updates notification applet for the MATE desktop environment.
+
+
+
+%prep
+
+%setup -q
+
+%patch1 -p 1 -b .badvarset
+%patch2 -p 1 -b .morefrench
+
+autoreconf -i -f
+
+
+
+%build
+
+%configure
+make %{?_smp_mflags}
+
+
+
+%install
+
+make install DESTDIR=$RPM_BUILD_ROOT
+
+# Do not install doc files: they are handled as rpm doc files.
+rm -rf $RPM_BUILD_ROOT%{_docdir}
+
+%find_lang %{name}
+
+
+%post
+
+/bin/touch --nocreate %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+
+%postun
+
+if [ $1 -eq 0 ]
+then /bin/touch --nocreate %{_datadir}/icons/hicolor &>/dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+fi
+
+
+
+%posttrans
+
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+
+%files -f %{name}.lang
+
+%doc AUTHORS BUGS COPYING ChangeLog README TODO
+%{_libexecdir}/softupd_applet
+%{_datadir}/pixmaps/applet_softupd_on.png
+%{_datadir}/pixmaps/applet_softupd_off.png
+%{_datadir}/icons/hicolor/16x16/apps/applet_softupd.png
+%{_datadir}/icons/hicolor/22x22/apps/applet_softupd.png
+%{_datadir}/icons/hicolor/24x24/apps/applet_softupd.png
+%{_datadir}/icons/hicolor/32x32/apps/applet_softupd.png
+%{_datadir}/mate-panel/applets/org.mate.applets.SoftupdApplet.mate-panel-applet
+%{_datadir}/dbus-1/services/org.mate.panel.applet.SoftupdApplet.service
+
+
+
+%changelog
+
+* Tue Mar 12 2013 Patrick Monnerat <pm at datasphere.ch> 0.2.5-3
+- Patch "morefrench" to add a missing french translation string.
+
+* Mon Mar 11 2013 Patrick Monnerat <pm at datasphere.ch> 0.2.5-2
+- Update according to https://bugzilla.redhat.com/show_bug.cgi?id=919469#c2
+
+* Fri Mar 8 2013 Patrick Monnerat <pm at datasphere.ch> 0.2.5-1
+- New upstream release.
+- Patch "misc" fixes various discrepancies.
+
+* Wed Mar 6 2013 Patrick Monnerat <pm at datasphere.ch> 0.2.4-1
+- New upstream release.
+- Patch "badvarset" to fix a variable setting in configure.ac.
+
+* Tue Mar 5 2013 Patrick Monnerat <pm at datasphere.ch> 0.2.2-1
+- Initial Fedora rpm spec file.
+- Patch "lmpa4" to migrate to libmatepanelapplet-4.0.
+- Patch "cflags" to allow external specification of compilation/linking options.
+- Patch "nowarnings" to suppress compilation warnings.
+- Patch "french" to implement a french translation.
diff --git a/sources b/sources
index e69de29..16da8b6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+226f005d48833ec20830c6f60dbee097 mate-applet-softupd-0.2.5.tar.gz
More information about the scm-commits
mailing list