]>
Commit | Line | Data |
---|---|---|
f143db83 ER |
1 | Summary: Demoroniser corrects incompatible HTML generated by Microsoft applications |
2 | Name: demoroniser | |
3 | Version: 19980116 | |
4 | Release: 1 | |
5 | License: Public Domain | |
6 | Group: Applications/Text | |
7 | URL: http://www.fourmilab.ch/webtools/demoroniser/ | |
8 | Source0: http://www.fourmilab.ch/webtools/%{name}/demoroniser.zip | |
9 | # Source0-md5: a0da935a4734f858ed6a9f57b70f2a66 | |
10 | BuildRequires: rpm-perlprov >= 4.1-13 | |
11 | BuildRequires: sed >= 4.0 | |
46bb3cdd | 12 | BuildRequires: unzip |
f143db83 ER |
13 | BuildArch: noarch |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | Corrects moronic and gratuitously incompatible HTML generated by | |
18 | Microsoft applications. Also can be useful on just text to get rid of | |
19 | the "smart quotes" Microsoft applications like to use. | |
20 | ||
21 | %prep | |
22 | %setup -qc | |
23 | %{__sed} -i -e '1s,#!.*bin/perl,#!%{__perl},' demoroniser.pl | |
24 | ||
25 | %install | |
26 | rm -rf $RPM_BUILD_ROOT | |
27 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
28 | install demoroniser.pl $RPM_BUILD_ROOT%{_bindir}/demoroniser | |
29 | cp -a demoroniser.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
30 | ||
31 | %clean | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | ||
34 | %files | |
35 | %defattr(644,root,root,755) | |
36 | %doc demoroniser.man | |
37 | %attr(755,root,root) %{_bindir}/demoroniser | |
38 | %{_mandir}/man1/demoroniser.1* |