]>
Commit | Line | Data |
---|---|---|
3ef9580c | 1 | Summary: A GNU package for creating portable C++ programs |
8c8acc7d | 2 | Summary(pl.UTF-8): Pakiet GNU do tworzenia przenośnych programów w C++ |
3ef9580c | 3 | Name: commoncpp2 |
92f973d4 | 4 | Version: 1.6.2 |
3ef9580c | 5 | Release: 1 |
6 | License: GPL | |
7 | Group: Libraries | |
7c7445ba | 8 | Source0: ftp://ftp.gnu.org/pub/gnu/commoncpp/%{name}-%{version}.tar.gz |
92f973d4 | 9 | # Source0-md5: f564340284125bde66b43abb4aca2bf0 |
7c7445ba | 10 | URL: http://www.gnu.org/software/commoncpp/ |
4a331386 | 11 | BuildRequires: autoconf |
7c7445ba | 12 | BuildRequires: automake |
3ef9580c | 13 | BuildRequires: doxygen |
14 | BuildRequires: libstdc++-devel | |
e131c2a8 | 15 | BuildRequires: libtool |
3ef9580c | 16 | BuildRequires: libxml2-devel |
4a331386 | 17 | BuildRequires: openssl-devel |
3ef9580c | 18 | BuildRequires: zlib-devel |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | This is the second major release of GNU Common C++. GNU Common C++ "2" | |
23 | is a GNU package which offers portable "abstraction" of system | |
24 | services such as threads, networks, and sockets. GNU Common C++ "2" | |
25 | also offers individual frameworks generally useful to developing | |
26 | portable C++ applications including a object persistance engine, math | |
27 | libraries, threading, sockets, etc. GNU Common C++ "2" is small, and | |
28 | highly portable. GNU Common C++ "2" will support most Unix operating | |
1abd0668 | 29 | systems as well as Win32, in addition to GNU/Linux. |
3ef9580c | 30 | |
06c607b2 JR |
31 | %description -l pl.UTF-8 |
32 | Drugie główne wydanie GNU Common C++. GNU Common C++ oferuje przenośne | |
33 | abstrakcje usług systemowych takich jak wątki, sieci i gniazda. | |
34 | Oferuje także poszczególne szkielety użyteczne do rozwijania | |
35 | przenośnych aplikacji C++ zawierające silnik trwałych obiektów, | |
36 | biblioteki matematyczne, wątków, gniazd itd. GNU Common C++ jest mały | |
37 | i przenośny. Oprócz GNU/Linuksa obsługuje także większość uniksowych | |
38 | systemów operacyjnych oraz Win32. | |
17bc0025 | 39 | |
3ef9580c | 40 | %package devel |
41 | Summary: Header files for commoncpp2 library | |
8c8acc7d | 42 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki commoncpp2 |
3ef9580c | 43 | Group: Development/Libraries |
44 | Requires: %{name} = %{version}-%{release} | |
45 | Requires: libstdc++-devel | |
46 | Requires: libxml2-devel | |
47 | Requires: zlib-devel | |
48 | ||
49 | %description devel | |
50 | Header files for commoncpp2 library. | |
51 | ||
06c607b2 JR |
52 | %description devel -l pl.UTF-8 |
53 | Pliki nagłówkowe biblioteki commoncpp2. | |
3ef9580c | 54 | |
55 | %package static | |
56 | Summary: Static commoncpp2 library | |
8c8acc7d | 57 | Summary(pl.UTF-8): Statyczna biblioteka commoncpp2 |
3ef9580c | 58 | Group: Development/Libraries |
59 | Requires: %{name}-devel = %{version}-%{release} | |
60 | ||
61 | %description static | |
62 | Static commoncpp2 library. | |
63 | ||
06c607b2 | 64 | %description static -l pl.UTF-8 |
3ef9580c | 65 | Statyczna biblioteka commoncpp2. |
66 | ||
67 | %prep | |
68 | %setup -q | |
69 | ||
70 | %build | |
e131c2a8 | 71 | %{__libtoolize} |
4a331386 | 72 | %{__aclocal} -I m4 |
4a331386 | 73 | %{__autoconf} |
e131c2a8 | 74 | %{__autoheader} |
75 | %{__automake} | |
4a331386 AM |
76 | %configure \ |
77 | --with-openssl | |
3ef9580c | 78 | %{__make} |
79 | ||
80 | %install | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %{__make} install \ | |
84 | DESTDIR=$RPM_BUILD_ROOT | |
85 | ||
86 | %clean | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %post -p /sbin/ldconfig | |
90 | %postun -p /sbin/ldconfig | |
91 | ||
2485d124 ER |
92 | %post devel -p /sbin/postshell |
93 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
3ef9580c | 94 | |
2485d124 ER |
95 | %postun devel -p /sbin/postshell |
96 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
3ef9580c | 97 | |
98 | %files | |
99 | %defattr(644,root,root,755) | |
100 | %doc AUTHORS COPYING.addendum NEWS README TODO ChangeLog | |
101 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
92f973d4 | 102 | %ghost %{_libdir}/libccext2-1.6.so.0 |
103 | %ghost %{_libdir}/libccgnu2-1.6.so.0 | |
3ef9580c | 104 | |
105 | %files devel | |
106 | %defattr(644,root,root,755) | |
107 | %doc doc/html/*.html doc/html/*.*g* | |
108 | %attr(755,root,root) %{_bindir}/* | |
109 | %attr(755,root,root) %{_libdir}/lib*.so | |
110 | %{_libdir}/lib*.la | |
8bab2ee7 | 111 | %{_includedir}/cc++ |
3ef9580c | 112 | %{_aclocaldir}/*.m4 |
113 | %{_pkgconfigdir}/*.pc | |
1abd0668 | 114 | %{_infodir}/*.info* |
3ef9580c | 115 | |
116 | %files static | |
117 | %defattr(644,root,root,755) | |
118 | %{_libdir}/lib*.a |