|
|
2fc141 |
Name: protobuf-c
|
|
|
2fc141 |
Version: 1.0.2
|
|
|
2fc141 |
Release: 2%{?dist}
|
|
|
2fc141 |
Summary: C bindings for Google's Protocol Buffers
|
|
|
2fc141 |
|
|
|
2fc141 |
|
|
|
2fc141 |
Group: System Environment/Libraries
|
|
|
2fc141 |
License: BSD
|
|
|
2fc141 |
URL: https://github.com/protobuf-c/protobuf-c
|
|
|
2fc141 |
Source0: https://github.com/protobuf-c/protobuf-c/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
|
2fc141 |
|
|
|
2fc141 |
BuildRequires: protobuf-devel
|
|
|
2fc141 |
|
|
|
2fc141 |
%description
|
|
|
2fc141 |
Protocol Buffers are a way of encoding structured data in an efficient yet
|
|
|
2fc141 |
extensible format. This package provides a code generator and run-time
|
|
|
2fc141 |
libraries to use Protocol Buffers from pure C (not C++).
|
|
|
2fc141 |
|
|
|
2fc141 |
%package compiler
|
|
|
2fc141 |
Summary: Protocol Buffers C compiler
|
|
|
2fc141 |
Group: Development/Libraries
|
|
|
2fc141 |
Requires: %{name} = %{version}-%{release}
|
|
|
2fc141 |
|
|
|
2fc141 |
%description compiler
|
|
|
2fc141 |
This package contains a modified version of the Protocol Buffers
|
|
|
2fc141 |
compiler for the C programming language called protoc-c.
|
|
|
2fc141 |
|
|
|
2fc141 |
%package devel
|
|
|
2fc141 |
Summary: Protocol Buffers C headers and libraries
|
|
|
2fc141 |
Group: Development/Libraries
|
|
|
2fc141 |
Requires: %{name} = %{version}-%{release}
|
|
|
2fc141 |
Requires: %{name}-compiler = %{version}-%{release}
|
|
|
2fc141 |
|
|
|
2fc141 |
%description devel
|
|
|
2fc141 |
This package contains protobuf-c headers and libraries.
|
|
|
2fc141 |
|
|
|
2fc141 |
%prep
|
|
|
2fc141 |
%setup -q
|
|
|
2fc141 |
|
|
|
2fc141 |
%build
|
|
|
2fc141 |
%configure --disable-static
|
|
|
2fc141 |
# disabled parallel build due to https://github.com/protobuf-c/protobuf-c/issues/156
|
|
|
2fc141 |
make
|
|
|
2fc141 |
|
|
|
2fc141 |
%check
|
|
|
2fc141 |
make check
|
|
|
2fc141 |
|
|
|
2fc141 |
%install
|
|
|
2fc141 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
2fc141 |
rm -f $RPM_BUILD_ROOT/%{_libdir}/libprotobuf-c.la
|
|
|
2fc141 |
|
|
|
2fc141 |
%post -p /sbin/ldconfig
|
|
|
2fc141 |
%postun -p /sbin/ldconfig
|
|
|
2fc141 |
|
|
|
2fc141 |
%files
|
|
|
2fc141 |
%{_libdir}/libprotobuf-c.so.*
|
|
|
2fc141 |
%doc TODO LICENSE ChangeLog
|
|
|
2fc141 |
|
|
|
2fc141 |
%files compiler
|
|
|
2fc141 |
%defattr(-,root,root,-)
|
|
|
2fc141 |
%{_bindir}/protoc-c
|
|
|
2fc141 |
|
|
|
2fc141 |
%files devel
|
|
|
2fc141 |
%defattr(-,root,root,-)
|
|
|
2fc141 |
%dir %{_includedir}/google
|
|
|
2fc141 |
%{_includedir}/protobuf-c
|
|
|
2fc141 |
%{_includedir}/google/protobuf-c
|
|
|
2fc141 |
%{_libdir}/libprotobuf-c.so
|
|
|
2fc141 |
%{_libdir}/pkgconfig/libprotobuf-c.pc
|
|
|
2fc141 |
|
|
|
2fc141 |
%changelog
|
|
|
2fc141 |
* Mon Aug 17 2015 Adrian Reber <areber@redhat.com> - 1.0.2-2
|
|
|
2fc141 |
- remove 'ExcludeArch' hack
|
|
|
2fc141 |
|
|
|
2fc141 |
* Fri Jul 17 2015 Adrian Reber <areber@redhat.com> - 1.0.2-1
|
|
|
2fc141 |
- new upstream release
|
|
|
2fc141 |
- split off protoc-c into protobuf-c-compiler to reduce runtime
|
|
|
2fc141 |
dependencies of the main package
|
|
|
2fc141 |
|
|
|
2fc141 |
* Wed Aug 06 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.0.1-1
|
|
|
2fc141 |
- new upstream release
|
|
|
2fc141 |
|
|
|
2fc141 |
* Mon Aug 04 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.0.0-1
|
|
|
2fc141 |
- new upstream release (#1126116)
|
|
|
2fc141 |
|
|
|
2fc141 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-9
|
|
|
2fc141 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
2fc141 |
|
|
|
2fc141 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-8
|
|
|
2fc141 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
2fc141 |
|
|
|
2fc141 |
* Mon Mar 11 2013 David Robinson <zxvdr.au@gmail.com> - 0.15-7
|
|
|
2fc141 |
- rebuilt for protobuf-2.5.0
|
|
|
2fc141 |
|
|
|
2fc141 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-6
|
|
|
2fc141 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
2fc141 |
|
|
|
2fc141 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-5
|
|
|
2fc141 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
2fc141 |
|
|
|
2fc141 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-4
|
|
|
2fc141 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
2fc141 |
|
|
|
2fc141 |
* Sun Jun 12 2011 David Robinson <zxvdr.au@gmail.com> - 0.15-3
|
|
|
2fc141 |
- rebuilt for protobuf-2.4.1
|
|
|
2fc141 |
|
|
|
2fc141 |
* Sun Apr 24 2011 David Robinson <zxvdr.au@gmail.com> - 0.15-2
|
|
|
2fc141 |
- Spec file cleanup
|
|
|
2fc141 |
|
|
|
2fc141 |
* Wed Apr 20 2011 David Robinson <zxvdr.au@gmail.com> - 0.15-1
|
|
|
2fc141 |
- New upstream release
|
|
|
2fc141 |
- Spec file cleanup
|
|
|
2fc141 |
|
|
|
2fc141 |
* Mon Jan 17 2011 Bobby Powers <bobby@laptop.org> - 0.14-1
|
|
|
2fc141 |
- New upstream release
|
|
|
2fc141 |
- Removed -devel dependency on protobuf-devel
|
|
|
2fc141 |
- Small specfile cleanups
|
|
|
2fc141 |
|
|
|
2fc141 |
* Wed May 19 2010 David Robinson <zxvdr.au@gmail.com> - 0.13-2
|
|
|
2fc141 |
- Spec file cleanup
|
|
|
2fc141 |
|
|
|
2fc141 |
* Wed May 19 2010 David Robinson <zxvdr.au@gmail.com> - 0.13-1
|
|
|
2fc141 |
- Initial packaging
|