%define majver %(echo %version | cut -d. -f1-2) Name: gnome-control-center Version: 3.14.4 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: colord-devel BuildRequires: glibc-devel BuildRequires: gnome-desktop-devel BuildRequires: gnome-menus-devel BuildRequires: gnome-online-accounts-devel BuildRequires: libatk-devel BuildRequires: libat-spi2-atk-devel BuildRequires: libat-spi2-core-devel BuildRequires: libbzip2-devel BuildRequires: libcairo-devel BuildRequires: libcanberra-devel BuildRequires: libcrack-devel BuildRequires: libcups-devel BuildRequires: libdbus-devel BuildRequires: libdbus-glib-devel BuildRequires: libe2fs-devel BuildRequires: libelf-devel BuildRequires: libenchant-devel BuildRequires: libexpat-devel BuildRequires: libffi-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcrypt-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libgeoclue-devel BuildRequires: libGL-devel BuildRequires: libglib-devel BuildRequires: libgmp-devel BuildRequires: libgnome-keyring-devel BuildRequires: libgnutls-devel BuildRequires: libgpg-error-devel BuildRequires: libgraphite2-devel BuildRequires: libgst-plugins-base010-devel BuildRequires: libgstreamer010-devel BuildRequires: libgtk-devel BuildRequires: libgtop-devel BuildRequires: libharfbuzz-devel BuildRequires: libibus-devel BuildRequires: libICE-devel BuildRequires: libicu-devel BuildRequires: libjpeg-devel BuildRequires: libjson-glib-devel BuildRequires: libkeyutils-devel BuildRequires: libkrb5-devel BuildRequires: liblcms2-devel BuildRequires: liblzma-devel BuildRequires: libnettle-devel BuildRequires: libnm-devel BuildRequires: libnotify-devel BuildRequires: libnspr-devel BuildRequires: libnss-devel BuildRequires: libpango-devel BuildRequires: libpixman-devel BuildRequires: libpng-devel BuildRequires: libpthread-stubs-devel BuildRequires: libpulseaudio-devel BuildRequires: libpulseaudio-glib-devel BuildRequires: libpwquality-devel BuildRequires: librest-devel BuildRequires: libsecret-devel BuildRequires: libselinux-devel BuildRequires: libSM-devel BuildRequires: libsoup-devel BuildRequires: libsqlite-devel BuildRequires: libstdc++6-devel BuildRequires: libtasn1-devel BuildRequires: libuuid-devel BuildRequires: libwacom-devel BuildRequires: libwebkit-gtk3-devel BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libxcb-devel BuildRequires: libXcomposite-devel BuildRequires: libXcursor-devel BuildRequires: libXdamage-devel BuildRequires: libXdmcp-devel BuildRequires: libXext-devel BuildRequires: libXfixes-devel BuildRequires: libXi-devel BuildRequires: libXinerama-devel BuildRequires: libxkbfile-devel BuildRequires: libxml2-devel BuildRequires: libXrandr-devel BuildRequires: libXrender-devel BuildRequires: libxslt-devel BuildRequires: libXt-devel BuildRequires: libz-devel BuildRequires: network-manager-applet-devel BuildRequires: p11-kit-devel BuildRequires: polkit-devel BuildRequires: udev-devel BuildRequires: upower-devel ## AUTOBUILDREQ-END BuildRequires: libpulseaudio-devel >= 6.0-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 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}/bash-completion/completions/gnome-control-center %{_datadir}/dbus-1/services/org.gnome.ControlCenter.service %{_datadir}/dbus-1/services/org.gnome.ControlCenter.SearchProvider.service %{_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 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