Compare commits
No commits in common. "c8" and "c10s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
SOURCES/pnm2ppa-1.04.tar.gz
|
||||
SOURCES/ppa-0.8.6.tar.gz
|
||||
pnm2ppa-1.04.tar.gz
|
||||
ppa-0.8.6.tar.gz
|
||||
/pnm2ppa-1.13.tar.gz
|
||||
|
@ -1,2 +0,0 @@
|
||||
a3cd26788779bc80fa6c8265f3b2aacaaa5acd92 SOURCES/pnm2ppa-1.04.tar.gz
|
||||
97eedbb777940cd7fa9b2efa181c70f7146325af SOURCES/ppa-0.8.6.tar.gz
|
@ -1,52 +0,0 @@
|
||||
diff -up pnm2ppa-1.04/Makefile.ldflags pnm2ppa-1.04/Makefile
|
||||
--- pnm2ppa-1.04/Makefile.ldflags 2018-03-01 15:38:09.225582684 +0100
|
||||
+++ pnm2ppa-1.04/Makefile 2018-03-01 15:50:34.307261745 +0100
|
||||
@@ -11,7 +11,6 @@ INSTALL=install
|
||||
|
||||
# production build
|
||||
CFLAGS=$(RPM_OPT_FLAGS) -DNDEBUG
|
||||
-LDFLAGS=-lm
|
||||
OBJS = pnm2ppa.o syslog.o ppa.o image.o dither.o cutswath.o hash_ink.o gamma.o
|
||||
SRC = pnm2ppa.c syslog.c ppa.c image.c dither.c cutswath.c hash_ink.c gamma.c
|
||||
|
||||
@@ -108,10 +107,10 @@ uninstall:
|
||||
rm -f $(CONFDIR)/pnm2ppa.conf
|
||||
|
||||
pnm2ppa: $(OBJS)
|
||||
- $(CC) $(LDFLAGS) $(CFLAGS) -o pnm2ppa $(OBJS)
|
||||
+ $(CC) -lm $(LDFLAGS) $(CFLAGS) -o pnm2ppa $(OBJS)
|
||||
|
||||
calibrate_ppa: calibrate_ppa.o pnmtools.o gamma.o
|
||||
- $(CC) $(LDFLAGS) $(CFLAGS) -o calibrate_ppa calibrate_ppa.o pnmtools.o gamma.o
|
||||
+ $(CC) -lm $(LDFLAGS) $(CFLAGS) -o calibrate_ppa calibrate_ppa.o pnmtools.o gamma.o
|
||||
|
||||
calibrate_ppa.o: calibrate_ppa.c global.h image.h defaults.h pnmtools.h
|
||||
$(CC) $(CFLAGS) -c calibrate_ppa.c
|
||||
@@ -144,7 +143,7 @@ syslog.o: syslog.c syslog.h global.h
|
||||
$(CC) $(CFLAGS) -c syslog.c
|
||||
|
||||
make_hash_ink: make_hash_ink.c palette.h hash_ink.h
|
||||
- $(CC) $(CFLAGS) -o make_hash_ink make_hash_ink.c
|
||||
+ $(CC) $(CFLAGS) -lm $(LDFLAGS) -o make_hash_ink make_hash_ink.c
|
||||
|
||||
hash_ink.c: make_hash_ink
|
||||
./make_hash_ink 4 3 > hash_ink.c
|
||||
diff -up pnm2ppa-1.04/pbm2ppa-0.8.6/Makefile.ldflags pnm2ppa-1.04/pbm2ppa-0.8.6/Makefile
|
||||
--- pnm2ppa-1.04/pbm2ppa-0.8.6/Makefile.ldflags 2018-03-01 15:38:09.226582676 +0100
|
||||
+++ pnm2ppa-1.04/pbm2ppa-0.8.6/Makefile 2018-03-01 15:53:22.016739424 +0100
|
||||
@@ -1,6 +1,5 @@
|
||||
CC=gcc
|
||||
CFLAGS=$(RPM_OPT_FLAGS)
|
||||
-LDFLAGS=
|
||||
PRINTER=HP720
|
||||
|
||||
default: all
|
||||
@@ -23,7 +22,7 @@ pbm2ppa: pbm2ppa.o ppa.o pbm.o cutswath.
|
||||
$(CC) $(LDFLAGS) -o pbm2ppa pbm2ppa.o ppa.o pbm.o cutswath.o
|
||||
|
||||
pbmtpg: pbmtpg.o
|
||||
- $(CC) $(CFLAGS) -o pbmtpg pbmtpg.o -lm
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -o pbmtpg pbmtpg.o -lm
|
||||
|
||||
.c.o: $*.c ppa.h pbm.h
|
||||
$(CC) $(CFLAGS) -DDEFAULT_PRINTER=$(PRINTER) -c $*.c
|
@ -1,33 +0,0 @@
|
||||
diff -up pnm2ppa-1.04/Makefile.rh pnm2ppa-1.04/Makefile
|
||||
--- pnm2ppa-1.04/Makefile.rh 2000-11-02 18:33:08.000000000 +0000
|
||||
+++ pnm2ppa-1.04/Makefile 2008-09-24 15:18:26.000000000 +0100
|
||||
@@ -10,7 +10,7 @@ CC=gcc
|
||||
INSTALL=install
|
||||
|
||||
# production build
|
||||
-CFLAGS=-Wall -pedantic -O2 -g -DNDEBUG
|
||||
+CFLAGS=$(RPM_OPT_FLAGS) -DNDEBUG
|
||||
LDFLAGS=-lm
|
||||
OBJS = pnm2ppa.o syslog.o ppa.o image.o dither.o cutswath.o hash_ink.o gamma.o
|
||||
SRC = pnm2ppa.c syslog.c ppa.c image.c dither.c cutswath.c hash_ink.c gamma.c
|
||||
diff -up pnm2ppa-1.04/pbm2ppa-0.8.6/Makefile.rh pnm2ppa-1.04/pbm2ppa-0.8.6/Makefile
|
||||
--- pnm2ppa-1.04/pbm2ppa-0.8.6/Makefile.rh 2008-09-24 15:18:26.000000000 +0100
|
||||
+++ pnm2ppa-1.04/pbm2ppa-0.8.6/Makefile 2008-09-24 15:18:26.000000000 +0100
|
||||
@@ -1,5 +1,5 @@
|
||||
CC=gcc
|
||||
-CFLAGS=-Wall -O2
|
||||
+CFLAGS=$(RPM_OPT_FLAGS)
|
||||
LDFLAGS=
|
||||
PRINTER=HP720
|
||||
|
||||
diff -up pnm2ppa-1.04/pnm2ppa.conf.rh pnm2ppa-1.04/pnm2ppa.conf
|
||||
--- pnm2ppa-1.04/pnm2ppa.conf.rh 2000-10-28 16:02:57.000000000 +0100
|
||||
+++ pnm2ppa-1.04/pnm2ppa.conf 2008-09-24 15:18:26.000000000 +0100
|
||||
@@ -12,7 +12,6 @@
|
||||
# will be used. The printer version can also be set with the command line
|
||||
# option e.g., "-v 720".
|
||||
|
||||
-version ERROR # PNM2PPA WIIL *NOT* WORK UNTIUL THIS ENTRY IS REMOVED!!!!
|
||||
#version 720 # 710, 712, 722 also acceptable
|
||||
#version 820
|
||||
#version 1000
|
25
gating.yaml
Normal file
25
gating.yaml
Normal file
@ -0,0 +1,25 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_testing
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
|
||||
|
||||
#Rawhide
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
|
||||
|
||||
#gating rhel
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-public.functional}
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}
|
36
plans.fmf
Normal file
36
plans.fmf
Normal file
@ -0,0 +1,36 @@
|
||||
/tier1-internal:
|
||||
plan:
|
||||
import:
|
||||
url: https://src.fedoraproject.org/tests/pnm2ppa.git
|
||||
name: /plans/tier1/internal
|
||||
|
||||
/tier1-public:
|
||||
plan:
|
||||
import:
|
||||
url: https://src.fedoraproject.org/tests/pnm2ppa.git
|
||||
name: /plans/tier1/public
|
||||
|
||||
/tier2-tier3-internal:
|
||||
plan:
|
||||
import:
|
||||
url: https://src.fedoraproject.org/tests/pnm2ppa.git
|
||||
name: /plans/tier2-tier3/internal
|
||||
|
||||
/tier2-tier3-public:
|
||||
plan:
|
||||
import:
|
||||
url: https://src.fedoraproject.org/tests/pnm2ppa.git
|
||||
name: /plans/tier2-tier3/public
|
||||
|
||||
/others-internal:
|
||||
plan:
|
||||
import:
|
||||
url: https://src.fedoraproject.org/tests/pnm2ppa.git
|
||||
name: /plans/others/internal
|
||||
|
||||
/others-public:
|
||||
plan:
|
||||
import:
|
||||
url: https://src.fedoraproject.org/tests/pnm2ppa.git
|
||||
name: /plans/others/public
|
||||
|
@ -1,7 +1,7 @@
|
||||
diff -up pnm2ppa-1.04/calibrate_ppa.c.coverity-return-local pnm2ppa-1.04/calibrate_ppa.c
|
||||
--- pnm2ppa-1.04/calibrate_ppa.c.coverity-return-local 2000-11-11 22:22:38.000000000 +0000
|
||||
+++ pnm2ppa-1.04/calibrate_ppa.c 2011-05-20 16:04:23.233425268 +0100
|
||||
@@ -75,7 +75,7 @@ main (int argc, char *argv[])
|
||||
diff -up pnm2ppa-1.13/calibrate_ppa.c.coverity-return-local pnm2ppa-1.13/calibrate_ppa.c
|
||||
--- pnm2ppa-1.13/calibrate_ppa.c.coverity-return-local 2009-12-12 20:14:55.000000000 +0100
|
||||
+++ pnm2ppa-1.13/calibrate_ppa.c 2023-10-20 13:34:21.570205199 +0200
|
||||
@@ -80,7 +80,7 @@ main (int argc, char *argv[])
|
||||
BOOLEAN gamma = false ;
|
||||
FILE *outFile = NULL ;
|
||||
int testPattern = 0;
|
||||
@ -10,7 +10,7 @@ diff -up pnm2ppa-1.04/calibrate_ppa.c.coverity-return-local pnm2ppa-1.04/calibra
|
||||
char c;
|
||||
static struct option long_opts[] = {
|
||||
{"gamma",0,0,'g'},
|
||||
@@ -157,9 +157,7 @@ main (int argc, char *argv[])
|
||||
@@ -162,9 +162,7 @@ main (int argc, char *argv[])
|
||||
{
|
||||
if ( strlen(optarg) < MAXPATHLEN )
|
||||
{
|
||||
@ -21,10 +21,10 @@ diff -up pnm2ppa-1.04/calibrate_ppa.c.coverity-return-local pnm2ppa-1.04/calibra
|
||||
use_stdout = false ;
|
||||
}
|
||||
}
|
||||
diff -up pnm2ppa-1.04/pnm2ppa.c.coverity-return-local pnm2ppa-1.04/pnm2ppa.c
|
||||
--- pnm2ppa-1.04/pnm2ppa.c.coverity-return-local 2000-11-11 19:53:03.000000000 +0000
|
||||
+++ pnm2ppa-1.04/pnm2ppa.c 2011-05-20 16:04:23.234425246 +0100
|
||||
@@ -145,20 +145,15 @@ print_pnm (FILE * fptr)
|
||||
diff -up pnm2ppa-1.13/pnm2ppa.c.coverity-return-local pnm2ppa-1.13/pnm2ppa.c
|
||||
--- pnm2ppa-1.13/pnm2ppa.c.coverity-return-local 2023-10-20 13:34:21.570205199 +0200
|
||||
+++ pnm2ppa-1.13/pnm2ppa.c 2023-10-20 13:38:05.524230753 +0200
|
||||
@@ -148,21 +148,15 @@ print_pnm (FILE * fptr)
|
||||
char *
|
||||
readPath(char *input )
|
||||
{
|
||||
@ -39,7 +39,8 @@ diff -up pnm2ppa-1.04/pnm2ppa.c.coverity-return-local pnm2ppa-1.04/pnm2ppa.c
|
||||
- a user-specifed file *File_path may later be opened;
|
||||
- should any extra validation of this be performed now ?
|
||||
- */
|
||||
- path = File_path;
|
||||
- /* remember to free(path) after use! */
|
||||
- path = strdup(File_path);
|
||||
- return path;
|
||||
- }
|
||||
+ path = strdup(input);
|
24
pnm2ppa-gcc10.patch
Normal file
24
pnm2ppa-gcc10.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff -up pnm2ppa-1.13/ppa_syslog.h.gcc10 pnm2ppa-1.13/ppa_syslog.h
|
||||
--- pnm2ppa-1.13/ppa_syslog.h.gcc10 2023-10-20 14:27:00.381590872 +0200
|
||||
+++ pnm2ppa-1.13/ppa_syslog.h 2023-10-20 14:27:10.052671328 +0200
|
||||
@@ -39,7 +39,7 @@
|
||||
#include <syslog.h>
|
||||
#endif
|
||||
|
||||
-char syslog_message[128];
|
||||
+extern char syslog_message[128];
|
||||
extern size_t message_size ;
|
||||
|
||||
void wrap_syslog( int, char *, char *);
|
||||
diff -up pnm2ppa-1.13/syslog.c.gcc10 pnm2ppa-1.13/syslog.c
|
||||
--- pnm2ppa-1.13/syslog.c.gcc10 2023-10-20 14:23:10.093285301 +0200
|
||||
+++ pnm2ppa-1.13/syslog.c 2023-10-20 14:26:04.925129503 +0200
|
||||
@@ -33,6 +33,8 @@
|
||||
|
||||
BOOLEAN verbose = false ;
|
||||
|
||||
+char syslog_message[128];
|
||||
+
|
||||
/*
|
||||
For some reason, BeOS doesn't seem to implement syslog(), even though it is
|
||||
included with the system. Wierd. This wraps the syslog functions used
|
31
pnm2ppa-ldflags.patch
Normal file
31
pnm2ppa-ldflags.patch
Normal file
@ -0,0 +1,31 @@
|
||||
diff -up pnm2ppa-1.13/Makefile.am.ldflags pnm2ppa-1.13/Makefile.am
|
||||
--- pnm2ppa-1.13/Makefile.am.ldflags 2023-10-20 13:52:38.470722125 +0200
|
||||
+++ pnm2ppa-1.13/Makefile.am 2023-10-20 13:53:24.625056218 +0200
|
||||
@@ -125,7 +125,7 @@ CLEANFILES = hash_ink.c make_hash_ink
|
||||
CC_FOR_BUILD = @CC_FOR_BUILD@
|
||||
CFLAGS_FOR_BUILD = $(RPM_OPT_FLAGS) -O2
|
||||
CPPFLAGS_FOR_BUILD = -I$(top_srcdir)
|
||||
-LDFLAGS_FOR_BUILD =
|
||||
+LDFLAGS_FOR_BUILD = $(LDFLAGS)
|
||||
LDLIBS_FOR_BUILD =
|
||||
|
||||
make_hash_ink: make_hash_ink.c
|
||||
diff -up pnm2ppa-1.13/pbm2ppa-0.8.6/Makefile.ldflags pnm2ppa-1.13/pbm2ppa-0.8.6/Makefile
|
||||
--- pnm2ppa-1.13/pbm2ppa-0.8.6/Makefile.ldflags 2023-10-20 13:39:19.049686539 +0200
|
||||
+++ pnm2ppa-1.13/pbm2ppa-0.8.6/Makefile 2023-10-20 13:39:19.053686629 +0200
|
||||
@@ -1,6 +1,5 @@
|
||||
CC=gcc
|
||||
CFLAGS=$(RPM_OPT_FLAGS)
|
||||
-LDFLAGS=
|
||||
PRINTER=HP720
|
||||
|
||||
default: all
|
||||
@@ -23,7 +22,7 @@ pbm2ppa: pbm2ppa.o ppa.o pbm.o cutswath.
|
||||
$(CC) $(LDFLAGS) -o pbm2ppa pbm2ppa.o ppa.o pbm.o cutswath.o
|
||||
|
||||
pbmtpg: pbmtpg.o
|
||||
- $(CC) $(CFLAGS) -o pbmtpg pbmtpg.o -lm
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -o pbmtpg pbmtpg.o -lm
|
||||
|
||||
.c.o: $*.c ppa.h pbm.h
|
||||
$(CC) $(CFLAGS) -DDEFAULT_PRINTER=$(PRINTER) -c $*.c
|
23
pnm2ppa-redhat.patch
Normal file
23
pnm2ppa-redhat.patch
Normal file
@ -0,0 +1,23 @@
|
||||
diff -up pnm2ppa-1.13/Makefile.am.rh pnm2ppa-1.13/Makefile.am
|
||||
--- pnm2ppa-1.13/Makefile.am.rh 2023-10-20 13:22:50.893888824 +0200
|
||||
+++ pnm2ppa-1.13/Makefile.am 2023-10-20 13:30:33.506822860 +0200
|
||||
@@ -123,7 +123,7 @@ CLEANFILES = hash_ink.c make_hash_ink
|
||||
# run on the build host in case of cross compiling)
|
||||
#
|
||||
CC_FOR_BUILD = @CC_FOR_BUILD@
|
||||
-CFLAGS_FOR_BUILD = -O2
|
||||
+CFLAGS_FOR_BUILD = $(RPM_OPT_FLAGS) -O2
|
||||
CPPFLAGS_FOR_BUILD = -I$(top_srcdir)
|
||||
LDFLAGS_FOR_BUILD =
|
||||
LDLIBS_FOR_BUILD =
|
||||
diff -up pnm2ppa-1.13/pbm2ppa-0.8.6/Makefile.rh pnm2ppa-1.13/pbm2ppa-0.8.6/Makefile
|
||||
--- pnm2ppa-1.13/pbm2ppa-0.8.6/Makefile.rh 2023-10-20 13:18:54.058176682 +0200
|
||||
+++ pnm2ppa-1.13/pbm2ppa-0.8.6/Makefile 2023-10-20 13:18:54.061176659 +0200
|
||||
@@ -1,5 +1,5 @@
|
||||
CC=gcc
|
||||
-CFLAGS=-Wall -O2
|
||||
+CFLAGS=$(RPM_OPT_FLAGS)
|
||||
LDFLAGS=
|
||||
PRINTER=HP720
|
||||
|
||||
diff -up pnm2ppa-1.13/pnm2ppa.conf.rh pnm2ppa-1.13/pnm2ppa.conf
|
@ -1,24 +1,37 @@
|
||||
Name: pnm2ppa
|
||||
Summary: Drivers for printing to HP PPA printers
|
||||
Epoch: 1
|
||||
Version: 1.04
|
||||
Release: 40%{?dist}
|
||||
Version: 1.13
|
||||
Release: 5%{?dist}
|
||||
URL: http://sourceforge.net/projects/pnm2ppa
|
||||
Source: http://download.sourceforge.net/pnm2ppa/pnm2ppa-%{version}.tar.gz
|
||||
# Following sourcelink is dead currently.
|
||||
Source1: http://www.httptech.com/ppa/files/ppa-0.8.6.tar.gz
|
||||
# Upstream sync.
|
||||
Patch2: pbm2ppa-20000205.diff
|
||||
Patch1: pbm2ppa-20000205.diff
|
||||
# Use RPM_OPT_FLAGS.
|
||||
Patch3: pnm2ppa-redhat.patch
|
||||
Patch2: pnm2ppa-redhat.patch
|
||||
# Don't return a local variable out of scope (bug #704568).
|
||||
Patch4: pnm2ppa-coverity-return-local.patch
|
||||
Patch3: pnm2ppa-coverity-return-local.patch
|
||||
# FTBFS with GCC10
|
||||
Patch4: pnm2ppa-gcc10.patch
|
||||
# add ldflags to Makefile
|
||||
Patch5: pnm2ppa-ldflags.patch
|
||||
License: GPLv2+
|
||||
# pbm2ppa, pnm2ppa - GPL-2.0-or-later
|
||||
# pdq/* - GPL-2.0, but not shipped, thus not mentioned in license tag
|
||||
License: GPL-2.0-or-later
|
||||
|
||||
# for autoreconf
|
||||
BuildRequires: autoconf
|
||||
# for autoreconf
|
||||
BuildRequires: automake
|
||||
# gcc is no longer in buildroot by default
|
||||
BuildRequires: gcc
|
||||
# uses make
|
||||
BuildRequires: make
|
||||
|
||||
# foomatic is needed for using the filters in CUPS
|
||||
Requires: foomatic
|
||||
|
||||
%description
|
||||
Pnm2ppa is a color driver for HP PPA host-based printers such as the
|
||||
@ -33,10 +46,11 @@ Install pnm2ppa if you need to print to a PPA printer.
|
||||
|
||||
#pbm2ppa source
|
||||
%setup -q -T -D -a 1
|
||||
%patch2 -p0 -b .20000205
|
||||
%patch3 -p1 -b .rh
|
||||
%patch4 -p1 -b .coverity-return-local
|
||||
%patch5 -p1 -b .ldflags
|
||||
%patch -P 1 -p0 -b .20000205
|
||||
%patch -P 2 -p1 -b .rh
|
||||
%patch -P 3 -p1 -b .coverity-return-local
|
||||
%patch -P 4 -p1 -b .gcc10
|
||||
%patch -P 5 -p1 -b .ldflags
|
||||
|
||||
for file in docs/en/LICENSE pbm2ppa-0.8.6/LICENSE; do
|
||||
sed "s|\r||g" $file > $file.new && \
|
||||
@ -44,9 +58,12 @@ for file in docs/en/LICENSE pbm2ppa-0.8.6/LICENSE; do
|
||||
mv $file.new $file
|
||||
done
|
||||
|
||||
autoreconf -vfi
|
||||
|
||||
%build
|
||||
# set redhat build flags
|
||||
%set_build_flags
|
||||
%configure
|
||||
%make_build
|
||||
pushd pbm2ppa-0.8.6
|
||||
%make_build
|
||||
@ -54,17 +71,17 @@ popd
|
||||
|
||||
|
||||
%install
|
||||
install -d $RPM_BUILD_ROOT%{_bindir}
|
||||
install -d $RPM_BUILD_ROOT%{_sysconfdir}
|
||||
install -d $RPM_BUILD_ROOT%{_mandir}/man1
|
||||
make INSTALLDIR=$RPM_BUILD_ROOT%{_bindir} CONFDIR=$RPM_BUILD_ROOT%{_sysconfdir} \
|
||||
MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 install
|
||||
install -p -m 0755 utils/Linux/detect_ppa $RPM_BUILD_ROOT%{_bindir}
|
||||
install -p -m 0755 utils/Linux/test_ppa $RPM_BUILD_ROOT%{_bindir}
|
||||
install -p -m 0755 pbm2ppa-0.8.6/pbm2ppa $RPM_BUILD_ROOT%{_bindir}
|
||||
install -p -m 0755 pbm2ppa-0.8.6/pbmtpg $RPM_BUILD_ROOT%{_bindir}
|
||||
install -p -m 0644 pbm2ppa-0.8.6/pbm2ppa.conf $RPM_BUILD_ROOT%{_sysconfdir}
|
||||
install -p -m 0644 pbm2ppa-0.8.6/pbm2ppa.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
||||
install -d %{buildroot}%{_bindir}
|
||||
install -d %{buildroot}%{_sysconfdir}
|
||||
install -d %{buildroot}%{_mandir}/man1
|
||||
make INSTALLDIR=%{buildroot}%{_bindir} CONFDIR=%{buildroot}%{_sysconfdir} DESTDIR=%{buildroot} \
|
||||
MANDIR=%{buildroot}%{_mandir}/man1 install
|
||||
install -p -m 0755 utils/Linux/detect_ppa %{buildroot}%{_bindir}
|
||||
install -p -m 0755 utils/Linux/test_ppa %{buildroot}%{_bindir}
|
||||
install -p -m 0755 pbm2ppa-0.8.6/pbm2ppa %{buildroot}%{_bindir}
|
||||
install -p -m 0755 pbm2ppa-0.8.6/pbmtpg %{buildroot}%{_bindir}
|
||||
install -p -m 0644 pbm2ppa-0.8.6/pbm2ppa.conf %{buildroot}%{_sysconfdir}
|
||||
install -p -m 0644 pbm2ppa-0.8.6/pbm2ppa.1 %{buildroot}%{_mandir}/man1
|
||||
|
||||
chmod 644 docs/en/LICENSE
|
||||
mkdir -p pbm2ppa
|
||||
@ -93,9 +110,71 @@ done
|
||||
%config(noreplace) %{_sysconfdir}/pbm2ppa.conf
|
||||
|
||||
%changelog
|
||||
* Tue Jul 24 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1:1.04-40
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1:1.13-5
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:1.13-4
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.13-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.13-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Oct 20 2023 Zdenek Dohnal <zdohnal@redhat.com> - 1:1.13-1
|
||||
- rebase to 1.13
|
||||
- license rescan and SPDX conversion
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.04-55
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.04-54
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.04-53
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.04-52
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.04-51
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.04-50
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Thu Nov 05 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1:1.04-49
|
||||
- make is no longer in buildroot by default
|
||||
|
||||
* Tue Aug 04 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1:1.04-48
|
||||
- fix argument reading for non x86_64 archs - use int instead of char
|
||||
|
||||
* Mon Aug 03 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1:1.04-47
|
||||
- add foomatic as a dependency, because pnm2ppa drivers are not available as a driver without it
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.04-46
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Feb 03 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1:1.04-45
|
||||
- FTBFS with GCC 10
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.04-44
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.04-43
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.04-42
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Tue Jul 24 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1:1.04-41
|
||||
- correcting license
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.04-40
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Jul 11 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1:1.04-39
|
||||
- ship license in %%license tag
|
||||
|
2
sources
Normal file
2
sources
Normal file
@ -0,0 +1,2 @@
|
||||
SHA512 (pnm2ppa-1.13.tar.gz) = 8f96792cf7f03fd024db9a8d338f06d7484fa4474c1cd73048c90f0e88ae5540df30e6894c0bbc82dfd87126fc72875b6d71b2031c0e24b343ef88f51d00bb7a
|
||||
SHA512 (ppa-0.8.6.tar.gz) = e23769b340197888d5bce4d6b3d015197c5663d6ece1c2488b91e8f6ef25e21fdb832f54a579ed854ba5482b7e5c2271b9b4975c5593826de15ee34cf6d68cff
|
Loading…
Reference in New Issue
Block a user