SPECS: demoroniser.spec (NEW) - new, based on mdk spec
glen
glen at pld-linux.org
Wed Sep 10 14:51:00 CEST 2008
Author: glen Date: Wed Sep 10 12:51:00 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new, based on mdk spec
---- Files affected:
SPECS:
demoroniser.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/demoroniser.spec
diff -u /dev/null SPECS/demoroniser.spec:1.1
--- /dev/null Wed Sep 10 14:51:01 2008
+++ SPECS/demoroniser.spec Wed Sep 10 14:50:55 2008
@@ -0,0 +1,48 @@
+# $Revision$, $Date$
+%include /usr/lib/rpm/macros.perl
+Summary: Demoroniser corrects incompatible HTML generated by Microsoft applications
+Name: demoroniser
+Version: 19980116
+Release: 1
+License: Public Domain
+Group: Applications/Text
+URL: http://www.fourmilab.ch/webtools/demoroniser/
+Source0: http://www.fourmilab.ch/webtools/%{name}/demoroniser.zip
+# Source0-md5: a0da935a4734f858ed6a9f57b70f2a66
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: sed >= 4.0
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Corrects moronic and gratuitously incompatible HTML generated by
+Microsoft applications. Also can be useful on just text to get rid of
+the "smart quotes" Microsoft applications like to use.
+
+%prep
+%setup -qc
+%{__sed} -i -e '1s,#!.*bin/perl,#!%{__perl},' demoroniser.pl
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+install demoroniser.pl $RPM_BUILD_ROOT%{_bindir}/demoroniser
+cp -a demoroniser.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc demoroniser.man
+%attr(755,root,root) %{_bindir}/demoroniser
+%{_mandir}/man1/demoroniser.1*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008/09/10 12:50:55 glen
+- new, based on mdk spec
================================================================
More information about the pld-cvs-commit
mailing list