gnome-settings-daemon/gnome-settings-daemon.spec

230 lines
7.6 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: gnome-settings-daemon
Version: 3.12.2
Release: 2mamba
Summary: Gnome settings daemon
Group: Graphical Desktop/Applications/Configuration
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnome.org
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-settings-daemon/%{majver}/gnome-settings-daemon-%{version}.tar.xz
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: GConf-devel
BuildRequires: glibc-devel
BuildRequires: gnome-desktop-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libe2fs-devel
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libglade-devel
BuildRequires: libglib-devel
BuildRequires: libglitz-devel
BuildRequires: libgtk-devel
BuildRequires: libICE-devel
BuildRequires: libnotify-devel
BuildRequires: libpango-devel
BuildRequires: libpixman-devel
BuildRequires: libpng-devel
BuildRequires: libselinux-devel
BuildRequires: libSM-devel
BuildRequires: libstartup-notification-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libxcb-util-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXi-devel
BuildRequires: libxklavier-devel
BuildRequires: libxml2-devel
BuildRequires: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libz-devel
BuildRequires: ORBit2-devel
BuildRequires: libgnomekbd-devel
## AUTOBUILDREQ-END
BuildRequires: libibus-devel
BuildRequires: libwacom-devel
BuildRequires: xorg-drv-input-wacom-devel
BuildRequires: gsettings-desktop-schemas-devel
BuildRequires: geoclue-devel >= 2.1.2
BuildRequires: libcogl-devel >= 1.18
BuildRequires: upower-devel >= 0.99
BuildRequires: libcolord-devel >= 1.0.2
BuildRequires: libgeocode-glib-devel >= %{majver}
BuildRequires: libgweather-devel >= %{majver}
Requires: ibus
Requires: geoclue >= 2.1.2
Requires: glib-dconf
Requires: colord
Requires: rfkill
%description
Gnome settings daemon.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Gnome settings daemon.
This package contains static libraries and header files need for development.
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
if [ $1 -ge 1 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
:
%postun
if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
:
%files -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/autostart/gnome-settings-daemon.desktop
#%{_sysconfdir}/xdg/autostart/gnome-fallback-mount-helper.desktop
%dir %{_libdir}/gnome-settings-daemon-3.0
%{_libdir}/gnome-settings-daemon-3.0/*
%{_prefix}/lib/udev/rules.d/61-gnome-settings-daemon-rfkill.rules
%{_libexecdir}/gnome-settings-daemon
%{_libexecdir}/gnome-settings-daemon-localeexec
%{_libexecdir}/gsd-backlight-helper
%{_libexecdir}/gsd-locate-pointer
%{_libexecdir}/gsd-printer
#%{_libexecdir}/gsd-input-sources-switcher
%{_libexecdir}/gsd-list-wacom
%{_libexecdir}/gsd-test-*
%{_libexecdir}/gsd-wacom-led-helper
%{_libexecdir}/gsd-wacom-oled-helper
%{_datadir}/GConf/gsettings/gnome-settings-daemon.convert
%{_datadir}/dbus-1/services/org.freedesktop.IBus.service
#%{_datadir}/dbus-1/system-services/org.gnome.SettingsDaemon.DateTimeMechanism.service
#%{_datadir}/dbus-1/interfaces/org.gnome.SettingsDaemonUpdates.xml
%{_datadir}/gnome-settings-daemon
%{_datadir}/polkit-1/actions/org.gnome.settings-daemon.plugins.power.policy
%{_datadir}/polkit-1/actions/org.gnome.settings-daemon.plugins.wacom.policy
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.*.xml
%{_datadir}/icons/hicolor/*/apps/gsd-xrandr.png
%{_datadir}/icons/hicolor/scalable/apps/gsd-xrandr.svg
#%{_datadir}/icons/hicolor/*/actions/touchpad-*.png
#%{_datadir}/icons/hicolor/scalable/actions/touchpad*.svg
%{_mandir}/man1/gnome-settings-daemon.1*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/gnome-settings-daemon-3.0/gnome-settings-daemon
%{_includedir}/gnome-settings-daemon-3.0/gnome-settings-daemon/gnome-settings-*.h
%{_includedir}/gnome-settings-daemon-3.0/gnome-settings-daemon/gsd-enums.h
%{_datadir}/gnome-settings-daemon-3.0/input-device-example.sh
%{_libdir}/pkgconfig/*.pc
#%doc ChangeLog NEWS
%changelog
* Thu Jun 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.12.2-2mamba
- require glib-dconf, colord, rfkill
* Wed Jun 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.12.2-1mamba
- update to 3.12.2
* Wed Nov 13 2013 Automatic Build System <autodist@mambasoft.it> 3.10.2-1mamba
- automatic version update by autodist
* Tue Nov 12 2013 Automatic Build System <autodist@mambasoft.it> 3.10.1-1mamba
- automatic version update by autodist
* Thu Sep 12 2013 Automatic Build System <autodist@mambasoft.it> 3.8.5-1mamba
- automatic update by autodist
* Sat Jul 20 2013 Automatic Build System <autodist@mambasoft.it> 3.8.4-1mamba
- automatic version update by autodist
* Sat Jun 08 2013 Automatic Build System <autodist@mambasoft.it> 3.8.3-1mamba
- automatic version update by autodist
* Tue May 14 2013 Automatic Build System <autodist@mambasoft.it> 3.8.2-1mamba
- automatic version update by autodist
* Tue Apr 16 2013 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
- automatic version update by autodist
* Thu Apr 04 2013 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
- automatic version update by autodist
* Sun Jan 20 2013 Automatic Build System <autodist@mambasoft.it> 3.6.4-1mamba
- automatic version update by autodist
* Wed Nov 14 2012 Automatic Build System <autodist@mambasoft.it> 3.6.3-1mamba
- automatic version update by autodist
* Thu Nov 08 2012 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba
- automatic version update by autodist
* Tue Oct 09 2012 Automatic Build System <autodist@mambasoft.it> 3.6.1-1mamba
- automatic version update by autodist
* Tue Aug 07 2012 Automatic Build System <autodist@mambasoft.it> 3.4.2-1mamba
- update to 3.4.2
* Thu Aug 25 2011 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
- automatic version update by autodist
* Sun Jul 24 2011 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
- automatic update to 3.0.3.0 by autodist
* Mon Nov 15 2010 Automatic Build System <autodist@mambasoft.it> 2.32.1-1mamba
- automatic update to 2.32.1 by autodist
* Tue Oct 12 2010 Automatic Build System <autodist@mambasoft.it> 2.32.0-1mamba
- automatic update to 2.32.0 by autodist
* Tue Jun 22 2010 Automatic Build System <autodist@mambasoft.it> 2.30.2-1mamba
- automatic update to 2.30.2 by autodist
* Thu May 13 2010 Automatic Build System <autodist@mambasoft.it> 2.30.1-1mamba
- automatic update to 2.30.1 by autodist
* Mon May 10 2010 Automatic Build System <autodist@mambasoft.it> 2.28.1-2mamba
- automatic rebuild by autodist
* Sat Oct 24 2009 Automatic Build System <autodist@mambasoft.it> 2.28.1-1mamba
- automatic update by autodist
* Sat Oct 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.28.0-2mamba
- rebuilt against libgnomekbd 2.28.0
* Tue Sep 29 2009 Automatic Build System <autodist@mambasoft.it> 2.28.0-1mamba
- update to 2.28.0
* Sun Jul 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.1-1mamba
- package created by autospec