]> git.pld-linux.org Git - packages/commoncpp2.git/blob - commoncpp2.spec
- up to 1.3.22
[packages/commoncpp2.git] / commoncpp2.spec
1 Summary:        A GNU package for creating portable C++ programs
2 Summary(pl):    Pakiet GNU do tworzenia przeno¶nych programów w C++
3 Name:           commoncpp2
4 Version:        1.3.22
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Source0:        ftp://ftp.gnu.org/pub/gnu/commoncpp/%{name}-%{version}.tar.gz
9 # Source0-md5:  b5ae9f2763b7d3c452f81cc85accc271
10 Patch0:         %{name}-Makefile.patch
11 URL:            http://www.gnu.org/software/commoncpp/
12 BuildRequires:  automake
13 BuildRequires:  doxygen
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  libxml2-devel
16 BuildRequires:  zlib-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 This is the second major release of GNU Common C++. GNU Common C++ "2"
21 is a GNU package which offers portable "abstraction" of system
22 services such as threads, networks, and sockets. GNU Common C++ "2"
23 also offers individual frameworks generally useful to developing
24 portable C++ applications including a object persistance engine, math
25 libraries, threading, sockets, etc. GNU Common C++ "2" is small, and
26 highly portable. GNU Common C++ "2" will support most Unix operating
27 systems as well as Win32, in addition to GNU/Linux.
28
29 %description -l pl
30 Drugie g³ówne wydanie GNU Common C++. GNU Common C++ oferuje przeno¶ne
31 abstrakcje us³ug systemowych takich jak w±tki, sieci i gniazda.
32 Oferuje tak¿e poszczególne szkielety u¿yteczne do rozwijania
33 przeno¶nych aplikacji C++ zawieraj±ce silnik trwa³ych obiektów,
34 biblioteki matematyczne, w±tków, gniazd itd. GNU Common C++ jest ma³y
35 i przeno¶ny. Oprócz GNU/Linuksa obs³uguje tak¿e wiêkszo¶æ uniksowych
36 systemów operacyjnych oraz Win32.
37
38 %package devel
39 Summary:        Header files for commoncpp2 library
40 Summary(pl):    Pliki nag³ówkowe biblioteki commoncpp2
41 Group:          Development/Libraries
42 Requires:       %{name} = %{version}-%{release}
43 Requires:       libstdc++-devel
44 Requires:       libxml2-devel
45 Requires:       zlib-devel
46
47 %description devel
48 Header files for commoncpp2 library.
49
50 %description devel -l pl
51 Pliki nag³ówkowe biblioteki commoncpp2.
52
53 %package static
54 Summary:        Static commoncpp2 library
55 Summary(pl):    Statyczna biblioteka commoncpp2
56 Group:          Development/Libraries
57 Requires:       %{name}-devel = %{version}-%{release}
58
59 %description static
60 Static commoncpp2 library.
61
62 %description static -l pl
63 Statyczna biblioteka commoncpp2.
64
65 %prep
66 %setup -q
67 %patch0 -p1
68
69 %build
70 %configure
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post   -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
84
85 %post devel
86 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
87
88 %postun devel
89 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
90
91 %files
92 %defattr(644,root,root,755)
93 %doc AUTHORS COPYING.addendum NEWS README TODO ChangeLog
94 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
95
96 %files devel
97 %defattr(644,root,root,755)
98 %doc doc/html/*.html doc/html/*.*g*
99 %attr(755,root,root) %{_bindir}/*
100 %attr(755,root,root) %{_libdir}/lib*.so
101 %{_libdir}/lib*.la
102 %{_includedir}/cc++2
103 %{_aclocaldir}/*.m4
104 %{_pkgconfigdir}/*.pc
105 %{_infodir}/*.info*
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/lib*.a
This page took 0.071682 seconds and 3 git commands to generate.