1
0
gsettings-desktop-schemas/gsettings-desktop-schemas.spec
OBS User autobuild 826fd5770f Accepting request 50108 from GNOME:Factory
Copy from GNOME:Factory/gsettings-desktop-schemas based on submit request 50108 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/50108
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gsettings-desktop-schemas?expand=0&rev=1
2010-10-11 15:07:24 +00:00

91 lines
2.8 KiB
RPMSpec

#
# spec file for package gsettings-desktop-schemas (Version 0.0.1)
#
# Copyright (c) 2010 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.0.1
Release: 1
# Remove pkgconfigdir override for next upstream; it's fixed there
License: GPLv2+
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
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
%build
%configure
%__make %{?_smp_mflags}
%install
# We override pkgconfigdir; the .pc file does not contain arch dependent
# information. Having the .pc file installed in datadir allows us to have the
# package noarch.
%makeinstall pkgconfigdir=%{_datadir}/pkgconfig
%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.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.url-handlers.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.system.proxy.gschema.xml
%files devel
%defattr(-,root,root)
%{_includedir}/%{name}/
%{_datadir}/pkgconfig/%{name}.pc
%changelog