Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:15.0:Update
scantailor
scantailor.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File scantailor.spec of Package scantailor
# # spec file for package scantailor # # 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: scantailor Version: 1.0.4 Release: 0 Summary: Interactive post-processing tool for scanned pages License: GPL-3.0-or-later Group: Productivity/Graphics/Other Url: http://scantailor.sourceforge.net/ Source0: https://github.com/4lex4/%{name}-advanced/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{name}-icons.tar.bz2 BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: libqt5-linguist-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5OpenGL) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libtiff-4) BuildRequires: pkgconfig(zlib) %if 0%{?suse_version} >= 1500 BuildRequires: libboost_test-devel >= 1.65.0 %else BuildRequires: boost-devel => 1.65.0 Requires(post): hicolor-icon-theme Requires(postun): hicolor-icon-theme %endif %description Scan Tailor is an interactive post-processing tool for scanned pages. It performs operations such as page splitting, deskewing, adding/removing borders and others. It takes raw scans, and outputs pages ready to be printed or assembled into a PDF or DJVU file. %prep %setup -q -a 1 -n %{name}-advanced-%{version} cp -p resources/icons/{COPYING,COPYING.icons} %build %cmake .. make %{?_smp_mflags} VERBOSE=1 %install %cmake_install for s in 256 128 96 72 64 48 32 16 ; do install -Dm 0644 scantailor-icons/scantailor-${s}.png \ %{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps/scantailor.png done install -Dm 0644 resources/appicon.svg \ %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/scantailor.svg # Create desktop-file cat > %{name}.desktop << EOF [Desktop Entry] Name=Scan Tailor GenericName=Post-Processing Tool for Scanned Pages GenericName[ru]=Обработка отсканированных страниц Type=Application Exec=scantailor Icon=scantailor Categories=Graphics;Scanning;Qt; Comment=Interactive Post-Processing Tool for Scanned Pages Comment[ru]=Интерактивная обработка отсканированных страниц StartupNotify=true Terminal=false EOF %suse_update_desktop_file -i %{name} %if 0%{?suse_version} < 1500 %post %icon_theme_cache_post %postun %icon_theme_cache_postun %endif %files %license LICENSE resources/icons/COPYING.icons %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/*/%{name}.* %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