From ea4710495173687e74a110bf25cb09f1682c04bf Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 02 2019 08:03:01 +0000 Subject: import protobuf-c-1.3.0-4.el8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..10dc186 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/protobuf-c-1.3.0.tar.gz diff --git a/.protobuf-c.metadata b/.protobuf-c.metadata new file mode 100644 index 0000000..03a9ced --- /dev/null +++ b/.protobuf-c.metadata @@ -0,0 +1 @@ +804225b297c06ab10e77ca8062e5c62b40341479 SOURCES/protobuf-c-1.3.0.tar.gz diff --git a/SPECS/protobuf-c.spec b/SPECS/protobuf-c.spec new file mode 100644 index 0000000..d5d6c98 --- /dev/null +++ b/SPECS/protobuf-c.spec @@ -0,0 +1,171 @@ +Name: protobuf-c +Version: 1.3.0 +Release: 4%{?dist} +Summary: C bindings for Google's Protocol Buffers + +License: BSD +URL: https://github.com/protobuf-c/protobuf-c +Source0: https://github.com/protobuf-c/protobuf-c/releases/download/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: autoconf automake libtool +BuildRequires: gcc-c++ +BuildRequires: pkgconfig(protobuf) + +%description +Protocol Buffers are a way of encoding structured data in an efficient yet +extensible format. This package provides a code generator and run-time +libraries to use Protocol Buffers from pure C (not C++). + +It uses a modified version of protoc called protoc-c. + +%package compiler +Summary: Protocol Buffers C compiler +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description compiler +This package contains a modified version of the Protocol Buffers +compiler for the C programming language called protoc-c. + +%package devel +Summary: Protocol Buffers C headers and libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-compiler%{?_isa} = %{version}-%{release} + +%description devel +This package contains protobuf-c headers and libraries. + +%prep +%setup -q + +%build +autoreconf -ifv +%configure --disable-static +%make_build + +%check +make check + +%install +%make_install +rm -vf $RPM_BUILD_ROOT/%{_libdir}/libprotobuf-c.la + +%ldconfig_scriptlets + +%files +%{_libdir}/libprotobuf-c.so.* +%doc TODO LICENSE ChangeLog + +%files compiler +%{_bindir}/protoc-c +%{_bindir}/protoc-gen-c + +%files devel +%dir %{_includedir}/google +%{_includedir}/protobuf-c/ +%{_includedir}/google/protobuf-c/ +%{_libdir}/libprotobuf-c.so +%{_libdir}/pkgconfig/libprotobuf-c.pc + +%changelog +* Fri Feb 09 2018 Fedora Release Engineering - 1.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jan 31 2018 Igor Gnatenko - 1.3.0-3 +- Switch to %%ldconfig_scriptlets + +* Wed Nov 29 2017 Igor Gnatenko - 1.3.0-2 +- Rebuild for protobuf 3.5 + +* Tue Nov 14 2017 Igor Gnatenko - 1.3.0-1 +- Update to 1.3.0 + +* Mon Nov 13 2017 Igor Gnatenko - 1.2.1-8 +- Rebuild for protobuf 3.4 + +* Thu Aug 03 2017 Fedora Release Engineering - 1.2.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.2.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Jun 13 2017 Orion Poplawski - 1.2.1-5 +- Rebuild for protobuf 3.3 + +* Sat Feb 11 2017 Fedora Release Engineering - 1.2.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Jan 23 2017 Orion Poplawski - 1.2.1-3 +- Rebuild for protobuf 3.2.0 + +* Sat Nov 19 2016 Orion Poplawski - 1.2.1-2 +- Rebuild for protobuf 3.1.0 + +* Sun Mar 27 2016 Jan Vcelak 1.2.1-1 +- New upstream release: + + fix: negative value packing + + fix: eliminate undefined behavior in zigzag functions + + fix: generate code that uses universal zero initializer for oneof unions + +* Thu Feb 04 2016 Fedora Release Engineering - 1.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Nov 25 2015 Nikos Mavrogiannopoulos - 1.1.1-3 +- Added protobuf-c-compiler subpackage to reduce runtime + +* Thu Jun 18 2015 Fedora Release Engineering - 1.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Apr 23 2015 Nikos Mavrogiannopoulos - 1.1.1-1 +- new upstream release (#1142988) + +* Sat Feb 21 2015 Till Maas - 1.0.1-3 +- Rebuilt for Fedora 23 Change + https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code + +* Sun Aug 17 2014 Fedora Release Engineering - 1.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Wed Aug 06 2014 Nikos Mavrogiannopoulos - 1.0.1-1 +- new upstream release + +* Mon Aug 04 2014 Nikos Mavrogiannopoulos - 1.0.0-1 +- new upstream release (#1126116) + +* Sat Jun 07 2014 Fedora Release Engineering - 0.15-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 0.15-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Mar 11 2013 David Robinson - 0.15-7 +- rebuilt for protobuf-2.5.0 + +* Thu Feb 14 2013 Fedora Release Engineering - 0.15-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 0.15-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 0.15-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Jun 12 2011 David Robinson - 0.15-3 +- rebuilt for protobuf-2.4.1 + +* Sun Apr 24 2011 David Robinson - 0.15-2 +- Spec file cleanup + +* Wed Apr 20 2011 David Robinson - 0.15-1 +- New upstream release +- Spec file cleanup + +* Mon Jan 17 2011 Bobby Powers - 0.14-1 +- New upstream release +- Removed -devel dependency on protobuf-devel +- Small specfile cleanups + +* Wed May 19 2010 David Robinson - 0.13-2 +- Spec file cleanup + +* Wed May 19 2010 David Robinson - 0.13-1 +- Initial packaging