]> git.pld-linux.org Git - packages/txt2html.git/commitdiff
- more rpm macros,
authorkloczek <kloczek@pld-linux.org>
Mon, 5 Jul 1999 20:42:55 +0000 (20:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- txt2html-linkdict moved to %%{_datadir}/misc/ (FHS 2.0),
- gzipping %doc.

Changed files:
    txt2html.spec -> 1.7

txt2html.spec

index 6f3fe615bd66e646abf915966ffe4b67528317a0..4725222d4f1e13acd913ad20fc8bcf8be62d7a85 100644 (file)
@@ -1,15 +1,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:     1.25
-Release:     3
-Copyright:   Modified BSD
-Group:       Utilities/Text
-Source:      http://www.thehouse.org/txt2html/%{name}-%{version}.tar.gz
-URL:         http://www.thehouse.org/txt2html/
-Requires:    perl
+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.25
+Release:       4
+Copyright:     Modified BSD
+Group:         Utilities/Text
+Source:                http://www.thehouse.org/txt2html/%{name}-%{version}.tar.gz
+URL:           http://www.thehouse.org/txt2html/
 BuildRoot:     /tmp/%{name}-%{version}-root
-BuildArchitectures: noarch
+BuildArch:     noarch
 
 %description
 My intent in writing this tool is to provide an easier way of converting
@@ -29,23 +28,31 @@ lepsze sposoby.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/{bin,lib}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/misc}
 {
     echo '#!%{_bindir}/perl'
-    sed -e'1,10d' -e's%/usr/local/lib%%{_libdir}%' txt2html.pl
+    sed  -e's#/usr/local/lib#%{_datadir}/misc#' txt2html.pl
 } >$RPM_BUILD_ROOT%{_bindir}/txt2html
-install txt2html.dict $RPM_BUILD_ROOT%{_libdir}/txt2html-linkdict
+install txt2html.dict $RPM_BUILD_ROOT%{_datadir}/misc/txt2html-linkdict
+
+gzip -9nf changes.html sample.txt sample.html LICENSE README
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc changes.html sample.txt sample.html LICENSE README
-%config %{_libdir}/txt2html-linkdict
+%doc *.gz
+%config %{_datadir}/misc/txt2html-linkdict
 %attr(755,root,root) %{_bindir}/txt2html
 
 %changelog
+* Mon Jul  5 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
+  [1.25-4]
+- more rpm macros,
+- txt2html-linkdict moved to %%{_datadir}/misc/ (FHS 2.0),
+- gzipping %doc.
+
 * Fri Sep 25 1998 Marcin 'Qrczak' Kowalczyk <qrczak@knm.org.pl>
   [1.25-3]
 - added pl translation,
This page took 0.076127 seconds and 4 git commands to generate.