]> git.pld-linux.org Git - packages/dftpd.git/blob - dftpd.spec
453133f81718d6d8e447d2b59e8d508147d6824b
[packages/dftpd.git] / dftpd.spec
1 Summary:        Standalone FTP server
2 Summary(pl):    Samodzielny serwer FTP
3 Name:           dftpd
4 Version:        1.3
5 Release:        1
6 License:        GPL
7 Group:          Networking/Daemons
8 Source0:        http://www.karico.fi/dpfs/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  d03fa11049f1b09c019615e9ad2df58d
10 Patch0:         %{name}-fix.patch
11 URL:            http://www.karico.fi/dpfs/
12 BuildRequires:  ncurses-devel
13 Requires(post): fileutils
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 A versatile, easily configurable FTP server featuring web based
18 administration. Requires no modifications to system configuration
19 files.
20
21 %description -l pl
22 Wielofunkcyjny, ³atwy w konfiguracji serwer FTP, którym administracja
23 odbywa siê za pomoc± interfejsu WWW. Nie wymaga modyfikacji plików
24 systemowych.
25
26 %prep
27 %setup -q
28 %patch0 -p1
29
30 %build
31 %{__make} \
32         CC="%{__cc}" \
33         CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 %{__make} install \
39         BINDIR=$RPM_BUILD_ROOT%{_bindir} \
40         CONFDIR=$RPM_BUILD_ROOT%{_sysconfdir}/dftpd \
41         DOCSDIR="`pwd`/docs"
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %post
47 touch /etc/dftpd/utmp.dftp
48 chmod 0640 /etc/dftpd/utmp.dftp
49
50 %files
51 %defattr(644,root,root,755)
52 %doc BUGS CHANGES README TODO
53 %attr(755,root,root) %{_bindir}/*
54 %dir %{_sysconfdir}/dftpd
55 %dir %{_sysconfdir}/dftpd/sview
56 %attr(755,root,root) %{_sysconfdir}/dftpd/plugins
57 %attr(640,root,root) %ghost %{_sysconfdir}/dftpd/utmp.dftp
58 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dftpd/dftpd.conf
59 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dftpd/passwd.dftp
60 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dftpd/group.dftp
This page took 0.043494 seconds and 2 git commands to generate.