Name: mate-applet-lockkeys Version: 0.3.2 Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.zavedil.com/mate-lock-keys-applet/ Summary: MATE Keyboard LED indicator #Source: http://www.zavedil.com/wp-content/uploads/2013/02/%{name}-%{version}.tar.gz Source: http://www.zavedil.com/wp-content/uploads/2017/06/%{name}-%{version}.tar.gz BuildRequires: gettext BuildRequires: gtk2-devel BuildRequires: mate-panel-devel BuildRequires: popt-devel %description Keyboard LED indicator applet for the MATE desktop environment. %prep %setup -q %build %configure %{__make} %{?_smp_mflags} V=1 %install %{make_install} %{__rm} -f "${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/icon-theme.cache" %{__rm} -f "${RPM_BUILD_ROOT}%{_datadir}/glib-2.0/schemas/gschemas.compiled" %{__rm} -f "${RPM_BUILD_ROOT}%{_docdir}/mate-applet-lockkeys"/* %find_lang %{name} %post /bin/touch --no-create "%{_datadir}/icons/hicolor" &>/dev/null || : /bin/touch --no-create "%{_datadir}/icons" &>/dev/null || : %postun if [[ "${1}" -eq "0" ]] ; then /bin/touch --no-create "%{_datadir}/icons/hicolor" &>/dev/null /usr/bin/gtk-update-icon-cache "%{_datadir}/icons/hicolor" &>/dev/null || : /bin/touch --no-create "%{_datadir}/icons" &>/dev/null /usr/bin/gtk-update-icon-cache "%{_datadir}/icons" &>/dev/null || : /usr/bin/glib-compile-schemas "%{_datadir}/glib-2.0/schemas" &> /dev/null || : fi %posttrans /usr/bin/gtk-update-icon-cache "%{_datadir}/icons/hicolor" &>/dev/null || : /usr/bin/gtk-update-icon-cache "%{_datadir}/icons" &>/dev/null || : /usr/bin/glib-compile-schemas "%{_datadir}/glib-2.0/schemas" &> /dev/null || : %files -f %{name}.lang %doc ABOUT-NLS AUTHORS BUGS ChangeLog INSTALL NEWS README TODO %license COPYING %{_libexecdir}/lockkeys_applet %{_datadir}/pixmaps/*.xpm %{_datadir}/icons/hicolor/*/apps/*.png %{_datadir}/icons/applet_lockkeys.png %{_datadir}/mate-panel/applets/org.mate.applets.LockkeysApplet.mate-panel-applet %{_datadir}/dbus-1/services/org.mate.panel.applet.LockkeysApplet.service #%{_datadir}/mate-2.0/ui/lockkeys-applet-menu.xml %{_datadir}/mate/ui/lockkeys-applet-menu.xml %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.LockkeysApplet.gschema.xml %changelog * Wed Jun 13 2017 Tomasz Tomasik - 0.3.2-1 - SPEC file cleanups - Rebuilt for EL7 * Wed Jun 17 2015 Fedora Release Engineering - 0.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Aug 20 2014 Wolfgang Ulbrich - 0.2.3-1 - update to 0.2.3 release - remove runtime require mate-panel, no need of it - use modern 'make install' macro - update make command * Sun Aug 17 2014 Fedora Release Engineering - 0.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon May 06 2013 Wolfgang Ulbrich - 0.2.0-2 - remvove News - remove requires mate-panel * Thu Mar 21 2013 Wolfgang Ulbrich - 0.2.0-1 - initial build for fedora