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
|
||||
10
.gitignore
vendored
10
.gitignore
vendored
@ -1,3 +1,7 @@
|
||||
SOURCES/potrace-1.15.tar.gz
|
||||
SOURCES/potrace.pdf
|
||||
SOURCES/potracelib.pdf
|
||||
/potrace-1.12.tar.gz
|
||||
/potracelib.pdf
|
||||
/potrace.pdf
|
||||
/potrace-1.13.tar.gz
|
||||
/potrace-1.14.tar.gz
|
||||
/potrace-1.15.tar.gz
|
||||
/potrace-1.16.tar.gz
|
||||
|
||||
@ -1,3 +0,0 @@
|
||||
1a0a4faca17370731b939487847662c8ed1b660d SOURCES/potrace-1.15.tar.gz
|
||||
8ec6d0532295fd1c322395b5bc836cfe9edea3c0 SOURCES/potrace.pdf
|
||||
6722feed0793dad4327f2c4f0f7e89733bc38458 SOURCES/potracelib.pdf
|
||||
File diff suppressed because it is too large
Load Diff
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
5
plans/potrace.fmf
Normal file
5
plans/potrace.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
summary: Basic smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
@ -1,20 +1,18 @@
|
||||
Name: potrace
|
||||
Version: 1.15
|
||||
Release: 3%{?dist}
|
||||
Version: 1.16
|
||||
Release: 16%{?dist}
|
||||
Summary: Transform bitmaps into vector graphics
|
||||
Group: Applications/Multimedia
|
||||
# README defines license as GPLv2+
|
||||
License: GPLv2+
|
||||
# potrace/potrace-1.16/src/getopt.c is LGPL-2.0-or-later
|
||||
License: GPL-2.0-or-later AND LGPL-2.0-or-later
|
||||
URL: http://potrace.sourceforge.net
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
# Documentation
|
||||
Source1: http://potrace.sourceforge.net/potrace.pdf
|
||||
Source2: http://potrace.sourceforge.net/potracelib.pdf
|
||||
# Patch for supporting 64 bit ARM from upstream
|
||||
Patch0: potrace-1.11-autoconf.diff
|
||||
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: zlib-devel
|
||||
|
||||
%description
|
||||
@ -35,7 +33,6 @@ the input for better tracing behavior on greyscale and color images.
|
||||
|
||||
%package devel
|
||||
Summary: Potrace development library and headers
|
||||
Group: Applications/Multimedia
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
@ -44,7 +41,6 @@ This package contains the potrace development library and headers.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation on how to use the potrace library
|
||||
Group: Documentation
|
||||
%if 0%{?fedora} > 10 || 0%{?rhel} > 5
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
@ -61,21 +57,17 @@ cp -a %{SOURCE2} .
|
||||
%build
|
||||
%configure --enable-shared --disable-static \
|
||||
--enable-metric --with-libpotrace --with-pic
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make install DESTDIR=%{buildroot}
|
||||
%make_install
|
||||
find %{buildroot} -name *.la -exec rm -rf {} \;
|
||||
|
||||
# Get rid of installed copy of placement.pdf
|
||||
rm -rf %{buildroot}%{_docdir}/%{name}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README doc/placement.pdf
|
||||
%{_bindir}/potrace
|
||||
%{_bindir}/mkbitmap
|
||||
@ -84,17 +76,74 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man1/mkbitmap.1*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libpotrace.so
|
||||
%{_includedir}/potracelib.h
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc potrace.pdf potracelib.pdf
|
||||
|
||||
%changelog
|
||||
* Wed Jun 03 2020 Jan Horak <jhorak@redhat.com> - 1.15-3
|
||||
- Fixing build for flatpak (rhbz#1840788)
|
||||
* Tue Dec 03 2024 Parag Nemade <pnemade AT redhat DOT com> - 1.16-16
|
||||
- Resolves: RHEL-60823, Move potrace-devel to CRB repository
|
||||
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.16-15
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.16-14
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Wed May 08 2024 Than Ngo <than@redhat.com> - 1.16-13
|
||||
- Resolves: RHEL-35824, convert license to SPDX
|
||||
|
||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 1.16-3
|
||||
- Use make macros
|
||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sat Sep 28 2019 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.16-1
|
||||
- Update to 1.16.
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 28 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.15-3
|
||||
- Added gcc buildrequires.
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
3
sources
Normal file
3
sources
Normal file
@ -0,0 +1,3 @@
|
||||
SHA512 (potrace.pdf) = 6ab79dd11016785da77f7e37187fecb9d0b99bf13c331327ff936ff5dae34f867f191b561c78216941f4063714d7379bb14b356a2af088ecaf76cb0d3f65562c
|
||||
SHA512 (potracelib.pdf) = 191d362bedfecc2748d365c6d4867c31e13fe8b5c575c357031b187757a068dc817a88f231cd1e29d2e77596414e50a429a427db3f5df05b9a0a45e3fc12a942
|
||||
SHA512 (potrace-1.16.tar.gz) = 10d85ed3fada80951223c65e923b5e6ee3e76e071575971d5b09b996b477ec5ff2403e0337c44963c6b441cc3ba6c4f7009541124a25c16b7721fdebd1f774b9
|
||||
5
tests/main.fmf
Normal file
5
tests/main.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
test: ./runtests.sh
|
||||
duration: 10m
|
||||
framework: beakerlib
|
||||
require:
|
||||
- potrace
|
||||
29
tests/runtests.sh
Executable file
29
tests/runtests.sh
Executable file
@ -0,0 +1,29 @@
|
||||
#!/bin/bash
|
||||
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
|
||||
rlRun "cp test.pbm $tmp/"
|
||||
rlRun "pushd $tmp"
|
||||
rlRun "set -o pipefail"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
rlRun "potrace --help" 0 "Check help message"
|
||||
rlRun "potrace --version" 0 "Check version message"
|
||||
rlRun "potrace --license" 0 "Check license message"
|
||||
rlRun "potrace test.pbm" 0 "Check basic functionality"
|
||||
rlRun "potrace test.pbm -b svg" 0 "Check svg"
|
||||
rlRun "potrace test.pbm -b pdf" 0 "Check pdf"
|
||||
rlRun "potrace test.pbm -b eps" 0 "Check eps"
|
||||
rlRun "potrace test.pbm -b pgm" 0 "Check pgm"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartCleanup
|
||||
rlRun "popd"
|
||||
rlRun "rm -r $tmp" 0 "Remove tmp directory"
|
||||
rlPhaseEnd
|
||||
rlJournalEnd
|
||||
|
||||
29
tests/test.eps
Normal file
29
tests/test.eps
Normal file
@ -0,0 +1,29 @@
|
||||
%!PS-Adobe-3.0 EPSF-3.0
|
||||
%%Creator: potrace 1.16, written by Peter Selinger 2001-2019
|
||||
%%LanguageLevel: 2
|
||||
%%BoundingBox: 0 0 100 100
|
||||
%%HiResBoundingBox: 0 0 100.000000 100.000000
|
||||
%%Pages: 1
|
||||
%%EndComments
|
||||
%%Page: 1 1
|
||||
currentfile /ASCII85Decode filter /LZWDecode filter cvx exec
|
||||
J/lc\@jia36p6os-K?5!aCR.L@HM5X8G7'_Rgk/$,T)ho0q6GnR,f*WHT4QlU@Ws&Afqrs$
|
||||
:4h$OrH%kbbgS4!L3(`1eQ&KZQ[iV+;tM3o.t+1fh)fNBp@jbL5ABuL^n&r&:iPI1X[d01S
|
||||
B860V)?A'!l<?@S77O%&^Z/!;^Cc#RV3NEU:PO3R;@#M5C8<D3^M"@bK#+]dl+7bB0//8@f
|
||||
ouSW=?GKWNIG)i-*M$Pncq%^T:1!tg80>\#[^[5S,F`,RiEdUm)'!9V6VQfVh2!Oi"^FZD_
|
||||
tLA>-$.69@Rbe1QK9<"`#a$o//G)K+5W9[0^m>S-jHd/-M)BID+V54`#`VuqKLP9['qWD$'
|
||||
/X,2$/cg;W3Mg1%p8#C^Ld8VfM9sP5MSn3`]Srgl`pUP!EmFqLOE+A`%rg#6Su#pnp9V-PP
|
||||
N\qt$S+QMVJh\'&2Rg0hW544dT/3C.lc%DM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