Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
engauge-digitizer
engauge-digitizer.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File engauge-digitizer.spec of Package engauge-digitizer
# # spec file for package engauge-digitizer # # Copyright (c) 2018 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 http://bugs.opensuse.org/ # Name: engauge-digitizer Version: 10.4 Release: 0 Summary: Ditigize old graphs into numbers again License: GPL-2.0-or-later Group: Productivity/Scientific/Other Url: http://markummitchell.github.io/engauge-digitizer/ Source0: https://github.com/markummitchell/%{name}/archive/v%{version}.tar.gz Source1: %{name}-rpmlintrc BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: icns-utils BuildRequires: optipng BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Help) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Sql) BuildRequires: pkgconfig(Qt5UiTools) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(fftw3) BuildRequires: pkgconfig(libopenjp2) BuildRequires: pkgconfig(log4cpp) BuildRequires: pkgconfig(poppler-qt5) Requires(post): desktop-file-utils Requires(postun): desktop-file-utils Suggests: %{name}-doc BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This open source, digitizing software converts an image file showing a graph or map, into numbers. The image file can come from a scanner, digital camera or screenshot. The numbers can be read on the screen, and written or copied to a spreadsheet. %package doc Summary: Documentation for Engauge Digitizer Group: Documentation/HTML Requires: %{name} = %{version} BuildArch: noarch %description doc This package contains the documentation for Engauge Digitizer. %package devel-doc Summary: Development documentation for Engauge Digitizer Group: Documentation/HTML Requires: %{name} = %{version} BuildArch: noarch %description devel-doc This package contains the development documentation for Engauge Digitizer. %prep %setup -q %build # ADD JPEG2000 SUPPORT export OPENJPEG_INCLUDE=$(pkg-config --cflags-only-I libopenjp2 | sed -e 's@-I\(\S\+\).*@\1@g') export OPENJPEG_LIB=%{_libdir} export POPPLER_INCLUDE=%{_includedir}/poppler/qt5 export POPPLER_LIB=%{_libdir} qmake-qt5 engauge.pro \ "DEFINES+=HELPDIR=%{_docdir}/%{name}/" \ QMAKE_CFLAGS="%optflags -fno-strict-aliasing" \ QMAKE_CXXFLAGS="%optflags -fno-strict-aliasing" \ CONFIG+="pdf jpeg2000" make %{?_smp_mflags} # HELP files pushd help # CRLF -> LF sed -i 's/\r$//' engauge.qhcp dateformats.css dateformats.html optipng -o2 *png qcollectiongenerator-qt5 engauge.qhcp -o engauge.qhc mv engauge.qch engauge.qhc ../ rm build build.mingw engauge.qhcp .gitignore popd # Generate source code documentation in HTML format pushd src sed -i 's/\(GENERATE_LATEX.*\)=.*/\1 = NO/' Doxyfile doxygen popd %install install -Dm 755 bin/engauge %{buildroot}%{_bindir}/engauge # INSTALL HI-RES ICONS pushd src/img icns2png -x digitizer.icns for sz in 16 32 128 256 512; do install -Dm 0644 digitizer_${sz}x${sz}x32.png %{buildroot}%{_datadir}/icons/hicolor/${sz}x${sz}/apps/%{name}.png done popd %suse_update_desktop_file -i %{name} # INSTALL APPDATA install -Dm 0644 dev/gnome/engauge-digitizer.appdata.xml \ %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml %fdupes -s doc/doxygen/html %post %icon_theme_cache_post %desktop_database_post %postun %icon_theme_cache_postun %desktop_database_postun %files %defattr(-,root,root) %doc README.md engauge.qhc engauge.qch %license LICENSE %{_bindir}/engauge %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/applications/%{name}.desktop %dir %{_datadir}/appdata %{_datadir}/appdata/%{name}.appdata.xml %files doc %doc help %files devel-doc %doc doc/doxygen/html %changelog
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