[packages/protobuf-c] - new URLs, updated to 1.0.2 (note: new soname)

qboosh qboosh at pld-linux.org
Tue Oct 14 20:32:48 CEST 2014


commit 8a83ddb44568011afae9cfb2a3358889a5a93804
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Oct 14 20:33:17 2014 +0200

    - new URLs, updated to 1.0.2 (note: new soname)

 protobuf-c.spec | 31 +++++++++++++++++++++----------
 1 file changed, 21 insertions(+), 10 deletions(-)
---
diff --git a/protobuf-c.spec b/protobuf-c.spec
index 21249f2..7f52b7e 100644
--- a/protobuf-c.spec
+++ b/protobuf-c.spec
@@ -5,16 +5,20 @@
 Summary:	C bindings for Google's Protocol Buffers
 Summary(pl.UTF-8):	Wiązania C do biblioteki Google Protocol Buffers
 Name:		protobuf-c
-Version:	0.15
-Release:	2
+Version:	1.0.2
+Release:	1
 License:	Apache v2.0
 Group:		Libraries
-#Source0Download: http://code.google.com/p/protobuf-c/downloads/list
-Source0:	http://protobuf-c.googlecode.com/files/%{name}-%{version}.tar.gz
-# Source0-md5:	73ff0c8df50d2eee75269ad8f8c07dc8
-URL:		http://code.google.com/p/protobuf-c/
+Source0:	https://github.com/protobuf-c/protobuf-c/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	fdd242b3380005dc9a7d2f88e9f66a3a
+URL:		https://github.com/protobuf-c/protobuf-c
+BuildRequires:	autoconf >= 2.64
+BuildRequires:	automake >= 1:1.11
+BuildRequires:	doxygen
 BuildRequires:	libstdc++-devel
-BuildRequires:	protobuf-devel
+BuildRequires:	libtool >= 2:2
+BuildRequires:	pkgconfig
+BuildRequires:	protobuf-devel >= 2.5.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -60,7 +64,13 @@ Statyczna biblioteka protobuf-c.
 %setup -q
 
 %build
-%configure
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--disable-silent-rules
 
 %{__make}
 
@@ -81,10 +91,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README TODO
+%doc ChangeLog LICENSE README.md TODO
 %attr(755,root,root) %{_bindir}/protoc-c
 %attr(755,root,root) %{_libdir}/libprotobuf-c.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libprotobuf-c.so.0
+%attr(755,root,root) %ghost %{_libdir}/libprotobuf-c.so.1
 
 %files devel
 %defattr(644,root,root,755)
@@ -92,6 +102,7 @@ rm -rf $RPM_BUILD_ROOT
 # XXX: dir shared with libtcmalloc and protobuf
 %dir %{_includedir}/google
 %{_includedir}/google/protobuf-c
+%{_includedir}/protobuf-c
 %{_pkgconfigdir}/libprotobuf-c.pc
 
 %files static
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/protobuf-c.git/commitdiff/8a83ddb44568011afae9cfb2a3358889a5a93804



More information about the pld-cvs-commit mailing list