]> git.pld-linux.org Git - packages/txt2html.git/commitdiff
- release 2,
authorkloczek <kloczek@pld-linux.org>
Wed, 21 Feb 2001 05:54:32 +0000 (05:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixed %setup macro.

Changed files:
    txt2html.spec -> 1.14

txt2html.spec

index b8cf9782ed46afa4d4135a17f32e20bf0a542673..0212640bc352becc25b0440e76c67564a3bdc76e 100644 (file)
@@ -2,15 +2,16 @@ Summary:      Convert raw text to something with a little HTML formatting
 Summary(pl):   Konwersja czystego tekstu na HTML, rozpoznaj±c trochê sformatowania
 Name:          txt2html
 Version:       1.28
-Release:       1
+Release:       2
 Copyright:     Modified BSD
 Group:         Utilities/Text
 Group(fr):     Utilitaires/Texte
 Group(pl):     Narzêdzia/Tekst
 Source0:       http://www.aigeek.com/txt2html/%{name}-%{version}.tar.gz
 URL:           http://www.aigeek.com/txt2html/
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Require:       perl
 BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 My intent in writing this tool is to provide an easier way of
@@ -24,14 +25,14 @@ mo
 pewnie istniej± lepsze sposoby.
 
 %prep
-%setup -n txt2html -q
+%setup -q
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/misc}
-{ echo '#!%{_bindir}/perl'
-  sed -e's#%{_prefix}/local/lib#%{_datadir}/misc#' txt2html.pl
-} >$RPM_BUILD_ROOT%{_bindir}/txt2html
+
+sed -e's#%{_prefix}/local/lib#%{_datadir}/misc#' txt2html.pl > \
+       $RPM_BUILD_ROOT%{_bindir}/txt2html
 
 install txt2html.dict $RPM_BUILD_ROOT%{_datadir}/misc/txt2html-linkdict
 
This page took 0.040603 seconds and 4 git commands to generate.