]> git.pld-linux.org Git - packages/txt2html.git/commitdiff
- updated to 2.33
authorAdam Gołębiowski <adamg@pld-linux.org>
Wed, 5 Jan 2005 11:16:14 +0000 (11:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    txt2html.spec -> 1.38

txt2html.spec

index f4c88995102fac0e14f8eddedf777cb65e5d769f..21490b8affe7b7457de23dd85c80026b49ecee05 100644 (file)
@@ -6,16 +6,14 @@
 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:       2.25
-Release:       1
+Version:       2.33
+Release:       0.1
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Applications/Text
 Source0:       http://dl.sourceforge.net/txt2html/%{name}-%{version}.tar.gz
-# Source0-md5: c69d3e3c85c9fbbd5d265d0a9c89ac18
+# Source0-md5: 59dde458fdd62532bce7f9c19ba7a251
 URL:           http://www.sourceforge.net/projects/txt2html/
-#BuildRequires:        perl-ExtUtils-configPL
-BuildRequires: perl-ExtUtils-MakeMaker
 Requires:      perl-Getopt-ArgvFile
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -35,20 +33,18 @@ pewnie istniej
 %setup -q
 
 %build
-#sed -e's#%{_prefix}/local/lib#%{_datadir}/misc#' txt2html.pl > \
-#      txt2html
-%{__perl} -MExtUtils::MakeMaker -e 'WriteMakefile(NAME=>"HTML::TextToHTML", EXE_FILES=>["txt2html"])' \
-       INSTALLDIRS=vendor
-%{__make}
+%{__perl} Build.PL \
+       installdirs=vendor
 
-%{?with_tests:%{__make} test}
+./Build
+%{?with_tests:./Build test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/misc
 
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+./Build install \
+       destdir=$RPM_BUILD_ROOT
 
 install txt2html.dict $RPM_BUILD_ROOT%{_datadir}/misc/txt2html-linkdict
 
This page took 0.07526 seconds and 4 git commands to generate.