[packages/libgrss] - updated to 0.6.0 (note: new library name)
qboosh
qboosh at pld-linux.org
Sun Jan 18 14:14:56 CET 2015
commit ebb84285f1876e4ce3a1717af60eb316435939bb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jan 18 14:16:40 2015 +0100
- updated to 0.6.0 (note: new library name)
libgrss.spec | 66 ++++++++++++++++++++++++++++++++++++++----------------------
1 file changed, 42 insertions(+), 24 deletions(-)
---
diff --git a/libgrss.spec b/libgrss.spec
index 61b1bba..69689f0 100644
--- a/libgrss.spec
+++ b/libgrss.spec
@@ -6,26 +6,32 @@
Summary: GObject RSS handling library
Summary(pl.UTF-8): Biblioteka GObject do obsługi RSS
Name: libgrss
-Version: 0.5.0
+Version: 0.6.0
Release: 1
License: LGPL v3+
Group: Libraries
-Source0: http://gtk.mplat.es/libgrss/tarballs/%{name}-%{version}.tar.gz
-# Source0-md5: 1a91770f5c5a77eb33f72dc7c33f876d
-URL: http://live.gnome.org/Libgrss
-BuildRequires: autoconf >= 2.59
-BuildRequires: automake >= 1:1.10
-BuildRequires: glib2-devel >= 1:2.30.2
+Source0: http://gtk.mplat.es/libgrss/tarballs/%{name}-%{version}.tar.xz
+# Source0-md5: b9ffb9cf75db33abaa40e3561752623d
+URL: https://wiki.gnome.org/Projects/Libgrss
+BuildRequires: autoconf >= 2.62
+BuildRequires: automake >= 1:1.11
+BuildRequires: gettext-tools
+BuildRequires: glib2-devel >= 1:2.42.1
BuildRequires: gnome-common
BuildRequires: gnome-doc-utils
+BuildRequires: gobject-introspection-devel >= 1.30.0
BuildRequires: gtk-doc >= 1.10
-BuildRequires: libsoup-devel >= 2.36.1
-BuildRequires: libtool
-BuildRequires: libxml2-devel >= 1:2.7.8
+BuildRequires: intltool >= 0.40.6
+BuildRequires: libsoup-devel >= 2.48.0
+BuildRequires: libtool >= 2:2.2.6
+BuildRequires: libxml2-devel >= 1:2.9.2
BuildRequires: pkgconfig
-Requires: glib2 >= 1:2.30.2
-Requires: libsoup >= 2.36.1
-Requires: libxml2 >= 1:2.7.8
+BuildRequires: sed >= 4.0
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires: glib2 >= 1:2.42.1
+Requires: libsoup >= 2.48.0
+Requires: libxml2 >= 1:2.9.2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -41,9 +47,9 @@ 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.30.2
-Requires: libsoup-devel >= 2.36.1
-Requires: libxml2-devel >= 1:2.7.8
+Requires: glib2-devel >= 1:2.42.1
+Requires: libsoup-devel >= 2.48.0
+Requires: libxml2-devel >= 1:2.9.2
%description devel
Header files for grss library.
@@ -78,14 +84,21 @@ Dokumentacja API biblioteki grss.
%prep
%setup -q
+mkdir po
+touch po/POTFILES.in
+
+#%{__sed} -i -e '/po\/Makefile.in/d' configure.ac
+
%build
+%{__intltoolize}
%{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
%configure \
%{__enable_disable apidocs gtk-doc} \
+ --disable-silent-rules \
%{__enable_disable static_libs static} \
--with-html-dir=%{_gtkdocdir}
%{__make}
@@ -97,6 +110,9 @@ rm -rf $RPM_BUILD_ROOT
DESTDIR=$RPM_BUILD_ROOT
%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+# fix for buggy src/Makefile.am
+%{__mv} $RPM_BUILD_ROOT%{_libdir}/girepository-{0.6,1.0}
+%{__mv} $RPM_BUILD_ROOT%{_datadir}/gir-{0.6,1.0}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -107,23 +123,25 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc NEWS README
-%attr(755,root,root) %{_libdir}/libgrss-1.0.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgrss-1.0.so.0
+%attr(755,root,root) %{_libdir}/libgrss-0.6.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgrss-0.6.so.0
+%{_libdir}/girepository-1.0/Grss-0.6.typelib
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libgrss-1.0.so
-%{_includedir}/libgrss
-%{_pkgconfigdir}/libgrss-0.5.pc
+%attr(755,root,root) %{_libdir}/libgrss-0.6.so
+%{_includedir}/libgrss-0.6
+%{_datadir}/gir-1.0/Grss-0.6.gir
+%{_pkgconfigdir}/libgrss-0.6.pc
%if %{with static_libs}
%files static
%defattr(644,root,root,755)
-%{_libdir}/libgrss-1.0.a
+%{_libdir}/libgrss-0.6.a
%endif
%if %{with apidocs}
%files apidocs
%defattr(644,root,root,755)
-%{_gtkdocdir}/libgrss
+%{_gtkdocdir}/libgrss-0.6
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libgrss.git/commitdiff/ebb84285f1876e4ce3a1717af60eb316435939bb
More information about the pld-cvs-commit
mailing list