diff --git a/.gitignore b/.gitignore index e69de29..64d50cf 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/background-logo-extension-3.14.0.tar.xz diff --git a/gnome-shell-extension-background-logo.spec b/gnome-shell-extension-background-logo.spec new file mode 100644 index 0000000..5455021 --- /dev/null +++ b/gnome-shell-extension-background-logo.spec @@ -0,0 +1,45 @@ +%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 - 3.14.0-1 +- Initial Fedora packaging diff --git a/sources b/sources index e69de29..4375e54 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7b4a84488f41cf05eca3778d67b924f4 background-logo-extension-3.14.0.tar.xz