1%define    name    bftpd
2%define    version 1.7
3%define    release 1
4%define    prefix  /usr
5
6Summary:   A small, fast and easy-to-configure FTP server.
7Name:      %{name}
8Version:   %{version}
9Release:   %{release}
10License:   GPL
11Group:     System Environment/Daemons
12Vendor:    Jesse Smith <jessefrgsmith@yahoo.ca>
13URL:       http://bftpd.sourceforge.net/
14Source0:   http://bftpd.sourceforge.net/downloads/rpm/%{name}-%{version}.tar.gz
15BuildArch: i386
16#BuildRoot: /var/tmp/%{name}-root
17Provides:  bftpd
18
19%description
20A very configurable small FTP server
21bftpd is a easy-to-configure and small FTP server that supports chroot
22without special directory preparation or configuration. Most FTP commands
23are supported.
24
25%prep
26%setup
27
28%build
29make
30
31%install
32make install
33
34%clean
35rm -rf "$RPM_BUILD_ROOT"
36
37%files
38%defattr(-,root,root)
39%config(noreplace) %verify(not mtime) /etc/bftpd.conf
40%{prefix}/sbin/bftpd
41%{prefix}/share/man/man8/bftpd.8
42
43%changelog
44* Mon Jan 1 2007 Joe Klemmer <joe@webtrek.com>
45- updated the version number.
46* Mon Jan 9 2006 Joe Klemmer <joe@webtrek.com>
47- added defined variables to the top of the file.
48- set the config file in the %files section so it won't
49  be over written on upgrades.
50- added a default attributes to the %files section.
51- redid the summery section to bring it in line with "rpm
52  spec file standards" (an oxymoron if ever there was one).
53- changed the depricated "Copyright" into "License".
54