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