]> git.pld-linux.org Git - packages/dftpd.git/blame - dftpd.spec
- tabs in preamble
[packages/dftpd.git] / dftpd.spec
CommitLineData
ef368b73 1Summary: Standalone FTP server
504ca548 2Summary(pl.UTF-8): Samodzielny serwer FTP
c117cc10 3Name: dftpd
4Version: 1.3
5Release: 1
6License: GPL
c117cc10 7Group: Networking/Daemons
3c6089da 8Source0: http://www.karico.fi/dpfs/files/%{name}-%{version}.tar.gz
5f07c5e0 9# Source0-md5: d03fa11049f1b09c019615e9ad2df58d
77689f0e 10Patch0: %{name}-fix.patch
3c6089da 11URL: http://www.karico.fi/dpfs/
77689f0e
JB
12BuildRequires: ncurses-devel
13Requires(post): fileutils
c5a69454 14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
bc3d6561 15
16%description
ef368b73 17A versatile, easily configurable FTP server featuring web based
c117cc10 18administration. Requires no modifications to system configuration
19files.
bc3d6561 20
08fac013
JR
21%description -l pl.UTF-8
22Wielofunkcyjny, łatwy w konfiguracji serwer FTP, którym administracja
23odbywa się za pomocą interfejsu WWW. Nie wymaga modyfikacji plików
1b1271cc 24systemowych.
25
c5a69454 26%prep
27%setup -q
212c9c98 28%patch0 -p1
c5a69454 29
bc3d6561 30%build
77689f0e
JB
31%{__make} \
32 CC="%{__cc}" \
33 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
bc3d6561 34
35%install
c117cc10 36rm -rf $RPM_BUILD_ROOT
77689f0e
JB
37
38%{__make} install \
39 BINDIR=$RPM_BUILD_ROOT%{_bindir} \
40 CONFDIR=$RPM_BUILD_ROOT%{_sysconfdir}/dftpd \
41 DOCSDIR="`pwd`/docs"
bc3d6561 42
3c6089da
JB
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%post
47touch /etc/dftpd/utmp.dftp
48chmod 0640 /etc/dftpd/utmp.dftp
49
bc3d6561 50%files
c117cc10 51%defattr(644,root,root,755)
77689f0e
JB
52%doc BUGS CHANGES README TODO
53%attr(755,root,root) %{_bindir}/*
c117cc10 54%dir %{_sysconfdir}/dftpd
55%dir %{_sysconfdir}/dftpd/sview
77689f0e
JB
56%attr(755,root,root) %{_sysconfdir}/dftpd/plugins
57%attr(640,root,root) %ghost %{_sysconfdir}/dftpd/utmp.dftp
16b635f8
ER
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.086923 seconds and 4 git commands to generate.