]> git.pld-linux.org Git - packages/cpl.git/blobdiff - cpl.spec
s/freeware/Freeware in License
[packages/cpl.git] / cpl.spec
index 39e31099bd928a7d5bc62a64d44179a73c59af97..a2dc1e16a914cc0fd4a0ee8309674f592b21d693 100644 (file)
--- a/cpl.spec
+++ b/cpl.spec
@@ -1,22 +1,24 @@
-Summary:       Converter of polish character encodings with encodind recognizer
+Summary:       Converter of Polish character encodings with encodind recognizer
 Summary(pl):   Konwerter polskich kodowañ znaków z rozpoznawaniem kodowania
 Name:          cpl
-Version:       2.0.6
-Release:       1
-License:       freeware for noncommercial use
+Version:       2.0.7
+Release:       2
+License:       Freeware for noncommercial use, not distributable without source
 Group:         Applications/Text
 Source0:       %{name}-%{version}-ELF.tar.gz
-Source0:       http://ceti.com.pl/~kravietz/progs/%{name}-%{version}-ELF.tar.gz
+Source1:       cpl.7.pl
+Source2:       cpn.7.pl
+Source3:       qpl.7.pl
 URL:           http://ceti.com.pl/~kravietz/cpl.html
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-cpl - Universal converter of polish character encodings. Things that
+cpl - Universal converter of Polish character encodings. Things that
 distinguish it from other programs of that type are amount of
 supported standards, conversion in any direction and maximally
 simplified - yet powerfull - command line.
 
-qpl - Utility for recognizing polish character encodings. It's used
+qpl - Utility for recognizing Polish character encodings. It's used
 for recognizing encoding in text files if encoding is unknown or
 unsure.
 
@@ -41,9 +43,13 @@ tekstowych, je
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/pl/man7}
 
 install {cpl,qpl,cpn} $RPM_BUILD_ROOT%{_bindir}
+ln -s cpl $RPM_BUILD_ROOT%{_bindir}/ConvPL
+
+install %{SOURCE1} %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man7
+echo ".so cpl" > $RPM_BUILD_ROOT%{_mandir}/pl/man7/ConvPL.7
 
 gzip -9nf doc/*.txt
 
@@ -53,4 +59,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc doc/*.gz
+%{_mandir}/pl/man7/*
 %attr(755,root,root) %{_bindir}/*
This page took 0.09956 seconds and 4 git commands to generate.