Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
graphics
pgfconsole
pgfconsole.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pgfconsole.spec of Package pgfconsole
# # spec file for package pgfconsole # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define so_ver 7 %define lib_name libpgf %define lib_ver 7.19.3 Name: pgfconsole Version: 6.19.3 Release: lp151.10.1 Summary: Console utility for Progressive Graphics File conversion License: GPL-2.0-only Requires: libpgf%{so_ver} >= %{lib_ver} Group: Productivity/Graphics/Other URL: http://www.libpgf.org/ Source0: https://sourceforge.net/projects/%{lib_name}/files/%{lib_name}/%{lib_ver}-latest/libPGF-codec-and-console-src.zip Patch0: pgfconsole.patch BuildRequires: libpgf%{so_ver} BuildRequires: libpgf-devel BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: graphviz BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: unzip BuildRequires: freeimage-devel BuildRequires: libfreeimage3 BuildRequires: libfreeimageplus3 %description pgfconsole is a console utility for encoding and decoding of Progressive Graphics Files using the libpgf library. %prep %setup -q -n libPGF-codec-and-console-src %patch0 -p1 cd PGF/Console/ # Fix rpmlint warning "wrong-file-end-of-line-encoding" sed -i 's/\r$//' README # Remove build time references so build-compare can do its work echo "HTML_TIMESTAMP = NO" >> doc/Doxyfile.in cd ./src #ln -s ../../Codec/include/ ./libpgf %build cd PGF/Console/ sh autogen.sh %configure --disable-static make %{?_smp_mflags} %install cd PGF/Console/ %make_install mkdir -p "%buildroot/%_docdir/pgfconsole" mv "%buildroot/usr/share/doc/pgf-6.15.29" "%buildroot/%_docdir/pgfconsole" # Remove unused file rm "%buildroot/usr/bin/pkgconfig/pgf.pc" %__ln_s /usr/bin/pgf %{buildroot}/usr/bin/pgfconsole %files %license PGF/Console/COPYING %doc PGF/Console/README %doc /%_docdir/pgfconsole/* %attr(755,root,root) %{_bindir}/pgf %{_bindir}/pgfconsole %changelog * Sat Jan 11 2020 brassh@web.de - Initial package (version 6.19.3) for build.opensuse.org
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor