|
@@ -0,0 +1,147 @@
|
|
|
+Summary: GNU Common C++ class framework
|
|
|
+Summary(ja): GNU 共通 C++ クラスフレームワーク
|
|
|
+Name: commoncpp2
|
|
|
+Version: 1.8.1
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+
|
|
|
+License: GPLv2+ with exceptions
|
|
|
+Group: System Environment/Libraries
|
|
|
+URL: http://www.gnu.org/software/commoncpp/
|
|
|
+
|
|
|
+Source0: https://ftp.gnu.org/gnu/commoncpp/commoncpp2-%{version}.tar.gz
|
|
|
+Patch1: commoncpp2-1.8.1-statfix.patch
|
|
|
+
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
+BuildRequires: libxml2-devel
|
|
|
+BuildRequires: zlib-devel
|
|
|
+BuildRequires: doxygen
|
|
|
+
|
|
|
+%description
|
|
|
+GNU Common C++ is a portable and highly optimized class framework for writing
|
|
|
+C++ applications that need to use threads, sockets, XML parsing,
|
|
|
+serialization, config files, etc. This framework offers a class foundation
|
|
|
+that hides platform differences from your C++ application so that you need
|
|
|
+not write platform specific code. GNU Common C++ has been ported to compile
|
|
|
+natively on most platforms which support posix threads.
|
|
|
+
|
|
|
+%package devel
|
|
|
+Summary: Header files and libraries for %{name} development
|
|
|
+Summary(ja): %{name} での開発に必要なヘッダファイルとライブラリ
|
|
|
+Group: Development/Libraries
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
+Requires: pkgconfig
|
|
|
+Requires: libxml2-devel
|
|
|
+Requires: zlib-devel
|
|
|
+Requires(post): /sbin/install-info
|
|
|
+Requires(preun): /sbin/install-info
|
|
|
+
|
|
|
+%description devel
|
|
|
+The %{name}-devel package contains the header files and libraries needed
|
|
|
+to develop programs that use the %{name} library.
|
|
|
+
|
|
|
+%package doc
|
|
|
+Summary: Documents for the %{name} library
|
|
|
+Group: Documentation
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
+BuildArch: noarch
|
|
|
+
|
|
|
+%description doc
|
|
|
+The %{name}-doc package provide documents for zinnia library that
|
|
|
+use %{name}.
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+%prep
|
|
|
+%setup -q
|
|
|
+#patch0 -p1
|
|
|
+%patch1 -p1
|
|
|
+
|
|
|
+%build
|
|
|
+%configure \
|
|
|
+ --disable-static \
|
|
|
+ --disable-dependency-tracking
|
|
|
+%{__make} #%%{?_smp_mflags} smp building disabled
|
|
|
+
|
|
|
+%install
|
|
|
+rm -rf $RPM_BUILD_ROOT
|
|
|
+make install DESTDIR=%{buildroot}
|
|
|
+rm -f %{buildroot}%{_infodir}/dir
|
|
|
+find %{buildroot} -name '*.la' -exec rm -f {} \;
|
|
|
+
|
|
|
+%clean
|
|
|
+rm -rf $RPM_BUILD_ROOT
|
|
|
+
|
|
|
+%post -p /sbin/ldconfig
|
|
|
+
|
|
|
+%post -n %{name}-devel
|
|
|
+/sbin/install-info %{_infodir}/commoncpp2.info %{_infodir}/dir || :
|
|
|
+
|
|
|
+%preun -n %{name}-devel
|
|
|
+if [ $1 = 0 ]; then
|
|
|
+ /sbin/install-info --delete %{_infodir}/commoncpp2.info %{_infodir}/dir || :
|
|
|
+fi
|
|
|
+
|
|
|
+%postun -p /sbin/ldconfig
|
|
|
+
|
|
|
+%files
|
|
|
+%defattr(-,root,root,-)
|
|
|
+%doc COPYING README ChangeLog
|
|
|
+%{_libdir}/*.so.*
|
|
|
+
|
|
|
+%files devel
|
|
|
+%defattr(-,root,root,-)
|
|
|
+%dir %{_includedir}/cc++
|
|
|
+%{_includedir}/cc++/*
|
|
|
+%{_bindir}/ccgnu2-config
|
|
|
+%{_libdir}/*.so
|
|
|
+%{_libdir}/pkgconfig/libccext2.pc
|
|
|
+%{_libdir}/pkgconfig/libccgnu2.pc
|
|
|
+%{_datadir}/aclocal/ost_check2.m4
|
|
|
+%{_infodir}/commoncpp2.info*
|
|
|
+
|
|
|
+%files doc
|
|
|
+%defattr(-,root,root,-)
|
|
|
+%doc doc/html
|
|
|
+
|
|
|
+%changelog
|
|
|
+* Sun Dec 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.8.1-1
|
|
|
+- updated to 1.8.1
|
|
|
+- added Patch1 from FC
|
|
|
+- split documents into subpackage
|
|
|
+
|
|
|
+* Sun Jun 3 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.8.0-2
|
|
|
+- rebuilt with rpm-4.8.1-3
|
|
|
+
|
|
|
+* Sat May 8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.8.0-1
|
|
|
+- Initial build for Vine Linux
|
|
|
+
|
|
|
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.3-2
|
|
|
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
+
|
|
|
+* Mon Apr 06 2009 Andreas Thienemann <andreas@bawue.net> - 1.7.3-1
|
|
|
+- Updated to new upstream version 1.7.3
|
|
|
+
|
|
|
+* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-3
|
|
|
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
+
|
|
|
+* Tue Jul 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.6.1-2
|
|
|
+- fix license tag
|
|
|
+
|
|
|
+* Wed Feb 06 2008 Andreas Thienemann <andreas@bawue.net> - 1.6.1-1
|
|
|
+- Updated to new upstream version 1.6.1
|
|
|
+- Reverted the ld-check patch as it's no longer needed
|
|
|
+
|
|
|
+* Fri Nov 10 2006 Andreas Thienemann <andreas@bawue.net> - 1.5.0-1
|
|
|
+- Updated package to 1.5.0
|
|
|
+
|
|
|
+* Sun May 28 2006 Andreas Thienemann <andreas@bawue.net> - 1.4.2-1
|
|
|
+- Updated to 1.4.2
|
|
|
+
|
|
|
+* Sun May 28 2006 Andreas Thienemann <andreas@bawue.net> - 1.4.1-1
|
|
|
+- Updated to 1.4.1
|
|
|
+
|
|
|
+* Sun Feb 05 2006 Andreas Thienemann <andreas@bawue.net> - 1.3.23-1
|
|
|
+- Incorporated suggestions for extras
|
|
|
+
|
|
|
+* Fri Feb 03 2006 Andreas Thienemann <andreas@bawue.net> - 1.3.22-1
|
|
|
+- Initial spec.
|