gsettings-desktop-schemas/gsettings-desktop-schemas.spec

79 lines
1.9 KiB
RPMSpec
Raw Normal View History

Name: gsettings-desktop-schemas
2010-11-02 12:39:38 +00:00
Version: 0.1.0
Release: 1%{?dist}
Summary: A collection of GSettings schemas
Group: System Environment/Libraries
License: LGPLv2+
# no homepage exists for this component
URL: http://bugzilla.gnome.org/enter_bug.cgi?product=gsettings-desktop-schemas
#VCS: git:git://git.gnome.org/gsettings-desktop-schemas
2010-11-02 12:39:38 +00:00
Source: http://download.gnome.org/sources/%{name}/0.1/%{name}-%{version}.tar.bz2
BuildArch: noarch
BuildRequires: glib2-devel >= 2.25.11
BuildRequires: intltool
Requires: glib2 >= 2.25.11
%description
gsettings-desktop-schemas contains a collection of GSettings schemas for
settings shared by various components of a desktop.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries
and header files for developing applications that use %{name}.
%prep
%setup -q
%build
%configure --disable-schemas-compile
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%posttrans
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%postun
if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING MAINTAINERS NEWS README
%{_datadir}/glib-2.0/schemas/*
2010-11-02 12:39:38 +00:00
%{_datadir}/GConf/gsettings/gsettings-desktop-schemas.convert
%files devel
%defattr(-,root,root,-)
%doc HACKING
%{_includedir}/*
%{_datadir}/pkgconfig/*
%changelog
2010-11-02 12:39:38 +00:00
* Tue Nov 2 2010 Matthias Clasen <mclasen@redhat.com> - 0.1.0-1
- Update to 0.1.0
* Tue Aug 24 2010 Matthias Clasen <mclasen@redhat.com> - 0.0.1-1
2010-08-24 19:43:57 +00:00
- Update to 0.0.1
* Tue Aug 3 2010 Tomas Bzatek <tbzatek@redhat.com> - 0.0.1-1.git20100729
- Initial packaging