|
|
|
%global git 82635f3
|
|
|
|
%global uuid panel-osd@berend.de.schouwer.gmail.com
|
|
|
|
%global github jenslody-gnome-shell-extension-panel-osd
|
|
|
|
%global checkout git%{git}
|
|
|
|
%global checkout_date 20151125
|
|
|
|
|
|
|
|
Name: gnome-shell-extension-panel-osd
|
|
|
|
Version: 1
|
|
|
|
Release: 0.5.%{checkout_date}%{checkout}%{?dist}
|
|
|
|
Summary: Configure the place where notifications are shown
|
|
|
|
|
|
|
|
Group: User Interface/Desktops
|
|
|
|
|
|
|
|
# The entire source code is GPLv3+ except convenience.js, which is BSD
|
|
|
|
License: GPLv3+ and BSD
|
|
|
|
URL: https://github.com/jenslody/gnome-shell-extension-panel-osd
|
|
|
|
Source0: https://github.com/jenslody/gnome-shell-extension-panel-osd/tarball/master/%{github}-%{git}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: autoconf, automake, glib2-devel, gnome-common >= 3.10.0, intltool
|
|
|
|
Requires: gnome-shell >= 3.10.0
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
gnome-shell-extension-panel-osd is an extension to show the notification
|
|
|
|
messages at any (configurable) place on the (primary) monitor.
|
|
|
|
Be aware, that system-wide installed gnome-shell-extensions are disabled by default
|
|
|
|
and have to be enable by the user(s), if they get installed the first time.
|
|
|
|
You can use gnome-tweak-tool (additional package) or run:
|
|
|
|
"gnome-shell-extension-tool -e %uuid" (without the
|
|
|
|
quotes) on a console.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{github}-%{git}
|
|
|
|
|
|
|
|
%build
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
%configure GIT_VERSION=%{checkout}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
# Fedora uses file-triggers for some stuff (e.g. compile schemas) since fc24.
|
|
|
|
# Compiling schemas is the only thing done in %%postun and %%posttrans, so
|
|
|
|
# I decided to make both completely conditional.
|
|
|
|
%if 0%{?fedora} < 24
|
|
|
|
%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 || :
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS README.md
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.panel-osd.gschema.xml
|
|
|
|
%if 0%{?fedora} < 23
|
|
|
|
%dir %{_datadir}/gnome-shell/extensions
|
|
|
|
%endif
|
|
|
|
%{_datadir}/gnome-shell/extensions/%{uuid}
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Wed Nov 25 2015 Jens Lody <fedora@jenslody.de> - 1-0.5.20151125git82635f3
|
|
|
|
- Add support for new development version of gnome-shell (3.19.2).
|
|
|
|
|
|
|
|
* Fri Nov 20 2015 Jens Lody <fedora@jenslody.de> - 1-0.4.20151120gitb82b69d
|
|
|
|
- Remove unneeded --prefix-parameter from configure-call.
|
|
|
|
|
|
|
|
* Wed Nov 18 2015 Jens Lody <fedora@jenslody.de> - 1-0.3.20151118git61c1bd4
|
|
|
|
- Fresh git checkout.
|
|
|
|
- Some bugfixes and gnome.shell 3.19.1 compatibility.
|
|
|
|
|
|
|
|
* Fri Oct 02 2015 Jens Lody <fedora@jenslody.de> - 1-0.2.20151002git1f87427
|
|
|
|
- Do not require gnome-shell-extensions-common.
|
|
|
|
- Require gnome-shell instead on Fedora >= 23.
|
|
|
|
|
|
|
|
* Thu Sep 17 2015 Jens Lody <fedora@jenslody.de> - 1-0.1.20150918git0205d68
|
|
|
|
- Use checkout-date instead of build-date in package-version.
|
|
|
|
|
|
|
|
* Thu Aug 20 2015 Jens Lody <fedora@jenslody.de> - 1-0.1.20150821gitcb1f6f6
|
|
|
|
- Remove dot before git in Release-tag.
|
|
|
|
- Use (conditional) file-triggers for schema compiling, introduced in fc24.
|
|
|
|
|
|
|
|
* Sun Jan 26 2014 Jens Lody <jens@jenslody.de>
|
|
|
|
- Initial package for Fedora of the panel-osd-extension fork
|
|
|
|
|