]> git.pld-linux.org Git - SPECS.git/blob - vacation.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / vacation.spec
1 Summary:        Automatic mail answering program for Linux
2 Summary(pl.UTF-8):      Autoresponder pocztowy dla Linuksa
3 Name:           vacation
4 Version:        1.2.7.1
5 Release:        3
6 License:        GPL
7 Group:          Applications/Mail
8 Source0:        http://downloads.sourceforge.net/vacation/%{name}-%{version}.tar.gz
9 # Source0-md5:  272df506a542c9c587de43b3f531a5ed
10 URL:            http://vacation.sourceforge.net/
11 BuildRequires:  gdbm-devel
12 Conflicts:      zmailer
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Vacation is a port of the 386BSD vacation program (an automatic
17 mail-answering program found on many Unix systems) to Linux.
18
19 %description -l pl.UTF-8
20 Vacation to port programu vacation z 386BSD (programu automatycznie
21 odpowiadającego na pocztę) na Linuksa.
22
23 %prep
24 %setup -q
25
26 %build
27 %{__make} \
28         CC="%{__cc}" \
29         RPM_OPT_FLAGS="%{rpmcflags}"
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5}}
34
35 install vacation vaclook $RPM_BUILD_ROOT%{_bindir}
36 install vacation.man $RPM_BUILD_ROOT%{_mandir}/man1/vacation.1
37 install vaclook.man $RPM_BUILD_ROOT%{_mandir}/man1/vaclook.1
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %post
43 if [ -d /etc/smrsh ]; then
44         ln -sf %{_bindir}/vacation /etc/smrsh
45 fi
46
47 %postun
48 if [ -e /etc/smrsh/vacation ]; then
49          rm -f /etc/smrsh/vacation
50 fi
51
52 %files
53 %defattr(644,root,root,755)
54 %doc AUTHORS ChangeLog KNOWN_BUGS README README.smrsh TODO
55 %attr(755,root,root) %{_bindir}/*
56 %{_mandir}/man1/*
This page took 0.416082 seconds and 3 git commands to generate.