[9154] | 1 | Summary: GNU Common C++ class framework |
---|
| 2 | Summary(ja): GNU 共通 C++ クラスフレームワーク |
---|
| 3 | Name: commoncpp2 |
---|
| 4 | Version: 1.8.1 |
---|
[10525] | 5 | Release: 2%{?_dist_release} |
---|
[9154] | 6 | |
---|
| 7 | License: GPLv2+ with exceptions |
---|
| 8 | Group: System Environment/Libraries |
---|
| 9 | URL: http://www.gnu.org/software/commoncpp/ |
---|
| 10 | |
---|
| 11 | Source0: https://ftp.gnu.org/gnu/commoncpp/commoncpp2-%{version}.tar.gz |
---|
| 12 | Patch1: commoncpp2-1.8.1-statfix.patch |
---|
| 13 | |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | BuildRequires: libxml2-devel |
---|
| 16 | BuildRequires: zlib-devel |
---|
| 17 | BuildRequires: doxygen |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | GNU Common C++ is a portable and highly optimized class framework for writing |
---|
| 21 | C++ applications that need to use threads, sockets, XML parsing, |
---|
| 22 | serialization, config files, etc. This framework offers a class foundation |
---|
| 23 | that hides platform differences from your C++ application so that you need |
---|
| 24 | not write platform specific code. GNU Common C++ has been ported to compile |
---|
| 25 | natively on most platforms which support posix threads. |
---|
| 26 | |
---|
| 27 | %package devel |
---|
| 28 | Summary: Header files and libraries for %{name} development |
---|
| 29 | Summary(ja): %{name} での開発に必要なヘッダファイルとライブラリ |
---|
| 30 | Group: Development/Libraries |
---|
| 31 | Requires: %{name} = %{version}-%{release} |
---|
| 32 | Requires: pkgconfig |
---|
| 33 | Requires: libxml2-devel |
---|
| 34 | Requires: zlib-devel |
---|
| 35 | Requires(post): /sbin/install-info |
---|
| 36 | Requires(preun): /sbin/install-info |
---|
| 37 | |
---|
| 38 | %description devel |
---|
| 39 | The %{name}-devel package contains the header files and libraries needed |
---|
| 40 | to develop programs that use the %{name} library. |
---|
| 41 | |
---|
| 42 | %package doc |
---|
| 43 | Summary: Documents for the %{name} library |
---|
| 44 | Group: Documentation |
---|
| 45 | Requires: %{name} = %{version}-%{release} |
---|
| 46 | BuildArch: noarch |
---|
| 47 | |
---|
| 48 | %description doc |
---|
| 49 | The %{name}-doc package provide documents for zinnia library that |
---|
| 50 | use %{name}. |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %prep |
---|
| 55 | %setup -q |
---|
| 56 | #patch0 -p1 |
---|
| 57 | %patch1 -p1 |
---|
| 58 | |
---|
| 59 | %build |
---|
| 60 | %configure \ |
---|
| 61 | --disable-static \ |
---|
| 62 | --disable-dependency-tracking |
---|
| 63 | %{__make} #%%{?_smp_mflags} smp building disabled |
---|
| 64 | |
---|
| 65 | %install |
---|
| 66 | rm -rf $RPM_BUILD_ROOT |
---|
| 67 | make install DESTDIR=%{buildroot} |
---|
| 68 | rm -f %{buildroot}%{_infodir}/dir |
---|
| 69 | find %{buildroot} -name '*.la' -exec rm -f {} \; |
---|
| 70 | |
---|
| 71 | %clean |
---|
| 72 | rm -rf $RPM_BUILD_ROOT |
---|
| 73 | |
---|
| 74 | %post -p /sbin/ldconfig |
---|
| 75 | |
---|
| 76 | %post -n %{name}-devel |
---|
| 77 | /sbin/install-info %{_infodir}/commoncpp2.info %{_infodir}/dir || : |
---|
| 78 | |
---|
| 79 | %preun -n %{name}-devel |
---|
| 80 | if [ $1 = 0 ]; then |
---|
| 81 | /sbin/install-info --delete %{_infodir}/commoncpp2.info %{_infodir}/dir || : |
---|
| 82 | fi |
---|
| 83 | |
---|
| 84 | %postun -p /sbin/ldconfig |
---|
| 85 | |
---|
| 86 | %files |
---|
| 87 | %defattr(-,root,root,-) |
---|
| 88 | %doc COPYING README ChangeLog |
---|
| 89 | %{_libdir}/*.so.* |
---|
| 90 | |
---|
| 91 | %files devel |
---|
| 92 | %defattr(-,root,root,-) |
---|
| 93 | %dir %{_includedir}/cc++ |
---|
| 94 | %{_includedir}/cc++/* |
---|
| 95 | %{_bindir}/ccgnu2-config |
---|
| 96 | %{_libdir}/*.so |
---|
| 97 | %{_libdir}/pkgconfig/libccext2.pc |
---|
| 98 | %{_libdir}/pkgconfig/libccgnu2.pc |
---|
| 99 | %{_datadir}/aclocal/ost_check2.m4 |
---|
| 100 | %{_infodir}/commoncpp2.info* |
---|
| 101 | |
---|
| 102 | %files doc |
---|
| 103 | %defattr(-,root,root,-) |
---|
| 104 | %doc doc/html |
---|
| 105 | |
---|
| 106 | %changelog |
---|
[10525] | 107 | * Sun Jul 03 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.8.1-2 |
---|
| 108 | - rebuild with gcc-5.4.0 |
---|
| 109 | |
---|
[9154] | 110 | * Sun Dec 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.8.1-1 |
---|
| 111 | - updated to 1.8.1 |
---|
| 112 | - added Patch1 from FC |
---|
| 113 | - split documents into subpackage |
---|
| 114 | |
---|
| 115 | * Sun Jun 3 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.8.0-2 |
---|
| 116 | - rebuilt with rpm-4.8.1-3 |
---|
| 117 | |
---|
| 118 | * Sat May 8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.8.0-1 |
---|
| 119 | - Initial build for Vine Linux |
---|
| 120 | |
---|
| 121 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.3-2 |
---|
| 122 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 123 | |
---|
| 124 | * Mon Apr 06 2009 Andreas Thienemann <andreas@bawue.net> - 1.7.3-1 |
---|
| 125 | - Updated to new upstream version 1.7.3 |
---|
| 126 | |
---|
| 127 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-3 |
---|
| 128 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 129 | |
---|
| 130 | * Tue Jul 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.6.1-2 |
---|
| 131 | - fix license tag |
---|
| 132 | |
---|
| 133 | * Wed Feb 06 2008 Andreas Thienemann <andreas@bawue.net> - 1.6.1-1 |
---|
| 134 | - Updated to new upstream version 1.6.1 |
---|
| 135 | - Reverted the ld-check patch as it's no longer needed |
---|
| 136 | |
---|
| 137 | * Fri Nov 10 2006 Andreas Thienemann <andreas@bawue.net> - 1.5.0-1 |
---|
| 138 | - Updated package to 1.5.0 |
---|
| 139 | |
---|
| 140 | * Sun May 28 2006 Andreas Thienemann <andreas@bawue.net> - 1.4.2-1 |
---|
| 141 | - Updated to 1.4.2 |
---|
| 142 | |
---|
| 143 | * Sun May 28 2006 Andreas Thienemann <andreas@bawue.net> - 1.4.1-1 |
---|
| 144 | - Updated to 1.4.1 |
---|
| 145 | |
---|
| 146 | * Sun Feb 05 2006 Andreas Thienemann <andreas@bawue.net> - 1.3.23-1 |
---|
| 147 | - Incorporated suggestions for extras |
---|
| 148 | |
---|
| 149 | * Fri Feb 03 2006 Andreas Thienemann <andreas@bawue.net> - 1.3.22-1 |
---|
| 150 | - Initial spec. |
---|