b036d12
Summary: GNU Common C++ class framework
b036d12
Name: commoncpp2
f069226
Version: 1.7.3
cea42e3
Release: 2%{?dist}
2b71e88
License: GPLv2+ with exceptions
b036d12
Group: System Environment/Libraries
f069226
Source0: http://www.gnutelephony.org/dist/tarballs/commoncpp2-%{version}.tar.gz
b036d12
URL: http://www.gnu.org/software/commoncpp/
f48da4d
Patch0: commoncpp2-1.7.3-gcc44.patch
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
f48da4d
%patch0 -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
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.