]> git.pld-linux.org Git - SPECS.git/blob - muddleftpd-authlibmysql.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / muddleftpd-authlibmysql.spec
1 %define         shortname       authlibmysql
2 Summary:        Library to MySQL authentication for muddleftpd
3 Summary(pl.UTF-8):      Biblioteka autentykacji MySQL dla muddleftpd
4 Name:           muddleftpd-authlibmysql
5 Version:        0.1
6 Release:        3.1
7 License:        GPL
8 Group:          Daemons
9 Source0:        http://www.arach.net.au/~wildfire/muddleftpd/modules/%{shortname}-%{version}.tar.gz
10 # Source0-md5:  7abbc5e21b08fbdddbb20fb9fd4ba837
11 Patch0:         %{shortname}-paths.patch
12 Patch1:         %{shortname}-vmailpwd.patch
13 URL:            http://www.muddleftpd.cx/
14 BuildRequires:  autoconf
15 BuildRequires:  mysql-static
16 Requires:       muddleftpd
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _pkglibdir              %{_libdir}/muddle
20
21 %description
22 This module allows muddleftpd authenticate using a MySQL server. This
23 module will read client information from a supplied table/database
24 within MySQL.
25
26 %description -l pl.UTF-8
27 Ten moduł pozwala muddleftpd autentykować użytkowników przy użyciu
28 serwera MySQL. Moduł czyta informacje o kliencie z podanej tabeli/bazy
29 MySQL.
30
31 %prep
32 %setup -q -n %{shortname}-%{version}
33 %patch0 -p 1
34 %patch1 -p 1
35
36 %build
37 %{__autoconf}
38 %configure \
39         --with-mysql=%{_prefix}
40 %{__make} LIBS="-lmysqlclient"
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -D libauthmysql.so $RPM_BUILD_ROOT%{_pkglibdir}/libauthmysql.so
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc AUTHORS CHANGES README*
52 %attr(750,root,root) %{_pkglibdir}/libauthmysql.so
This page took 0.226828 seconds and 3 git commands to generate.