b036d12
Summary: GNU Common C++ class framework
b036d12
Name: commoncpp2
1d85fce
Version: 1.8.1
a46134a
Release: 11%{?dist}
2b71e88
License: GPLv2+ with exceptions
b036d12
Group: System Environment/Libraries
f069226
Source0: http://www.gnutelephony.org/dist/tarballs/commoncpp2-%{version}.tar.gz
1d85fce
Patch1: commoncpp2-1.8.1-statfix.patch
b036d12
URL: http://www.gnu.org/software/commoncpp/
b036d12
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
b036d12
BuildRequires: libxml2-devel, zlib-devel, doxygen
b036d12
b036d12
%description
b036d12
GNU Common C++ is a portable and highly optimized class framework for writing
b036d12
C++ applications that need to use threads, sockets, XML parsing,
b036d12
serialization, config files, etc. This framework offers a class foundation
b036d12
that hides platform differences from your C++ application so that you need
b036d12
not write platform specific code. GNU Common C++ has been ported to compile
b036d12
natively on most platforms which support posix threads.
b036d12
b036d12
%package devel
b036d12
Summary: Header files and libraries for %{name} development
b036d12
Group: Development/Libraries
b036d12
Requires: %{name} = %{version}-%{release}
b036d12
Requires: pkgconfig, libxml2-devel, zlib-devel
b036d12
Requires(post): /sbin/install-info
b036d12
Requires(preun): /sbin/install-info
b036d12
b036d12
%description devel
b036d12
The %{name}-devel package contains the header files and libraries needed
b036d12
to develop programs that use the %{name} library.
b036d12
b036d12
b036d12
%prep
b036d12
%setup -q
1d85fce
1d85fce
%patch1 -p1
b036d12
b036d12
%build
b036d12
%configure \
b036d12
	--disable-static \
b036d12
	--disable-dependency-tracking
914448f
%{__make} #%%{?_smp_mflags} smp building disabled
b036d12
b036d12
%install
b036d12
rm -rf $RPM_BUILD_ROOT
b036d12
make install DESTDIR=%{buildroot}
b036d12
rm -f %{buildroot}%{_infodir}/dir
b036d12
find %{buildroot} -name '*.la' -exec rm -f {} \;
b036d12
b036d12
%clean
b036d12
rm -rf $RPM_BUILD_ROOT
b036d12
b036d12
%post -p /sbin/ldconfig
b036d12
b036d12
%post -n %{name}-devel
b036d12
/sbin/install-info %{_infodir}/commoncpp2.info %{_infodir}/dir || :
b036d12
b036d12
%preun -n %{name}-devel
b036d12
if [ $1 = 0 ]; then
b036d12
    /sbin/install-info --delete %{_infodir}/commoncpp2.info %{_infodir}/dir || :
b036d12
fi
b036d12
b036d12
%postun -p /sbin/ldconfig
b036d12
b036d12
%files
b036d12
%defattr(-,root,root,-)
b036d12
%doc COPYING README ChangeLog
b036d12
%{_libdir}/*.so.*
b036d12
b036d12
%files devel
b036d12
%defattr(-,root,root,-)
b036d12
%doc doc/html
07cbb6c
%dir %{_includedir}/cc++
07cbb6c
%{_includedir}/cc++/*
b036d12
%{_bindir}/ccgnu2-config
b036d12
%{_libdir}/*.so
b036d12
%{_libdir}/pkgconfig/libccext2.pc
b036d12
%{_libdir}/pkgconfig/libccgnu2.pc
b036d12
%{_datadir}/aclocal/ost_check2.m4
b036d12
%{_infodir}/commoncpp2.info*
b036d12
b036d12
%changelog
a46134a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-11
a46134a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a46134a
93cae3c
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-10
93cae3c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
93cae3c
d007ff9
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.1-9
d007ff9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d007ff9
7836e50
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.8.1-8
7836e50
- Rebuilt for GCC 5 C++11 ABI change
7836e50
2e4c05a
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.1-7
2e4c05a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2e4c05a
a3cf1a1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.1-6
a3cf1a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a3cf1a1
a0d40f7
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.1-5
a0d40f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a0d40f7
6461910
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.1-4
6461910
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6461910
7277d46
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.1-3
7277d46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7277d46
178841b
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.1-2
178841b
- Rebuilt for c++ ABI breakage
178841b
1d85fce
* Sun Jan 22 2012 Kevin Fenzi <kevin@scrye.com> - 1.8.1-1
1d85fce
- Update to 1.8.1
1d85fce
3e67556
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.3-4
3e67556
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3e67556
ccda15e
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.3-3
ccda15e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ccda15e
cea42e3
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.3-2
cea42e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
cea42e3
f069226
* Mon Apr 06 2009 Andreas Thienemann <andreas@bawue.net> - 1.7.3-1
f069226
- Updated to new upstream version 1.7.3
f069226
39cba8b
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-3
39cba8b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
39cba8b
2b71e88
* Tue Jul 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.6.1-2
2b71e88
- fix license tag
2b71e88
38c0d73
* Wed Feb 06 2008 Andreas Thienemann <andreas@bawue.net> - 1.6.1-1
38c0d73
- Updated to new upstream version 1.6.1
38c0d73
- Reverted the ld-check patch as it's no longer needed
38c0d73
a96a268
* Fri Nov 10 2006 Andreas Thienemann <andreas@bawue.net> - 1.5.0-1
a96a268
- Updated package to 1.5.0
a96a268
0da6e46
* Sun May 28 2006 Andreas Thienemann <andreas@bawue.net> - 1.4.2-1
0da6e46
- Updated to 1.4.2
0da6e46
0da6e46
* Sun May 28 2006 Andreas Thienemann <andreas@bawue.net> - 1.4.1-1
07cbb6c
- Updated to 1.4.1
07cbb6c
0da6e46
* Sun Feb 05 2006 Andreas Thienemann <andreas@bawue.net> - 1.3.23-1
b036d12
- Incorporated suggestions for extras
b036d12
0da6e46
* Fri Feb 03 2006 Andreas Thienemann <andreas@bawue.net> - 1.3.22-1
b036d12
- Initial spec.