1 |
brianr |
1.2 |
# $Id: smeserver-sane.spec,v 1.1 2020/10/29 12:07:40 brianr Exp $ |
2 |
brianr |
1.1 |
# Authority: dungog |
3 |
|
|
# Name: Stephen Noble |
4 |
|
|
|
5 |
|
|
%define name smeserver-sane |
6 |
|
|
%define version 0.3 |
7 |
brianr |
1.2 |
%define release 2 |
8 |
brianr |
1.1 |
Summary: Set up sane for scanner. |
9 |
|
|
Name: %{name} |
10 |
|
|
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GNU GPL version 2 |
13 |
|
|
URL: http://www.sane-project.org |
14 |
|
|
Group: SMEserver/addon |
15 |
|
|
Source: %{name}-%{version}.tar.gz |
16 |
brianr |
1.2 |
|
17 |
|
|
Patch0: smeserver-sane-0.3-Add-Update-event-to-createlinks.patch |
18 |
|
|
|
19 |
brianr |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version} |
20 |
|
|
BuildArchitectures: noarch |
21 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
22 |
|
|
Requires: e-smith-release >= 7.1 |
23 |
|
|
Requires: sane-backends >= 1.0.17 |
24 |
|
|
Requires: smeserver-xinetd |
25 |
|
|
AutoReqProv: no |
26 |
|
|
|
27 |
|
|
%description |
28 |
|
|
SANE is a universal scanner interface. |
29 |
|
|
|
30 |
|
|
%changelog |
31 |
brianr |
1.2 |
* Wed Nov 10 2021 Brian Read <brianr@bjsystems.co.uk> 0.3-2.sme |
32 |
|
|
- Add -update event to createlinks [SME: 11068] |
33 |
|
|
- initial import to SME10 |
34 |
|
|
|
35 |
brianr |
1.1 |
* Thu Sep 24 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.3-1.sme |
36 |
|
|
- Initial release to contribs9 |
37 |
|
|
|
38 |
|
|
* Fri Apr 18 2008 Shad L. Lords <slords@mail.com> 0.1-7 |
39 |
|
|
- Move xinetd stuff to new package |
40 |
|
|
- Clean up service names |
41 |
|
|
|
42 |
|
|
* Fri Apr 18 2008 Stephen Noble 0.1-6 |
43 |
|
|
- fixes for smecontribs |
44 |
|
|
|
45 |
|
|
* Fri Apr 11 2008 Anne Aublanc 0.1-5 |
46 |
|
|
- minor fixes |
47 |
|
|
|
48 |
|
|
* Fri Apr 11 2008 Stephen Noble 0.1-4 |
49 |
|
|
- more fixes |
50 |
|
|
|
51 |
|
|
* Thu Apr 10 2008 Stephen Noble 0.1-3 |
52 |
|
|
- more fixes |
53 |
|
|
|
54 |
|
|
* Wed Apr 09 2008 Stephen Noble 0.1-2 |
55 |
|
|
- minor fixes |
56 |
|
|
|
57 |
|
|
* Sun Apr 06 2008 Anne Aublanc and JP Pialasse 0.1-1 |
58 |
|
|
- initial release |
59 |
|
|
|
60 |
|
|
%prep |
61 |
|
|
%setup |
62 |
brianr |
1.2 |
%patch0 -p1 |
63 |
brianr |
1.1 |
|
64 |
|
|
%build |
65 |
|
|
perl createlinks |
66 |
|
|
|
67 |
|
|
%install |
68 |
|
|
rm -rf $RPM_BUILD_ROOT |
69 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
70 |
|
|
rm -f %{name}-%{version}-filelist |
71 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
72 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
73 |
|
|
|
74 |
|
|
%pre |
75 |
|
|
/usr/sbin/groupadd \ |
76 |
|
|
-g 510 saned 2>/dev/null || : |
77 |
|
|
|
78 |
|
|
%clean |
79 |
|
|
rm -rf $RPM_BUILD_ROOT |
80 |
|
|
|
81 |
|
|
%files -f %{name}-%{version}-filelist |
82 |
|
|
%defattr(-,root,root) |