gnome-shell-extension-backg.../gnome-shell-extension-background-logo.spec

46 lines
1.1 KiB
RPMSpec
Raw Normal View History

%global shell_version 3.14.0
Name: gnome-shell-extension-background-logo
Version: 3.14.0
Release: 1%{?dist}
Summary: Background logo extension for GNOME Shell
License: GPLv2+
URL: https://git.fedorahosted.org/git/background-logo-extension.git
Source0: https://fedorahosted.org/releases/b/a/background-logo-extension/background-logo-extension-%{version}.tar.xz
BuildArch: noarch
BuildRequires: glib2-devel
Requires: gnome-shell >= %{shell_version}
%description
Overlay a tasteful logo on the background to enhance the user experience.
%prep
%setup -q -n background-logo-extension-%{version}
%build
%configure
make %{?_smp_mflags}
%install
%make_install
%postun
if [ $1 -eq 0 ] ; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
%posttrans
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%files
%license COPYING
%{_datadir}/glib-2.0/schemas/org.fedorahosted.background-logo-extension.gschema.xml
%{_datadir}/gnome-shell/extensions/
%changelog
* Fri Nov 07 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
- Initial Fedora packaging