Remove unneded m4-stuff, fix spec-file-template and my update-script for it

master
Jens Lody 11 years ago
parent c65d49574c
commit 9e2d56c154
  1. 2
      config/.gitignore
  2. 1
      configure.ac
  3. 16
      gnome-shell-extension-top-notification.spec
  4. 4
      update_revision.sh

2
config/.gitignore vendored

@ -0,0 +1,2 @@
install-sh
missing

@ -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])

@ -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

@ -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"

Loading…
Cancel
Save