Added protobuf-c-compiler subpackage to reduce runtime
This commit is contained in:
parent
78a75ceac1
commit
ac6ecb8338
@ -1,6 +1,6 @@
|
||||
Name: protobuf-c
|
||||
Version: 1.1.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: C bindings for Google's Protocol Buffers
|
||||
|
||||
|
||||
@ -18,10 +18,20 @@ 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
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{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
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-compiler = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains protobuf-c headers and libraries.
|
||||
@ -46,10 +56,13 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libprotobuf-c.la
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/protoc-c
|
||||
%{_libdir}/libprotobuf-c.so.*
|
||||
%doc TODO LICENSE ChangeLog
|
||||
|
||||
%files compiler
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/protoc-c
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_includedir}/google
|
||||
@ -58,7 +71,11 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libprotobuf-c.la
|
||||
%{_libdir}/libprotobuf-c.so
|
||||
%{_libdir}/pkgconfig/libprotobuf-c.pc
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Nov 25 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.1.1-3
|
||||
- Added protobuf-c-compiler subpackage to reduce runtime
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user