gnome-control-center/gnome-control-center.spec

309 lines
11 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: gnome-control-center
Version: 3.36.1
Release: 1mamba
Summary: Gnome control center
Group: Graphical Desktop/Applications/Configuration
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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-gtk-devel
BuildRequires: colord-gtk-devel
BuildRequires: glibc-devel
BuildRequires: gnome-desktop-devel
BuildRequires: gnome-online-accounts-devel
BuildRequires: libX11-devel
BuildRequires: libXi-devel
BuildRequires: libaccountsservice-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libcanberra-devel
BuildRequires: libclutter-devel
BuildRequires: libcolord-devel
BuildRequires: libcups-devel
BuildRequires: libfontconfig-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgnome-bluetooth-devel
BuildRequires: libgrilo-devel
BuildRequires: libgtk-devel
BuildRequires: libgtop-devel
BuildRequires: libgudev-devel
BuildRequires: libibus-devel
BuildRequires: libkrb5-devel
BuildRequires: libnm-devel
BuildRequires: libnma-devel
BuildRequires: libpango-devel
BuildRequires: libpolkit-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libpulseaudio-glib-devel
BuildRequires: libpwquality-devel
BuildRequires: libsmbclient-devel
BuildRequires: libsoup-devel
BuildRequires: libupower-devel
BuildRequires: libwacom-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
BuildRequires: libgsound-devel
BuildRequires: libpulseaudio-devel >= 12.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
BuildRequires: python-dbusmock-py3
Requires: gnome-settings-daemon
Requires(post):shared-mime-info
Provides: gnome-control-center-devel
Obsoletes: gnome-control-center-devel
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.
%debug_package
%prep
%setup -q
#%patch0 -p1
%build
export LC_ALL=en_US.UTF-8
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%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-*
%{_datadir}/metainfo/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}/gettext/its/sounds.*
%{_datadir}/glib-2.0/schemas/org.gnome.ControlCenter.gschema.xml
%{_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
%{_datadir}/pkgconfig/gnome-keybindings.pc
#%{_mandir}/man1/gnome-control-center.1.gz
%doc COPYING
%changelog
* Mon Mar 30 2020 Automatic Build System <autodist@mambasoft.it> 3.36.1-1mamba
- automatic version update by autodist
* Fri Mar 13 2020 Automatic Build System <autodist@mambasoft.it> 3.36.0-1mamba
- automatic version update by autodist
* Fri Feb 14 2020 Automatic Build System <autodist@mambasoft.it> 3.34.4-1mamba
- automatic version update by autodist
* Mon Nov 25 2019 Automatic Build System <autodist@mambasoft.it> 3.34.2-1mamba
- automatic version update by autodist
* Wed Nov 06 2019 Automatic Build System <autodist@mambasoft.it> 3.34.1-1mamba
- automatic version update by autodist
* Tue Aug 14 2018 Automatic Build System <autodist@mambasoft.it> 3.28.2-1mamba
- automatic version update by autodist
* Fri Aug 18 2017 Automatic Build System <autodist@mambasoft.it> 3.24.3-1mamba
- automatic version update by autodist
* Thu Jun 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.20.1-1mamba
- update to 3.20.1
* Sat Apr 02 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.2-3mamba
- rebuilt by autoport with build requirements: libpulseaudio-devel>=8.0-1mamba
* Fri Mar 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.2-2mamba
- rebuilt by autoport with build requirements: libcolord-devel>=1.2.12-1mamba
* Sun Dec 27 2015 Automatic Build System <autodist@mambasoft.it> 3.18.2-1mamba
- automatic version update by autodist
* Wed Jul 22 2015 Automatic Build System <autodist@mambasoft.it> 3.16.3-1mamba
- automatic version update by autodist
* Wed May 13 2015 Automatic Build System <autodist@mambasoft.it> 3.16.2-1mamba
- automatic version update by autodist
* Thu Apr 30 2015 Automatic Build System <autodist@mambasoft.it> 3.16.1-1mamba
- automatic version update by autodist
* Fri Apr 03 2015 Automatic Build System <autodist@mambasoft.it> 3.14.4-1mamba
- automatic update by autodist
* Sun Mar 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.2-2mamba
- rebuilt by autoport with build requirements: libpulseaudio-devel>=6.0-1mamba
* Thu Nov 13 2014 Automatic Build System <autodist@mambasoft.it> 3.14.2-1mamba
- automatic version update by autodist
* Thu Oct 30 2014 Automatic Build System <autodist@mambasoft.it> 3.14.1-1mamba
- automatic version update by autodist
* Wed Jun 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.12.1-1mamba
- update to 3.12.1
* Mon Mar 03 2014 Automatic Build System <autodist@mambasoft.it> 3.10.3-1mamba
- automatic version update by autodist
* Wed Nov 13 2013 Automatic Build System <autodist@mambasoft.it> 3.10.2-1mamba
- automatic version update by autodist
* Wed Nov 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.1-2mamba
- rebuilt with libcogl 1.16
* Sat Nov 02 2013 Automatic Build System <autodist@mambasoft.it> 3.10.1-1mamba
- automatic version update by autodist
* Mon Sep 16 2013 Automatic Build System <autodist@mambasoft.it> 3.8.5-1mamba
- automatic version update by autodist
* Thu Jul 25 2013 Automatic Build System <autodist@mambasoft.it> 3.8.4.1-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
* Mon May 06 2013 Automatic Build System <autodist@mambasoft.it> 3.8.1.5-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
* Sun Apr 14 2013 Automatic Build System <autodist@mambasoft.it> 3.8.0-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
* Wed Nov 07 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.2-2mamba
- added build requirement for network-manager-applet-devel (to enable network support)
* Fri Oct 26 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 14 2012 Automatic Build System <autodist@mambasoft.it> 3.4.2-1mamba
- automatic version update by autodist
* Sat Oct 01 2011 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
- update to 3.2.0
* Sun Jul 24 2011 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
- automatic version update by autodist
* Sun May 22 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.32.1-3mamba
- install schemas in post scripts using gconftool-2
* Tue May 17 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.32.1-2mamba
- added post requirement for shared-mime-info
* Thu Nov 18 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
* Fri May 28 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.30.1-2mamba
- rebuilt against libxklavier 5.0
* Tue May 11 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
* Mon Sep 28 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.0-1mamba
- package created by autospec