%define majver %(echo %version | cut -d. -f1-2) Name: gnome-control-center Version: 3.24.3 Release: 1mamba Summary: Gnome control center Group: Graphical Desktop/Applications/Configuration Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnome.org Source: ftp://ftp.gnome.org/pub/GNOME/sources/gnome-control-center/%{majver}/gnome-control-center-%{version}.tar.xz Patch0: %{name}-2.26.0-libxklavier-4.0.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: ModemManager-devel BuildRequires: cheese-devel BuildRequires: clutter-gst-devel BuildRequires: clutter-gtk-devel BuildRequires: colord-gtk-devel BuildRequires: glibc-devel BuildRequires: gnome-desktop-devel BuildRequires: gnome-online-accounts-devel BuildRequires: libGL-devel BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libXcomposite-devel BuildRequires: libXdamage-devel BuildRequires: libXdmcp-devel BuildRequires: libXext-devel BuildRequires: libXfixes-devel BuildRequires: libXi-devel BuildRequires: libXrandr-devel BuildRequires: libXrender-devel BuildRequires: libaccounts-glib-devel BuildRequires: libaccountsservice-devel BuildRequires: libatk-devel BuildRequires: libbsd-devel BuildRequires: libbzip2-devel BuildRequires: libcairo-devel BuildRequires: libcanberra-devel BuildRequires: libcap-devel BuildRequires: libclutter-devel BuildRequires: libcogl-devel BuildRequires: libcolord-devel BuildRequires: libcrack-devel BuildRequires: libcups-devel BuildRequires: libdbus-devel BuildRequires: libdbus-glib-devel BuildRequires: libdrm-devel BuildRequires: libdw-devel BuildRequires: libe2fs-devel BuildRequires: libevdev-devel BuildRequires: libexpat-devel BuildRequires: libffi-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgbm-devel BuildRequires: libgcrypt-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgmp-devel BuildRequires: libgnome-bluetooth-devel BuildRequires: libgnutls-devel BuildRequires: libgpg-error-devel BuildRequires: libgraphite2-devel BuildRequires: libgrilo-devel BuildRequires: libgst-plugins-base-devel BuildRequires: libgstreamer-devel BuildRequires: libgtk-devel BuildRequires: libgtop-devel BuildRequires: libgudev-devel BuildRequires: libharfbuzz-devel BuildRequires: libibus-devel BuildRequires: libidn-devel BuildRequires: libinput-devel BuildRequires: libjson-glib-devel BuildRequires: libkrb5-devel BuildRequires: liblcms2-devel BuildRequires: libltdl-devel BuildRequires: liblzma-devel BuildRequires: libmtdev-devel BuildRequires: libnettle-devel BuildRequires: libnm-devel BuildRequires: libnm-gtk-devel BuildRequires: libnotify-devel BuildRequires: libnspr-devel BuildRequires: libnss-devel BuildRequires: libogg-devel BuildRequires: libp11-kit-devel BuildRequires: libpango-devel BuildRequires: libpcre-devel BuildRequires: libpng-devel BuildRequires: libpolkit-devel BuildRequires: libpulseaudio-devel BuildRequires: libpulseaudio-glib-devel BuildRequires: libpwquality-devel BuildRequires: librest-devel BuildRequires: libsecret-devel BuildRequires: libselinux-devel BuildRequires: libsepol-devel BuildRequires: libsignon-glib-devel BuildRequires: libsmbclient-devel BuildRequires: libsoup-devel BuildRequires: libsqlite-devel BuildRequires: libsystemd-devel BuildRequires: libtasn1-devel BuildRequires: libtdb-devel BuildRequires: libtermcap-devel BuildRequires: libthai-devel BuildRequires: libudev-devel BuildRequires: libupower-devel BuildRequires: libuuid-devel BuildRequires: libvorbis-devel BuildRequires: libwacom-devel BuildRequires: libwebkit2gtk-devel BuildRequires: libxcb-devel BuildRequires: libxkbcommon-devel BuildRequires: libxml2-devel BuildRequires: libz-devel BuildRequires: telepathy-glib-devel ## AUTOBUILDREQ-END BuildRequires: libpulseaudio-devel >= 8.0-1mamba BuildRequires: libcolord-devel >= 1.2.12-1mamba BuildRequires: gnome-settings-daemon-devel >= %{majver} BuildRequires: gnome-settings-daemon-devel >= 3.14.2-2mamba BuildRequires: gsettings-desktop-schemas-devel >= %{majver} BuildRequires: colord-gtk-devel BuildRequires: libcogl-devel >= 1.18 BuildRequires: gnome-desktop-devel >= %{majver} BuildRequires: upower-devel >= 0.99 BuildRequires: libclutter-devel BuildRequires: libgnome-bluetooth-devel BuildRequires: libgrilo >= 0.3.1 Requires: gnome-settings-daemon Requires(post):shared-mime-info BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Gnome control center. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel Gnome control center. This package contains static libraries and header files need for development. %prep %setup -q #%patch0 -p1 %build %configure \ --disable-scrollkeeper \ --disable-update-mimedb %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang %{name}-2.0 %find_lang %{name}-2.0-timezones cat %{name}-2.0-timezones.lang >> %{name}-2.0.lang rm -f %{buildroot}%{_datadir}/applications/mimeinfo.cache %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post %{_bindir}/update-mime-database %{_datadir}/mime 2>&1 > /dev/null /sbin/ldconfig if [ $1 -ge 1 ]; then # new install or upgrade GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \ gconftool-2 --makefile-install-rule \ %{_sysconfdir}/gconf/schemas/%{name}.schemas \ %{_sysconfdir}/gconf/schemas/control-center.schemas \ %{_sysconfdir}/gconf/schemas/fontilus.schemas &> /dev/null #[ -x %{_bindir}/scrollkeeper-update ] && # %{_bindir}/scrollkeeper-update -q 2>/dev/null || : fi exit 0 %postun if [ $1 -eq 0 ]; then GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \ gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/%{name}.schemas \ %{_sysconfdir}/gconf/schemas/control-center.schemas \ %{_sysconfdir}/gconf/schemas/fontilus.schemas &> /dev/null %{_bindir}/update-mime-database %{_datadir}/mime 2>&1 > /dev/null /sbin/ldconfig fi exit 0 %files -f %{name}-2.0.lang %defattr(-,root,root) %{_bindir}/gnome-* %{_libexecdir}/cc-remote-login-helper %{_libexecdir}/gnome-control-center-search-provider %{_datadir}/appdata/gnome-control-center.appdata.xml %{_datadir}/bash-completion/completions/gnome-control-center %{_datadir}/dbus-1/services/org.gnome.ControlCenter.service %{_datadir}/dbus-1/services/org.gnome.ControlCenter.SearchProvider.service %{_datadir}/gettext/its/gnome-keybindings.* %{_datadir}/gnome-shell/search-providers/gnome-control-center-search-provider.ini %{_datadir}/polkit-1/actions/org.gnome.controlcenter.remote-login-helper.policy %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/* %{_datadir}/pixmaps/faces/* %{_datadir}/sounds/gnome/default/alerts/*.ogg %dir %{_datadir}/gnome-control-center %{_datadir}/gnome-control-center/* %{_datadir}/polkit-1/actions/org.gnome.controlcenter.datetime.policy %{_datadir}/polkit-1/actions/org.gnome.controlcenter.user-accounts.policy %{_datadir}/polkit-1/rules.d/gnome-control-center.rules %{_mandir}/man1/gnome-control-center.1.gz %doc AUTHORS COPYING %files devel %defattr(-,root,root) %{_datadir}/pkgconfig/gnome-keybindings.pc #%doc ChangeLog TODO NEWS README %changelog * Fri Aug 18 2017 Automatic Build System 3.24.3-1mamba - automatic version update by autodist * Thu Jun 23 2016 Silvan Calarco 3.20.1-1mamba - update to 3.20.1 * Sat Apr 02 2016 Silvan Calarco 3.18.2-3mamba - rebuilt by autoport with build requirements: libpulseaudio-devel>=8.0-1mamba * Fri Mar 11 2016 Silvan Calarco 3.18.2-2mamba - rebuilt by autoport with build requirements: libcolord-devel>=1.2.12-1mamba * Sun Dec 27 2015 Automatic Build System 3.18.2-1mamba - automatic version update by autodist * Wed Jul 22 2015 Automatic Build System 3.16.3-1mamba - automatic version update by autodist * Wed May 13 2015 Automatic Build System 3.16.2-1mamba - automatic version update by autodist * Thu Apr 30 2015 Automatic Build System 3.16.1-1mamba - automatic version update by autodist * Fri Apr 03 2015 Automatic Build System 3.14.4-1mamba - automatic update by autodist * Sun Mar 15 2015 Silvan Calarco 3.14.2-2mamba - rebuilt by autoport with build requirements: libpulseaudio-devel>=6.0-1mamba * Thu Nov 13 2014 Automatic Build System 3.14.2-1mamba - automatic version update by autodist * Thu Oct 30 2014 Automatic Build System 3.14.1-1mamba - automatic version update by autodist * Wed Jun 18 2014 Silvan Calarco 3.12.1-1mamba - update to 3.12.1 * Mon Mar 03 2014 Automatic Build System 3.10.3-1mamba - automatic version update by autodist * Wed Nov 13 2013 Automatic Build System 3.10.2-1mamba - automatic version update by autodist * Wed Nov 06 2013 Silvan Calarco 3.10.1-2mamba - rebuilt with libcogl 1.16 * Sat Nov 02 2013 Automatic Build System 3.10.1-1mamba - automatic version update by autodist * Mon Sep 16 2013 Automatic Build System 3.8.5-1mamba - automatic version update by autodist * Thu Jul 25 2013 Automatic Build System 3.8.4.1-1mamba - automatic version update by autodist * Sat Jun 08 2013 Automatic Build System 3.8.3-1mamba - automatic version update by autodist * Tue May 14 2013 Automatic Build System 3.8.2-1mamba - automatic version update by autodist * Mon May 06 2013 Automatic Build System 3.8.1.5-1mamba - automatic version update by autodist * Tue Apr 16 2013 Automatic Build System 3.8.1-1mamba - automatic version update by autodist * Sun Apr 14 2013 Automatic Build System 3.8.0-1mamba - automatic version update by autodist * Wed Nov 14 2012 Automatic Build System 3.6.3-1mamba - automatic version update by autodist * Wed Nov 07 2012 Silvan Calarco 3.6.2-2mamba - added build requirement for network-manager-applet-devel (to enable network support) * Fri Oct 26 2012 Automatic Build System 3.6.2-1mamba - automatic version update by autodist * Tue Oct 09 2012 Automatic Build System 3.6.1-1mamba - automatic version update by autodist * Tue Aug 14 2012 Automatic Build System 3.4.2-1mamba - automatic version update by autodist * Sat Oct 01 2011 Automatic Build System 3.2.0-1mamba - update to 3.2.0 * Sun Jul 24 2011 Automatic Build System 3.0.2-1mamba - automatic version update by autodist * Sun May 22 2011 Silvan Calarco 2.32.1-3mamba - install schemas in post scripts using gconftool-2 * Tue May 17 2011 Silvan Calarco 2.32.1-2mamba - added post requirement for shared-mime-info * Thu Nov 18 2010 Automatic Build System 2.32.1-1mamba - automatic update to 2.32.1 by autodist * Tue Oct 12 2010 Automatic Build System 2.32.0-1mamba - automatic update to 2.32.0 by autodist * Fri May 28 2010 Silvan Calarco 2.30.1-2mamba - rebuilt against libxklavier 5.0 * Tue May 11 2010 Automatic Build System 2.30.1-1mamba - automatic update to 2.30.1 by autodist * Mon May 10 2010 Automatic Build System 2.28.1-2mamba - automatic rebuild by autodist * Sat Oct 24 2009 Automatic Build System 2.28.1-1mamba - automatic update by autodist * Mon Sep 28 2009 Automatic Build System 2.28.0-1mamba - update to 2.28.0 * Sun Jul 05 2009 Silvan Calarco 2.26.0-1mamba - package created by autospec