]> git.pld-linux.org Git - SPECS.git/blob - libcapsinetwork.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / libcapsinetwork.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static library
4 #
5 Summary:        A network library for C++ server daemons
6 Summary(pl.UTF-8):      Sieciowa biblioteka C++ dla demonów
7 Name:           libcapsinetwork
8 Version:        0.3.0
9 Release:        3
10 License:        LGPL/GPL
11 Group:          Libraries
12 Source0:        http://robertjohnkaper.com/downloads/atlantik/%{name}-%{version}.tar.bz2
13 # Source0-md5:  47829a36d663dfe6ae8e59e16a9d0bb7
14 # redirects to http://www.robertjohnkaper.com/software/atlantik/download.html
15 URL:            http://unixcode.org/libcapsinetwork/
16 BuildRequires:  automake
17 BuildRequires:  autoconf
18 BuildRequires:  libstdc++-devel
19 BuildRequires:  libtool
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 libCapsiNetwork is a network library for C++ server daemons aimed at
24 easy development of server daemons.
25
26 %description -l pl.UTF-8
27 libCapsiNetwork jest sieciową biblioteką C++ pozwalającą w łatwy
28 sposób tworzyć demony.
29
30 %package devel
31 Summary:        libcapsinetwork header files
32 Summary(pl.UTF-8):      Pliki nagłówkowe libcapsinetwork
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35 Requires:       libstdc++-devel
36
37 %description devel
38 libcapsinetwork header files.
39
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe libcapsinetwork.
42
43 %package static
44 Summary:        libcapsinetwork static library
45 Summary(pl.UTF-8):      Statyczna biblioteka libcapsinetwork
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{version}-%{release}
48
49 %description static
50 libcapsinetwork static library.
51
52 %description static -l pl.UTF-8
53 Statyczna biblioteka libcapsinetwork.
54
55 %prep
56 %setup -q
57
58 %build
59 %{__libtoolize}
60 %{__aclocal}
61 %{__autoconf}
62 %{__automake}
63 %configure \
64         %{!?with_static_libs:--disable-static}
65
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post   -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
79
80 %files
81 %defattr(644,root,root,755)
82 %doc AUTHORS ChangeLog NEWS README TODO
83 %attr(755,root,root) %{_libdir}/libcapsinetwork.so.*.*.*
84 %attr(755,root,root) %ghost %{_libdir}/libcapsinetwork.so.0
85
86 %files devel
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/libcapsinetwork.so
89 %{_libdir}/libcapsinetwork.la
90 %{_includedir}/libcapsinetwork
91
92 %if %{with static_libs}
93 %files static
94 %defattr(644,root,root,755)
95 %{_libdir}/libcapsinetwork.a
96 %endif
This page took 0.170595 seconds and 3 git commands to generate.