1 Summary: A GNU package for creating portable C++ programs
2 Summary(pl.UTF-8): Pakiet GNU do tworzenia przenośnych programów w C++
8 Source0: ftp://ftp.gnu.org/pub/gnu/commoncpp/%{name}-%{version}.tar.gz
9 # Source0-md5: f4238f9f2bba5b643238c2b0b42ef797
10 Patch0: %{name}-lt.patch
11 URL: http://www.gnu.org/software/commoncpp/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: doxygen
15 BuildRequires: libstdc++-devel
16 BuildRequires: libtool
17 BuildRequires: libxml2-devel
18 BuildRequires: openssl-devel
19 BuildRequires: zlib-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This is the second major release of GNU Common C++. GNU Common C++ "2"
24 is a GNU package which offers portable "abstraction" of system
25 services such as threads, networks, and sockets. GNU Common C++ "2"
26 also offers individual frameworks generally useful to developing
27 portable C++ applications including a object persistance engine, math
28 libraries, threading, sockets, etc. GNU Common C++ "2" is small, and
29 highly portable. GNU Common C++ "2" will support most Unix operating
30 systems as well as Win32, in addition to GNU/Linux.
32 %description -l pl.UTF-8
33 Drugie główne wydanie GNU Common C++. GNU Common C++ oferuje przenośne
34 abstrakcje usług systemowych takich jak wątki, sieci i gniazda.
35 Oferuje także poszczególne szkielety użyteczne do rozwijania
36 przenośnych aplikacji C++ zawierające silnik trwałych obiektów,
37 biblioteki matematyczne, wątków, gniazd itd. GNU Common C++ jest mały
38 i przenośny. Oprócz GNU/Linuksa obsługuje także większość uniksowych
39 systemów operacyjnych oraz Win32.
42 Summary: Header files for commoncpp2 library
43 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki commoncpp2
44 Group: Development/Libraries
45 Requires: %{name} = %{version}-%{release}
46 Requires: libstdc++-devel
47 Requires: libxml2-devel
51 Header files for commoncpp2 library.
53 %description devel -l pl.UTF-8
54 Pliki nagłówkowe biblioteki commoncpp2.
57 Summary: Static commoncpp2 library
58 Summary(pl.UTF-8): Statyczna biblioteka commoncpp2
59 Group: Development/Libraries
60 Requires: %{name}-devel = %{version}-%{release}
63 Static commoncpp2 library.
65 %description static -l pl.UTF-8
66 Statyczna biblioteka commoncpp2.
83 rm -rf $RPM_BUILD_ROOT
86 DESTDIR=$RPM_BUILD_ROOT
89 rm -rf $RPM_BUILD_ROOT
91 %post -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
94 %post devel -p /sbin/postshell
95 -/usr/sbin/fix-info-dir -c %{_infodir}
97 %postun devel -p /sbin/postshell
98 -/usr/sbin/fix-info-dir -c %{_infodir}
101 %defattr(644,root,root,755)
102 %doc AUTHORS COPYING.addendum NEWS README TODO ChangeLog
103 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
104 %ghost %{_libdir}/libccext2-1.6.so.0
105 %ghost %{_libdir}/libccgnu2-1.6.so.0
108 %defattr(644,root,root,755)
109 %doc doc/html/*.html doc/html/*.*g*
110 %attr(755,root,root) %{_bindir}/*
111 %attr(755,root,root) %{_libdir}/lib*.so
115 %{_pkgconfigdir}/*.pc
119 %defattr(644,root,root,755)