]> git.pld-linux.org Git - packages/exixpand.git/blob - exixpand.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/exixpand.git] / exixpand.spec
1 #
2 %include        /usr/lib/rpm/macros.perl
3 Summary:        An overlay for Exim string expansion
4 Summary(pl.UTF-8):      Nakładka na Exima w trybie rozwijania wyrażeń
5 Name:           exixpand
6 Version:        20050922.1
7 Release:        1
8 License:        GPL v2+
9 Group:          Applications
10 # based on http://jetmore.org/john/code/exixpand
11 Source0:        %{name}.pl
12 URL:            http://jetmore.org/john/code/#exixpand
13 BuildRequires:  perl-tools-pod
14 BuildRequires:  rpm-perlprov
15 Requires:       exim
16 Suggests:       perl-perldoc
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 An overlay for Exim string expansion testing (exim -be) providing
22 history, command editing, and macro expansion.
23
24 %description -l pl.UTF-8
25 Nakładka na Exima w trybie testowania rozwijania wyrażeń (exim -be) z
26 historią, edycją command i rozwijaniem makr.
27
28 %prep
29 %setup -q -c -T
30
31 %build
32 pod2man %SOURCE0 > %{name}.1
33 pod2text %SOURCE0 > %{name}.txt
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
38
39 install %SOURCE0 $RPM_BUILD_ROOT%{_bindir}/%{name}
40 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %attr(755,root,root) %{_bindir}/%{name}
48 %{_mandir}/man1/%{name}.1*
49 %doc %{name}.txt
This page took 0.090404 seconds and 3 git commands to generate.