]> git.pld-linux.org Git - packages/enscript.git/blobdiff - enscript.spec
- removed stripping executables, it's done by rpm automation
[packages/enscript.git] / enscript.spec
index 7de4f7aa96c028d5fd41e61558bac50771e1e36f..a9618302ed6a1fbe6644d7af6d4157f563a84fe4 100644 (file)
@@ -4,39 +4,38 @@ Version:      1.6.1
 Release:       8
 Copyright:     GNU
 Group:         Applications/Publishing
-Source:                ftp://ftp.gnu.org/pub/gnu/enscript-1.6.1.tar.gz
-Patch:         enscript-1.6.1-config.patch
+Group(pl):     Aplikacje/Publikowanie
+Source0:       ftp://ftp.gnu.org/pub/gnu/%{name}-%{version}.tar.gz
+Patch0:                enscript-1.6.1-config.patch
 URL:           http://www.ngs.fi/mtr/genscript/index.html
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     nenscript
 
 %description
-Enscript is a print filter. It can take ASCII input
-and format it into PostScript output. At the same time,
-it can also do nice transformations like putting two
-ASCII pages on one physical page (side by side) or
-changing fonts.
+Enscript is a print filter. It can take ASCII input and format it into
+PostScript output. At the same time, it can also do nice
+transformations like putting two ASCII pages on one physical page
+(side by side) or changing fonts.
 
 %description
-Enscript jest filtrem wykorzystywanym przy drukowaniu. Na wej¶ciu przyjmuje
-dane ASCII i konwertuje je na PostScript. Potrafi równocze¶nie dokonaæ
-pewnych u¿ytecznych przekszta³ceñ, jak np. umieszczenie dwóch stron ASCII
-na jednej stronie fizycznej (obok siebie) czy zmiana czcionki.
+Enscript jest filtrem wykorzystywanym przy drukowaniu. Na wej¶ciu
+przyjmuje dane ASCII i konwertuje je na PostScript. Potrafi
+równocze¶nie dokonaæ pewnych u¿ytecznych przekszta³ceñ, jak np.
+umieszczenie dwóch stron ASCII na jednej stronie fizycznej (obok
+siebie) czy zmiana czcionki.
 
 %prep
 %setup -q
 %patch -p1
 
 %build
-%configure --with-media=A4 --sysconfdir=/etc
-make
+%configure --with-media=A4 --sysconfdir=%{_sysconfdir}
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make install DESTDIR=$RPM_BUILD_ROOT
-
-strip --strip-unneeded $RPM_BUILD_ROOT%{_bindir}/* || :
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 ln -s enscript $RPM_BUILD_ROOT%{_bindir}/nenscript
 
@@ -51,7 +50,7 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc {AUTHORS,ChangeLog,NEWS,README,README.ESCAPES,THANKS,TODO}.gz FAQ.html
-%config(noreplace) /etc/enscript.cfg
+%config(noreplace) %{_sysconfdir}/enscript.cfg
 %attr(755,root,root) %{_bindir}/diffpp
 %attr(755,root,root) %{_bindir}/sliceprint
 %attr(755,root,root) %{_bindir}/enscript
This page took 0.034293 seconds and 4 git commands to generate.