54 lines
1.6 KiB
RPMSpec
54 lines
1.6 KiB
RPMSpec
Name: simple-scan
|
|
Version: 3.38.5
|
|
Release: 1
|
|
Summary: Simple scanning utility
|
|
|
|
License: GPLv3+
|
|
URL: https://launchpad.net/%{name}
|
|
Source0: https://download.gnome.org/sources/%{name}/3.38/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: meson sane-backends-devel gettext itstool
|
|
BuildRequires: libappstream-glib desktop-file-utils vala
|
|
BuildRequires: pkgconfig(colord)
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
BuildRequires: pkgconfig(gudev-1.0)
|
|
BuildRequires: pkgconfig(libwebpmux)
|
|
BuildRequires: pkgconfig(packagekit-glib2) >= 1.1.5
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
Requires: xdg-utils
|
|
|
|
%description
|
|
Simple Scan is an easy-to-use application, designed to let users connect their
|
|
scanner and quickly have the image/document in an appropriate format.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
%find_lang %{name} --with-man --with-gnome
|
|
|
|
%check
|
|
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/%{name}.appdata.xml
|
|
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
|
|
|
%files -f %{name}.lang
|
|
%doc NEWS README.md
|
|
%license COPYING
|
|
%{_mandir}/man1/%{name}.1*
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.SimpleScan.svg
|
|
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.SimpleScan-symbolic.svg
|
|
%{_datadir}/metainfo/%{name}.appdata.xml
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.SimpleScan.gschema.xml
|
|
|
|
%changelog
|
|
* Mon May 24 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.5-1
|
|
- Package init with 3.38.5
|