1
0
gsettings-desktop-schemas/gsettings-desktop-schemas.spec

104 lines
3.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package gsettings-desktop-schemas
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands.
#
# 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/
#
Name: gsettings-desktop-schemas
Version: 0.1.5
Release: 1
License: LGPLv2+
Summary: Shared GSettings Schemas for the Desktop
Url: http://gnome.org/
Group: System/GUI/GNOME
Source0: %{name}-%{version}.tar.bz2
BuildRequires: glib2-devel
BuildRequires: intltool
%if 0%{?BUILD_FROM_VCS}
BuildRequires: gnome-common
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%glib2_gsettings_schema_requires
%description
A collection of GSettings schemas for settings shared by various
components of a desktop.
%package devel
License: GPLv2+
Summary: Shared GSettings Schemas for the Desktop -- Development Files
Group: Development/Languages/C and C++
Requires: %{name} = %{version}
%description devel
A collection of GSettings schemas for settings shared by various
components of a desktop.
This package contains development files.
%prep
%setup -q
%if 0%{?BUILD_FROM_VCS}
[ -x ./autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
%endif
%build
%configure
%__make %{?_smp_mflags}
%install
%makeinstall
%clean
rm -rf %{buildroot}
%post
%glib2_gsettings_schema_post
%postun
%glib2_gsettings_schema_postun
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog HACKING MAINTAINERS NEWS README
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.a11y.applications.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.a11y.keyboard.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.a11y.mouse.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.background.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.default-applications.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.enums.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.media-handling.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.sound.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.session.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.thumbnail-cache.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.thumbnailers.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.system.proxy.gschema.xml
%dir %{_datadir}/GConf
%dir %{_datadir}/GConf/gsettings
%{_datadir}/GConf/gsettings/gsettings-desktop-schemas.convert
%files devel
%defattr(-,root,root)
%{_includedir}/%{name}/
%{_datadir}/pkgconfig/%{name}.pc
%changelog