packages: libgrss/libgrss.spec (NEW) - new

megabajt megabajt at pld-linux.org
Tue Mar 15 20:47:31 CET 2011


Author: megabajt                     Date: Tue Mar 15 19:47:31 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/libgrss:
   libgrss.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libgrss/libgrss.spec
diff -u /dev/null packages/libgrss/libgrss.spec:1.1
--- /dev/null	Tue Mar 15 20:47:31 2011
+++ packages/libgrss/libgrss.spec	Tue Mar 15 20:47:26 2011
@@ -0,0 +1,134 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	apidocs		# do not build and package API docs
+%bcond_without	static_libs	# don't build static libraries
+#
+Summary:	GObject RSS handling library
+Name:		libgrss
+Version:	0.4.0
+Release:	1
+License:	LGPL v3
+Group:		Libraries
+Source0:	http://gtk.mplat.es/libgrss/tarballs/%{name}-%{version}.tar.gz
+# Source0-md5:	c145ce89a8287519e6366ce9c3c15de7
+Patch0:		%{name}-pc.patch
+URL:		http://live.gnome.org/Libgrss
+BuildRequires:	autoconf >= 2.59
+BuildRequires:	automake >= 1:1.10
+BuildRequires:	glib2-devel >= 1:2.22.2
+BuildRequires:	gnome-common
+BuildRequires:	gnome-doc-utils
+BuildRequires:	gtk-doc >= 1.10
+BuildRequires:	libsoup-devel >= 2.28.1
+BuildRequires:	libtool
+BuildRequires:	libxml2-devel >= 1:2.7.4
+BuildRequires:	pkgconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libgrss is a GLib abstraction to handle feeds in RSS, Atom and other
+formats.
+
+%package devel
+Summary:	Header files for grss library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki grss
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	glib2-devel >= 1:2.22.2
+Requires:	libsoup-devel >= 2.28.1
+Requires:	libxml2-devel >= 1:2.7.4
+
+%description devel
+Header files for grss library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki grss.
+
+%package static
+Summary:	Static grss library
+Summary(pl.UTF-8):	Statyczna biblioteka grss
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static grss library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka grss.
+
+%package apidocs
+Summary:	grss library API documentation
+Summary(pl.UTF-8):	Dokumentacja API biblioteki grss
+Group:		Documentation
+Requires:	gtk-doc-common
+
+%description apidocs
+grss library API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki grss.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	%{__enable_disable apidocs gtk-doc} \
+	%{__enable_disable static_libs static} \
+	--with-html-dir=%{_gtkdocdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README TODO
+%attr(755,root,root) %{_libdir}/libgrss-1.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgrss-1.0.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgrss-1.0.so
+%{_includedir}/libgrss
+%{_pkgconfigdir}/libgrss-0.pc
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libgrss-1.0.a
+%endif
+
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/libgrss
+%endif
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/03/15 19:47:26  megabajt
+- new
+
================================================================


More information about the pld-cvs-commit mailing list