forked from leenooks/qico
-
Notifications
You must be signed in to change notification settings - Fork 1
/
qico.spec
54 lines (45 loc) · 1.12 KB
/
qico.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Summary: qico, an ftn-compatible mailer
Name: qico
Version: 0.59.1
Release: 1
Copyright: BSD
Group: System Environment/Daemons
Source: http://sf.net/projects/qico/files/qico-%{version}/qico-%{version}.tar.bz2/download
URL: http://qico.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Prefix: %{_prefix}
%description
Qico is an FidoNet Technology Network (FTN) compatible mailer for Unix
systems. It has some original features. Full list of features you can
find in README, Changes and qico.conf files.
%prep
%setup -q
%build
%configure
make
%install
rm -rf %{buildroot}
%makeinstall
mkdir %{buildroot}/etc
cp qico.conf.sample %{buildroot}/etc/qico.conf
mkdir -p %{buildroot}/etc/rc.d/init.d
install -m 755 stuff/ftn %{buildroot}/etc/rc.d/init.d/qico
%clean
rm -rf %{buildroot}
%post
/sbin/chkconfig --add qico
%preun
if [ $1 = 0 ]; then
/sbin/chkconfig --del qico
fi
%files
%defattr(-,root,root)
%{_sbindir}/qico
%{_bindir}/qctl
%{_bindir}/qcc
%config /etc/qico.conf
%config /etc/rc.d/init.d/qico
%doc stuff README FAQ Changes
%doc %{_mandir}/man8/qico.8*
%doc %{_mandir}/man8/qctl.8*
%doc %{_mandir}/man8/qcc.8*