You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
gnome-shell-extension-openw.../gnome-shell-extension-openw...

52 lines
1.7 KiB

%global git 2701627
%global uuid openweather-extension@jenslody.de
%global github jenslody-gnome-shell-extension-weather
%global checkout git%{git}
Name: gnome-shell-extension-openweather
Version: 0
Release: 0.2.%(date +%Y%m%d).%{checkout}%{?dist}
Summary: An extension for displaying weather notifications from http://openweathermap.org in GNOME Shell
Group: User Interface/Desktops
License: GPLv3+
URL: https://github.com/jenslody/gnome-shell-extension-weather
Source0: https://github.com/jenslody/gnome-shell-extension-weather/tarball/master/%{github}-%{git}.tar.gz
BuildArch: noarch
BuildRequires: autoconf >= 2.53, automake >= 1.9, glib2-devel, gnome-common >= 3.6.0, intltool >= 0.25
Requires: gnome-shell >= 3.6.0
%description
gnome-shell-extension-openweather is an extension to display weather information
from http://openweathermap.org/ for many cities in GNOME Shell
%prep
%setup -q -n %{github}-%{git}
%build
NOCONFIGURE=1 ./autogen.sh
%configure --prefix=%{_prefix}
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
%doc AUTHORS COPYING README.md
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.openweather.gschema.xml
%{_datadir}/gnome-shell/extensions/%{uuid}/
%changelog
* Fri Nov 08 2013 Jens Lody <jens@jenslody.de> - 0-0.1.git0d20641
- Initial package for Fedora of the weather-extension fork using http://openweathermap.org