ostree/ostree.spec

126 lines
3.7 KiB
RPMSpec
Raw Normal View History

2012-11-19 21:05:28 +00:00
Summary: Linux-based operating system develop/build/deploy tool
Name: ostree
Version: 2013.5
Release: 3%{?dist}
2012-11-19 21:05:28 +00:00
#VCS: git:git://git.gnome.org/ostree
Source0: http://ftp.gnome.org/pub/GNOME/sources/ostree/%{version}/ostree-%{version}.tar.xz
2012-11-19 21:05:28 +00:00
# The libostree.so (currently private) shared library, and almost all
# of the utilities are licensed under the LGPLv2+. Only at present
# one utility program (ostree-switch-root) is forked from util-linux under
# the GPL.
# The BSD is there basically just for some random scripts, nothing
# important.
# As always, consult the upstream COPYING file, and individual source
# files for the canonical license status.
License: LGPLv2+ and GPLv2+ and BSD
URL: http://live.gnome.org/OSTree
# We always run autogen.sh
BuildRequires: autoconf automake libtool
# Too bad there isn't a pkg-config file =(
BuildRequires: libattr-devel
# For docs
BuildRequires: gtk-doc
2013-07-08 01:51:28 +00:00
BuildRequires: dracut
2012-11-19 21:05:28 +00:00
2013-07-08 01:51:28 +00:00
Requires: dracut
Requires: systemd-units
2012-11-19 21:05:28 +00:00
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(systemd)
2012-11-19 21:05:28 +00:00
%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.
2012-11-19 21:05:28 +00:00
%prep
%setup -q -n ostree-%{version}
2012-11-19 21:05:28 +00:00
%build
env NOCONFIGURE=1 ./autogen.sh
%configure --disable-silent-rules \
--enable-gtk-doc \
2012-11-19 21:05:28 +00:00
--disable-libarchive \
--with-dracut
2012-11-19 21:05:28 +00:00
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c"
find $RPM_BUILD_ROOT -name '*.la' -delete
2012-11-19 21:05:28 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
%post
%systemd_post ostree-remount.service
%preun
%systemd_preun ostree-remount.service
2012-11-19 21:05:28 +00:00
%files
%doc COPYING README.md
%{_bindir}/ostree
2013-07-08 01:51:28 +00:00
%{_sbindir}/ostree-prepare-root
%{_sbindir}/ostree-remount
%{_sysconfdir}/dracut.conf.d/ostree.conf
%dir %{_prefix}/lib/dracut/modules.d/98ostree
%{_prefix}/lib/systemd/system/ostree*.service
%{_prefix}/lib/dracut/modules.d/98ostree/*
%{_libdir}/*.so.1*
2012-11-19 21:05:28 +00:00
%{_mandir}/man1/*.gz
%files devel
%{_libdir}/lib*.so
%{_includedir}/*
%{_libdir}/pkgconfig/*
%dir %{_datadir}/gtk-doc/html/ostree
%{_datadir}/gtk-doc/html/ostree
2012-11-19 21:05:28 +00:00
%changelog
* Sat Aug 25 2013 Colin Walters <walters@verbum.org> - 2013.5-3
- And actually while we are here, drop all the embedded dependency
goop from this spec file; it may live on in the EPEL branch.
* Sat Aug 25 2013 Colin Walters <walters@verbum.org> - 2013.5-2
- Drop requirement on linux-user-chroot
We now require triggers to be processed on the build server
by default, so ostree does not runtime-depend on linux-user-chroot.
* Sat Aug 17 2013 Colin Walters <walters@verbum.org> - 2013.5-1
- New upstream release
- Add devel package
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2013.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-17 00:54:25 +00:00
* Tue Jul 16 2013 Colin Walters <walters@verbum.org> - 2013.4-1
- New upstream release
2013-07-08 01:51:28 +00:00
* Sun Jul 07 2013 Colin Walters <walters@verbum.org> - 2013.3-1
- New upstream release
2013-04-02 13:18:41 +00:00
* Mon Apr 01 2013 Colin Walters <walters@verbum.org> - 2013.1-1
- New upstream release
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2012.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-12-23 22:54:25 +00:00
* Sun Dec 23 2012 Colin Walters <walters@verbum.org> - 2012.13-1
- New upstream release
* Tue Dec 18 2012 Colin Walters <walters@verbum.org> - 2012.12-2
- Explicitly enable grub2 hook; otherwise we pick up whatever
the buildroot has, which is not what we want.
2012-11-19 21:05:28 +00:00
* Mon Nov 19 2012 Colin Walters <walters@verbum.org> - 2012.12-1
- Initial import; thanks to Michel Alexandre Salim for review
https://bugzilla.redhat.com/show_bug.cgi?id=819951