[packages/ostree] - new

qboosh qboosh at pld-linux.org
Thu Oct 31 20:21:41 CET 2013


commit 8a714495637bae5f8a53864226c7cd6d7310d4e0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Oct 31 20:21:35 2013 +0100

    - new

 ostree.spec | 170 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 170 insertions(+)
---
diff --git a/ostree.spec b/ostree.spec
new file mode 100644
index 0000000..d6cbe4b
--- /dev/null
+++ b/ostree.spec
@@ -0,0 +1,170 @@
+#
+# Conditional build:
+%bcond_without	static_libs	# don't build static libraries
+#
+Summary:	OSTree - Git for operating system binaries
+Summary(pl.UTF-8):	OSTree - Git dla binariów systemów operacyjnych
+Name:		ostree
+Version:	2013.7
+Release:	1
+License:	LGPL v2+
+Group:		Libraries
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/ostree/%{version}/%{name}-%{version}.tar.xz
+# Source0-md5:	777355574c6b9726fe8c97e6e3d12f99
+URL:		https://wiki.gnome.org/OSTree
+BuildRequires:	attr-devel
+BuildRequires:	autoconf >= 2.63
+BuildRequires:	automake >= 1:1.11
+BuildRequires:	glib2-devel >= 1:2.34.0
+BuildRequires:	gpgme-devel >= 1.1.8
+BuildRequires:	gobject-introspection-devel >= 1.34.0
+BuildRequires:	gtk-doc >= 1.15
+BuildRequires:	libarchive-devel >= 2.8.0
+BuildRequires:	libsoup-devel >= 2.39.1
+BuildRequires:	libtool >= 2:2.2.4
+BuildRequires:	libxslt-progs
+BuildRequires:	pkgconfig
+BuildRequires:	sed >= 4.0
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+Requires:	glib2 >= 1:2.34.0
+Requires:	gpgme >= 1.1.8
+Requires:	libarchive >= 2.8.0
+Requires:	libsoup >= 2.39.1
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+OSTree is a tool for managing bootable, immutable, versioned
+filesystem trees. While it takes over some of the roles of tradtional
+"package managers" like dpkg and rpm, it is not a package system; nor
+is it a tool for managing full disk images. Instead, it sits between
+those levels, offering a blend of the advantages (and disadvantages)
+of both.
+
+%description -l pl.UTF-8
+OSTree to narzędzie do zarządzania uruchamialnymi, niezmiennymi,
+wersjonowanymi drzewami systemów plików. O ile przejmuje niektóre
+funkcje tradycyjnych "zarządców pakietów", takich jak dpkg i rpm, nie
+jest to system pakietów; nie jest to także narzędzie do zarządzania
+pełnymi obrazami dysków. Jest to poziom pośredni, oferujący połączenie
+zalet (i wad) obu.
+
+%package devel
+Summary:	Header files for OSTree library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki OSTree
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	glib2-devel >= 1:2.34.0
+
+%description devel
+Header files for OSTree library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki OSTree.
+
+%package static
+Summary:	Static OSTree library
+Summary(pl.UTF-8):	Statyczna biblioteka OSTree
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static OSTree library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka OSTree.
+
+%package apidocs
+Summary:	OSTree API documentation
+Summary(pl.UTF-8):	Dokumentacja API biblioteki OSTree
+Group:		Documentation
+
+%description apidocs
+OSTree API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki OSTree.
+
+%package -n dracut-ostree
+Summary:	OSTree support for Dracut
+Summary(pl.UTF-8):	Obsługa OSTree dla Dracuta
+Group:		Applications/System
+Requires:	%{name} = %{version}-%{release}
+Requires:	dracut
+
+%description -n dracut-ostree
+OSTree support for Dracut.
+
+%description -n dracut-ostree -l pl.UTF-8
+Obsługa OSTree dla Dracuta.
+
+%prep
+%setup -q
+
+%build
+# rebuild ac/am to get as-needed working
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	GJS=/usr/bin/gjs \
+	--enable-gtk-doc \
+	--disable-silent-rules \
+	%{?with_static_libs:--enable-static} \
+	--with-dracut \
+	--with-html-dir=%{_gtkdocdir} \
+	--with-systemdsystemunitdir=%{systemdunitdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libostree-1.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README.md TODO
+%attr(755,root,root) %{_bindir}/ostree
+%attr(755,root,root) %{_libdir}/libostree-1.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libostree-1.so.1
+%{_libdir}/girepository-1.0/OSTree-1.0.typelib
+%{_datadir}/ostree
+%{_mandir}/man1/ostree.1*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libostree-1.so
+%{_includedir}/ostree-1
+%{_datadir}/gir-1.0/OSTree-1.0.gir
+%{_pkgconfigdir}/ostree-1.pc
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libostree-1.a
+%endif
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/ostree
+
+%files -n dracut-ostree
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/ostree-prepare-root
+%attr(755,root,root) %{_sbindir}/ostree-remount
+%{systemdunitdir}/ostree-remount.service
+%attr(755,root,root) %{_prefix}/lib/dracut/modules.d/98ostree/module-setup.sh
+%{_prefix}/lib/dracut/modules.d/98ostree/ostree-prepare-root.service
+%config(noreplace) %verify(not md5 mtime size) /etc/dracut.conf.d/ostree.conf
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ostree.git/commitdiff/8a714495637bae5f8a53864226c7cd6d7310d4e0



More information about the pld-cvs-commit mailing list