From 37af67da1759c71ea8a0b2b5e1a3f6e9f0eadfe0 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 17 Aug 2013 18:05:33 -0400 Subject: [PATCH] New upstream release - Add devel package --- .gitignore | 1 + ostree.spec | 39 +++++++++++++++++++++++++++++++++------ sources | 2 +- 3 files changed, 35 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 288ded4..12ed16f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /ostree-2013.2.tar.xz /ostree-2013.3.tar.xz /ostree-2013.4.tar.xz +/ostree-2013.5.tar.xz diff --git a/ostree.spec b/ostree.spec index 835063c..3306bd0 100644 --- a/ostree.spec +++ b/ostree.spec @@ -16,8 +16,8 @@ Summary: Linux-based operating system develop/build/deploy tool Name: ostree -Version: 2013.4 -Release: 2%{?dist} +Version: 2013.5 +Release: 1%{?dist} #VCS: git:git://git.gnome.org/ostree Source0: http://ftp.gnome.org/pub/GNOME/sources/ostree/%{version}/%{build_name}-%{version}.tar.xz # The libostree.so (currently private) shared library, and almost all @@ -40,6 +40,7 @@ BuildRequires: dracut Requires: linux-user-chroot Requires: dracut +Requires: systemd-units # Embedded GLib dependencies %if 0%{?enable_embedded_dependencies} @@ -58,9 +59,19 @@ BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(libsoup-2.4) %endif +BuildRequires: pkgconfig(systemd) + %description See http://live.gnome.org/OSTree +%package devel +Summary: Development headers for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +The %{name}-devel package includes the header files for the %{name} library. + %prep %setup -q -n %{build_name}-%{version} @@ -73,7 +84,7 @@ env NOCONFIGURE=1 ./autogen.sh %endif %configure --disable-silent-rules \ - --enable-documentation \ + --enable-gtk-doc \ --disable-libarchive \ --with-dracut \ %{embedded_dependencies_option} @@ -81,10 +92,17 @@ make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c" +find $RPM_BUILD_ROOT -name '*.la' -delete %clean rm -rf $RPM_BUILD_ROOT +%post +%systemd_post ostree-remount.service + +%preun +%systemd_preun ostree-remount.service + %files %doc COPYING README.md %{_bindir}/ostree @@ -93,10 +111,8 @@ rm -rf $RPM_BUILD_ROOT %{_sysconfdir}/dracut.conf.d/ostree.conf %dir %{_prefix}/lib/dracut/modules.d/98ostree %{_prefix}/lib/systemd/system/ostree*.service -%{_prefix}/lib/systemd/system/*.target.wants/ostree*.service %{_prefix}/lib/dracut/modules.d/98ostree/* -%dir %{_libdir}/ostree -%{_libdir}/ostree/*.so +%{_libdir}/*.so.1* %if 0%{?enable_embedded_dependencies} %{_libdir}/ostree/libglib*.so* %{_libdir}/ostree/libgmodule*.so* @@ -107,7 +123,18 @@ rm -rf $RPM_BUILD_ROOT %endif %{_mandir}/man1/*.gz +%files devel +%{_libdir}/lib*.so +%{_includedir}/* +%{_libdir}/pkgconfig/* +%dir %{_datadir}/gtk-doc/html/ostree +%{_datadir}/gtk-doc/html/ostree + %changelog +* Sat Aug 17 2013 Colin Walters - 2013.5-1 +- New upstream release +- Add devel package + * Sat Aug 03 2013 Fedora Release Engineering - 2013.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index e2fc03d..7f22a8c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0d0fafa465cb25e0e90098f1f1476f9c ostree-2013.4.tar.xz +c3c16ff58fc0c436c433362bc7cd7ce6 ostree-2013.5.tar.xz