From 9e2d56c1548cbc343a09bc7d2a17cbb3b8a6897f Mon Sep 17 00:00:00 2001 From: Jens Lody Date: Mon, 27 Jan 2014 00:36:12 +0100 Subject: [PATCH] Remove unneded m4-stuff, fix spec-file-template and my update-script for it --- config/.gitignore | 2 ++ configure.ac | 1 - gnome-shell-extension-top-notification.spec | 16 +++------------- update_revision.sh | 4 ++-- 4 files changed, 7 insertions(+), 16 deletions(-) create mode 100644 config/.gitignore mode change 100644 => 100755 update_revision.sh diff --git a/config/.gitignore b/config/.gitignore new file mode 100644 index 0000000..022060c --- /dev/null +++ b/config/.gitignore @@ -0,0 +1,2 @@ +install-sh +missing diff --git a/configure.ac b/configure.ac index 32bee22..38b2db6 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,6 @@ AC_PREREQ(2.63) dnl be carefull, the version needs to be in sync with your gnome shell version AC_INIT([gnome-shell-extension-top-notification],[1.1],[https://github.com/jenslody/gnome-shell-extension-weather/issues]) -AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_AUX_DIR([config]) AM_INIT_AUTOMAKE([1.10 dist-xz foreign]) diff --git a/gnome-shell-extension-top-notification.spec b/gnome-shell-extension-top-notification.spec index 0ad043d..2c2ccd4 100644 --- a/gnome-shell-extension-top-notification.spec +++ b/gnome-shell-extension-top-notification.spec @@ -1,4 +1,4 @@ -%global git 2701627 +%global git c65d495 %global uuid top-notification-extension@jenslody.de %global github jenslody-gnome-shell-extension-top-notification %global checkout git%{git} @@ -14,7 +14,7 @@ URL: https://github.com/jenslody/gnome-shell-extension-top-notificati Source0: https://github.com/jenslody/gnome-shell-extension-top-notification/tarball/master/%{github}-%{git}.tar.gz BuildArch: noarch -BuildRequires: autoconf >= 2.53, automake >= 1.9, glib2-devel, gnome-common >= 3.8.0 +BuildRequires: autoconf >= 2.53, automake >= 1.9, gnome-common >= 3.7.0 Requires: gnome-shell >= 3.8.0 %description @@ -31,19 +31,9 @@ make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} -%find_lang %{name} -%postun -if [ $1 -eq 0 ] ; then - %{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : -fi - -%posttrans -%{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : - -%files -f %{name}.lang +%files %doc AUTHORS COPYING README.md -%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.top-notification.gschema.xml %{_datadir}/gnome-shell/extensions/%{uuid}/ %changelog diff --git a/update_revision.sh b/update_revision.sh old mode 100644 new mode 100755 index 50f0c3f..640f2b0 --- a/update_revision.sh +++ b/update_revision.sh @@ -1,7 +1,7 @@ #!/bin/sh -GITHUB="jenslody-gnome-shell-extension-weather" -BASE_URL="https://github.com/jenslody/gnome-shell-extension-weather/tarball/master/" +GITHUB="jenslody-gnome-shell-extension-top-notification" +BASE_URL="https://github.com/jenslody/gnome-shell-extension-top-notification/tarball/master/" TARBALL_PATH="/home/jens/rpmbuild/SOURCES/" SPEC_PATH="/home/jens/rpmbuild/SPECS/" SPEC_FILE="gnome-shell-extension-top-notification.spec"