Blame SPECS/protobuf-c.spec

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