* Tue Aug 3 2010 Tomas Bzatek <tbzatek@redhat.com> - 0.0.1-1.git20100729
- Initial packaging
This commit is contained in:
parent
2a4a6cf323
commit
0039c23b38
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
|||||||
|
gsettings-desktop-schemas-0.0.1.git20100729.tar.bz2
|
77
gsettings-desktop-schemas.spec
Normal file
77
gsettings-desktop-schemas.spec
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
Name: gsettings-desktop-schemas
|
||||||
|
Version: 0.0.1
|
||||||
|
Release: 1.git20100729%{?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
|
||||||
|
# Source0: http://download.gnome.org/sources/%{name}/0.0/%{name}-%{version}.tar.bz2
|
||||||
|
Source0: %{name}-%{version}.git20100729.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
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||||
|
# move .pc files to /usr/share and mark this package as noarch
|
||||||
|
# pkg-config seems to pick it just nicely from this location
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig
|
||||||
|
mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig/* $RPM_BUILD_ROOT%{_datadir}/pkgconfig
|
||||||
|
|
||||||
|
|
||||||
|
%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/*
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc HACKING
|
||||||
|
%{_includedir}/*
|
||||||
|
%{_datadir}/pkgconfig/*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Aug 3 2010 Tomas Bzatek <tbzatek@redhat.com> - 0.0.1-1.git20100729
|
||||||
|
- Initial packaging
|
Loading…
Reference in New Issue
Block a user