From 73b7d937d84f991f4cf64cdf6ed84d65c114f695 Mon Sep 17 00:00:00 2001 From: Timur Kristóf Date: Tue, 3 May 2011 22:53:46 +0200 Subject: Various stuff related to packaging --- gnome-shell-extension-fedora-logo.spec | 41 ++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 gnome-shell-extension-fedora-logo.spec (limited to 'gnome-shell-extension-fedora-logo.spec') diff --git a/gnome-shell-extension-fedora-logo.spec b/gnome-shell-extension-fedora-logo.spec new file mode 100644 index 0000000..9b195c2 --- /dev/null +++ b/gnome-shell-extension-fedora-logo.spec @@ -0,0 +1,41 @@ +Name: gnome-shell-extension-fedora-logo +Version: 1.0 +Release: 2%{?dist} +Summary: Simple Gnome shell extension to add the Fedora logo to the shell +Group: User Interface/Desktops +License: MIT +#Actually this is way too small to have its own URL, but here is the announcement. +URL: http://lists.fedoraproject.org/pipermail/design-team/2011-April/004215.html +Source0: http://venemo.fedorapeople.org/sources/%{name}-%{version}.tar.gz +BuildArch: noarch +Requires: gnome-shell >= 3.0.0.2, fedora-logos +#This is for those who installed the package with the old name +Obsoletes: fedora-logo-gnome-shell-extension + +%description +%{name} is a simple Gnome shell extension +that adds the Fedora logo to the Activities button +of the Gnome shell. + +%prep +%setup -q + +%build +%{nil} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/fedoralogo@fedoraproject.org/ +install -pm 644 extension.js $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/fedoralogo@fedoraproject.org/ +install -pm 644 metadata.json $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/fedoralogo@fedoraproject.org/ + +%files +%defattr(-,root,root,-) +%{_datadir}/gnome-shell/extensions/fedoralogo@fedoraproject.org/extension.js +%{_datadir}/gnome-shell/extensions/fedoralogo@fedoraproject.org/metadata.json +%doc LICENSE +%doc README + +%changelog +* Sun Apr 10 2011 Timur Kristóf 1.0.0-1 +- Initial version -- cgit