!3 Package init with 3.38.5
From: @weijin-deng Reviewed-by: @dwl301 Signed-off-by: @dwl301
This commit is contained in:
commit
4e9b92c437
BIN
simple-scan-3.38.5.tar.xz
Normal file
BIN
simple-scan-3.38.5.tar.xz
Normal file
Binary file not shown.
53
simple-scan.spec
Normal file
53
simple-scan.spec
Normal file
@ -0,0 +1,53 @@
|
||||
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
|
||||
Loading…
x
Reference in New Issue
Block a user