]> git.pld-linux.org Git - packages/courier-sox.git/blob - courier-sox.spec
- added missing BR: libltdl-devel (by Zbyniu Krzystolik)
[packages/courier-sox.git] / courier-sox.spec
1 #
2 # TODO:
3 #       - fix build (undefined @LIBNAME@)
4 #
5 Summary:        Courier Socks 5 client library
6 Summary(pl):    Biblioteki klienckie Socks 5
7 Name:           courier-sox
8 Version:        0.03
9 Release:        0.1
10 License:        GPL
11 Group:          Networking/Daemons
12 Source0:        http://dl.sourceforge.net/courier/%{name}-%{version}.tar.bz2
13 # Source0-md5:  864511941045f8d4b2517de9e9c660f1
14 URL:            http://www.courier-mta.org
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libtool
18 BuildRequires:  libltdl-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This is a generic Socks 5 client support library. It does not include
23 a Socks 5 server (yet). This is just a client-side library.
24
25 %description -l pl
26 Ogólna biblioteka kliencka Socks 5. Nie zawiera (jeszcze) serwera
27 Socks 5, jest tylko bibliotek± dla strony klienta.
28
29 %package devel
30 Summary:        Socks 5 client header files
31 Summary(pl):    Pliki nag³ówkowe klienta socks 5
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34
35 %description devel
36 This package contains header files for building applications that
37 use Socks 5 proxies.
38
39 %description devel -l pl
40 Ten pakiet zawiera pliki nag³ówkowe do tworzenia aplikacji u¿ywaj±cych
41 proxy Socks 5.
42
43 %package static
44 Summary:        Socks 5 client static libraries
45 Summary(pl):    Biblioteki statyczne klienta socks 5
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{version}-%{release}
48
49 %description static
50 This package contains static libraries for building applications that
51 use Socks 5 proxies.
52
53 %description static -l pl
54 Ten pakiet zawiera biblioteki statyczne do tworzenia aplikacji
55 u¿ywaj±cych proxy Socks 5.
56
57 %prep
58 %setup -q
59
60 %build
61 %{__libtoolize}
62 %{__aclocal}
63 %{__autoconf}
64 %{__autoheader}
65 %{__automake}
66 %configure
67
68 %{__make}
69 %{__make} check
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files
84 %defattr(644,root,root,755)
85 %doc AUTHORS ChangeLog NEWS README *.html
86 %attr(755,root,root) %{_bindir}/*
87 %attr(755,root,root) %{_libdir}/lib*.so.*.*
88 %{_mandir}/*/*
89 %{_sysconfdir}/*
90
91 %files devel
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/lib*.so
94 %{_libdir}/lib*.la
95 %{_includedir}/*
96
97 %files static
98 %defattr(644,root,root,755)
99 %{_libdir}/lib*.a
This page took 0.104084 seconds and 3 git commands to generate.