]>
Commit | Line | Data |
---|---|---|
f95cbba5 PZ |
1 | Summary: Simple scanning utility |
2 | Name: simple-scan | |
a5991f28 | 3 | Version: 3.28.0 |
cee7157a | 4 | Release: 1 |
e8a71aba | 5 | License: GPL v3+ |
f95cbba5 | 6 | Group: Applications/Multimedia |
a5991f28 MB |
7 | Source0: https://download.gnome.org/sources/simple-scan/3.28/%{name}-%{version}.tar.xz |
8 | # Source0-md5: 1313de249d70d7fc844ef485603f4977 | |
f95cbba5 | 9 | URL: https://launchpad.net/simple-scan |
77636b93 | 10 | BuildRequires: PackageKit-devel |
f95cbba5 | 11 | BuildRequires: autoconf |
77636b93 | 12 | BuildRequires: automake >= 1:1.11 |
a0d84beb MB |
13 | BuildRequires: cairo-devel |
14 | BuildRequires: colord-devel | |
15 | BuildRequires: gdk-pixbuf2-devel | |
24b031e0 | 16 | BuildRequires: gettext-tools |
a5991f28 | 17 | BuildRequires: glib2-devel >= 1:2.38.0 |
82434b7b | 18 | BuildRequires: gnome-common |
f95cbba5 | 19 | BuildRequires: gnome-doc-utils |
a5991f28 MB |
20 | BuildRequires: gtk+3-devel >= 3.12.0 |
21 | BuildRequires: itstool | |
22 | BuildRequires: libgusb-devel >= 0.2.7 | |
5d75b172 | 23 | BuildRequires: libjpeg-devel |
a5991f28 MB |
24 | BuildRequires: libwebp-devel |
25 | BuildRequires: meson >= 0.37.1 | |
5d75b172 | 26 | BuildRequires: pkgconfig |
4c5c96bc | 27 | BuildRequires: rpmbuild(macros) >= 1.198 |
f95cbba5 | 28 | BuildRequires: sane-backends-devel |
cee7157a | 29 | BuildRequires: vala >= 2:0.22.0 |
a5991f28 MB |
30 | BuildRequires: vala-colord |
31 | BuildRequires: vala-libgusb | |
998189ab | 32 | BuildRequires: yelp-tools |
82434b7b | 33 | BuildRequires: zlib-devel |
a0d84beb | 34 | Requires(post,postun): glib2 >= 1:2.26.0 |
f95cbba5 | 35 | Requires: gnome-icon-theme |
a0d84beb | 36 | Suggests: colord |
e8a71aba | 37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
f95cbba5 PZ |
38 | |
39 | %description | |
40 | Simple Scan is an easy-to-use application, designed to let users | |
41 | connect their scanner and quickly have the image/document in an | |
42 | appropriate format. | |
43 | ||
44 | %prep | |
45 | %setup -q | |
46 | ||
47 | %build | |
a5991f28 MB |
48 | %meson build |
49 | %meson_build -C build | |
f95cbba5 PZ |
50 | |
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
82434b7b | 53 | |
a5991f28 | 54 | %meson_install -C build |
82434b7b | 55 | |
f95cbba5 PZ |
56 | %find_lang %{name} --with-gnome |
57 | ||
f95cbba5 PZ |
58 | %clean |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
a0d84beb MB |
61 | %post |
62 | %glib_compile_schemas | |
63 | ||
64 | %postun | |
65 | %glib_compile_schemas | |
66 | ||
f95cbba5 PZ |
67 | %files -f %{name}.lang |
68 | %defattr(644,root,root,755) | |
cee7157a | 69 | %doc NEWS README.md |
82434b7b | 70 | %attr(755,root,root) %{_bindir}/simple-scan |
f95cbba5 | 71 | %{_mandir}/man1/simple-scan.1* |
f95cbba5 | 72 | %{_desktopdir}/simple-scan.desktop |
a5991f28 | 73 | %{_datadir}/metainfo/simple-scan.appdata.xml |
a0d84beb | 74 | %{_datadir}/glib-2.0/schemas/org.gnome.SimpleScan.gschema.xml |
82434b7b | 75 | %{_datadir}/simple-scan |