forked from pool/gnome-control-center
Dominique Leuenberger
50053a3ae3
Update to 3.1.3 OBS-URL: https://build.opensuse.org/request/show/75378 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=101
227 lines
8.0 KiB
RPMSpec
227 lines
8.0 KiB
RPMSpec
#
|
|
# spec file for package gnome-control-center
|
|
#
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: gnome-control-center
|
|
BuildRequires: cups-devel
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: fdupes
|
|
BuildRequires: gnome-common
|
|
BuildRequires: gnome-doc-utils-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: pkgconfig(cheese-gtk)
|
|
BuildRequires: pkgconfig(colord)
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
BuildRequires: pkgconfig(dbus-glib-1)
|
|
BuildRequires: pkgconfig(goa-1.0)
|
|
BuildRequires: pkgconfig(goa-backend-1.0)
|
|
BuildRequires: pkgconfig(gconf-2.0)
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
|
BuildRequires: pkgconfig(gnome-settings-daemon)
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas)
|
|
BuildRequires: pkgconfig(gstreamer-0.10)
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
BuildRequires: pkgconfig(iso-codes)
|
|
BuildRequires: pkgconfig(libcanberra-gtk3)
|
|
BuildRequires: pkgconfig(libgnomekbd)
|
|
BuildRequires: pkgconfig(libgnomekbdui)
|
|
BuildRequires: pkgconfig(libgnome-menu)
|
|
BuildRequires: pkgconfig(libgtop-2.0)
|
|
BuildRequires: pkgconfig(libnm-glib) >= 0.8.992
|
|
BuildRequires: pkgconfig(libpulse)
|
|
BuildRequires: pkgconfig(libpulse-mainloop-glib)
|
|
BuildRequires: pkgconfig(libsocialweb-client)
|
|
BuildRequires: pkgconfig(libxklavier)
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
BuildRequires: pkgconfig(polkit-gobject-1)
|
|
BuildRequires: pkgconfig(upower-glib)
|
|
BuildRequires: pkgconfig(xcursor)
|
|
BuildRequires: pkgconfig(xft)
|
|
BuildRequires: pkgconfig(xi)
|
|
License: GPLv2+
|
|
Group: System/GUI/GNOME
|
|
Obsoletes: fontilus themus acme
|
|
Provides: fontilus themus acme
|
|
Version: 3.1.3
|
|
Release: 1
|
|
Summary: The GNOME Control Center
|
|
Source: http://download.gnome.org/sources/gnome-control-center/3.1/%{name}-%{version}.tar.bz2
|
|
# PATCH-NEEDS-REBASE gnome-control-center-system-proxy-configuration.patch -- this needs to be reimplemented to be more distro-generic before submitting upstream - docs at http://en.opensuse.org/GNOME/Proxy_configuration (was PATCH-FEATURE-OPENSUSE)
|
|
Patch14: gnome-control-center-system-proxy-configuration.patch
|
|
Url: http://www.gnome.org
|
|
# needed for printers panel
|
|
Requires: cups-pk-helper
|
|
# needed for /usr/bin/glxinfo, used by System info panel
|
|
Requires: freeglut
|
|
Requires: gnome-menus
|
|
Requires: gnome-settings-daemon
|
|
Requires: gnome-version
|
|
Requires: iso-codes
|
|
Requires: nautilus
|
|
Recommends: %{name}-lang
|
|
Recommends: apg
|
|
Provides: control-center2 = 2.22.1
|
|
Obsoletes: control-center2 < 2.22.1
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%glib2_gsettings_schema_requires
|
|
|
|
%description
|
|
The control center is GNOME's main interface for configuration of
|
|
various aspects of your desktop.
|
|
|
|
%package -n libgnome-control-center1
|
|
License: GPLv2+
|
|
Summary: Shared library used by GNOME control center
|
|
Group: System/GUI/GNOME
|
|
|
|
%description -n libgnome-control-center1
|
|
Shared library used by GNOME control center
|
|
|
|
%package devel
|
|
License: GPLv2+
|
|
Summary: Header files for the GNOME Control Center
|
|
Group: Development/Libraries/GNOME
|
|
Requires: %{name} = %{version}
|
|
Requires: libgnome-control-center1 = %{version}
|
|
Provides: control-center2-devel = 2.22.1
|
|
Obsoletes: control-center2-devel < 2.22.1
|
|
|
|
%description devel
|
|
The control center is GNOME's main interface for configuration of
|
|
various aspects of your desktop.
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
translation-update-upstream
|
|
#NEEDS-REBASE
|
|
#%patch14 -p1
|
|
|
|
%if 0%{?BUILD_FROM_VCS}
|
|
[ -x ./autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
|
|
%endif
|
|
|
|
%build
|
|
%configure --with-pic\
|
|
--with-libsocialweb\
|
|
--disable-static\
|
|
--disable-scrollkeeper\
|
|
--disable-maintainer-mode\
|
|
--disable-update-mimedb
|
|
make %{?jobs:-j%jobs} V=1
|
|
|
|
%install
|
|
%makeinstall
|
|
%if 0%{?suse_version} <= 1120
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
%endif
|
|
# Drop no: we use either nb or nn
|
|
%{__rm} %{buildroot}%{_datadir}/locale/no/LC_MESSAGES/gnome-control-center-2.0-timezones.mo
|
|
rm -f %{buildroot}%{_datadir}/applications/mimeinfo.cache
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
%find_lang %{name}-2.0 %{?no_lang_C}
|
|
%find_lang %{name}-2.0-timezones %{name}-2.0.lang
|
|
# help files
|
|
%find_lang control-center %{?no_lang_C} %{name}-2.0.lang
|
|
%suse_update_desktop_file gnome-control-center
|
|
%suse_update_desktop_file gnome-sound-applet
|
|
# capplets
|
|
%suse_update_desktop_file gnome-background-panel X-SuSE-ControlCenter-LookAndFeel
|
|
%suse_update_desktop_file gnome-color-panel X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-datetime-panel X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-display-panel X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-info-panel X-SuSE-ControlCenter-Personal
|
|
%suse_update_desktop_file gnome-keyboard-panel X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-media-panel X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-mouse-panel X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-network-panel X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-online-accounts-panel X-SuSE-ControlCenter-Personal
|
|
%suse_update_desktop_file gnome-power-panel X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-printers-panel X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-region-panel X-SuSE-ControlCenter-Personal
|
|
%suse_update_desktop_file gnome-screen-panel X-SuSE-ControlCenter-LookAndFeel
|
|
%suse_update_desktop_file gnome-sound-panel X-SuSE-ControlCenter-Hardware
|
|
%suse_update_desktop_file gnome-universal-access-panel X-SuSE-ControlCenter-Personal
|
|
%suse_update_desktop_file gnome-user-accounts-panel X-SuSE-ControlCenter-Personal
|
|
%fdupes $RPM_BUILD_ROOT
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post
|
|
%glib2_gsettings_schema_post
|
|
%desktop_database_post
|
|
%icon_theme_cache_post
|
|
%mime_database_post
|
|
|
|
%postun
|
|
%glib2_gsettings_schema_postun
|
|
%desktop_database_postun
|
|
%icon_theme_cache_postun
|
|
%mime_database_postun
|
|
|
|
%post -n libgnome-control-center1 -p /sbin/ldconfig
|
|
|
|
%postun -n libgnome-control-center1 -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
|
%dir %{_datadir}/gnome/
|
|
%dir %{_datadir}/gnome/help/
|
|
%dir %{_datadir}/gnome/help/control-center/
|
|
%doc %{_datadir}/gnome/help/control-center/C/
|
|
%dir %{_datadir}/omf/
|
|
%dir %{_datadir}/omf/control-center/
|
|
%doc %{_datadir}/omf/control-center/control-center-C.omf
|
|
%{_bindir}/*
|
|
%{_sysconfdir}/xdg/autostart/*.desktop
|
|
%{_libdir}/control-center-1/
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/desktop-directories/*.directory
|
|
%{_datadir}/gnome-control-center/
|
|
%{_datadir}/icons/hicolor/*/*/*.png
|
|
%{_datadir}/icons/hicolor/*/*/*.svg
|
|
%{_datadir}/icons/hicolor/scalable/*/*.svg
|
|
%{_datadir}/pixmaps/faces/
|
|
%dir %{_datadir}/sounds/gnome
|
|
%dir %{_datadir}/sounds/gnome/default
|
|
%dir %{_datadir}/sounds/gnome/default/alerts
|
|
%{_datadir}/sounds/gnome/default/alerts/*.ogg
|
|
%{_sysconfdir}/xdg/menus/gnomecc.menu
|
|
|
|
%files lang -f %{name}-2.0.lang
|
|
|
|
%files -n libgnome-control-center1
|
|
%defattr (-, root, root)
|
|
%{_libdir}/libgnome-control-center.so.1*
|
|
|
|
%files devel
|
|
%defattr (-, root, root)
|
|
%{_datadir}/pkgconfig/gnome-keybindings.pc
|
|
%{_libdir}/pkgconfig/libgnome-control-center.pc
|
|
%{_includedir}/gnome-control-center-1/
|
|
%{_libdir}/*.so
|
|
|
|
%changelog
|