[packages/cep] Rel 3

arekm arekm at pld-linux.org
Wed May 20 21:02:40 CEST 2026


commit 7595cf0b3df5ae5109cdbf351048284244a6d413
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed May 20 21:02:24 2026 +0200

    Rel 3

 cep-no-install-doc.patch | 22 ++++++++++++++++++++++
 cep.spec                 |  4 +++-
 2 files changed, 25 insertions(+), 1 deletion(-)
---
diff --git a/cep.spec b/cep.spec
index 3610b29..b307a48 100644
--- a/cep.spec
+++ b/cep.spec
@@ -2,13 +2,14 @@ Summary:	Compress/uncompress PostScript files
 Summary(pl.UTF-8):	Kompresja/dekompresja plików PostScript
 Name:		cep
 Version:	1.03
-Release:	2
+Release:	3
 License:	Public Domain
 Group:		Applications/Graphics
 Source0:	http://www.agh.edu.pl/pub/tex/GUST/contrib/PS-supp/%{name}.zip
 # Source0-md5:	f1ce5e65b73bbcc1130dbde4a0b7c2af
 Source1:	%{name}-add.tar.gz
 # Source1-md5:	d97220c4c5862487585fbe76f0c5fb00
+Patch0:		%{name}-no-install-doc.patch
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	ghostscript
@@ -27,6 +28,7 @@ plików.
 
 %prep
 %setup -q -n cep -b 1
+%patch -P0 -p1
 
 %build
 %{__aclocal}
diff --git a/cep-no-install-doc.patch b/cep-no-install-doc.patch
new file mode 100644
index 0000000..298f189
--- /dev/null
+++ b/cep-no-install-doc.patch
@@ -0,0 +1,22 @@
+--- cep.orig/Makefile.in
++++ cep/Makefile.in
+@@ -21,7 +21,7 @@
+ dedosify:
+ 	perl -i.BAK -pe 's/\r//' $(AWKFILES) $(SHFILES) $(DOCFILES)
+
+-install: install-bin install-data install-doc
++install: install-bin install-data install-man
+
+ install-bin:
+ 	mkdir -p $(DESTDIR)/$(bindir)
+@@ -33,9 +33,8 @@
+ 	mkdir -p $(DESTDIR)/$(awkdir)
+ 	cp -a $(AWKFILES) $(DESTDIR)/$(awkdir)
+
+-install-doc:
+-	mkdir -p $(DESTDIR)/$(docdir)
+-	cp -a $(DOCFILES) $(DESTDIR)/$(docdir)
++# Documentation (DOCFILES) is installed via rpm %doc, not by make.
++install-man:
+ 	mkdir -p $(DESTDIR)/$(mandir)/man1
+ 	for a in cep cop uncep uncop; do cp cepman $(DESTDIR)/$(mandir)/man1/$$a.1; done
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cep.git/commitdiff/7595cf0b3df5ae5109cdbf351048284244a6d413



More information about the pld-cvs-commit mailing list