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