1 |
brianr |
1.1 |
# $Id: smeserver-sane.spec,v 1.1 2015/09/23 22:03:17 stephdl Exp $ |
2 |
|
|
# Authority: dungog |
3 |
|
|
# Name: Stephen Noble |
4 |
|
|
|
5 |
|
|
%define name smeserver-sane |
6 |
|
|
%define version 0.3 |
7 |
|
|
%define release 1 |
8 |
|
|
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 |
|
|
BuildRoot: /var/tmp/%{name}-%{version} |
17 |
|
|
BuildArchitectures: noarch |
18 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
19 |
|
|
Requires: e-smith-release >= 7.1 |
20 |
|
|
Requires: sane-backends >= 1.0.17 |
21 |
|
|
Requires: smeserver-xinetd |
22 |
|
|
AutoReqProv: no |
23 |
|
|
|
24 |
|
|
%description |
25 |
|
|
SANE is a universal scanner interface. |
26 |
|
|
|
27 |
|
|
%changelog |
28 |
|
|
* Thu Sep 24 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.3-1.sme |
29 |
|
|
- Initial release to contribs9 |
30 |
|
|
|
31 |
|
|
* Fri Apr 18 2008 Shad L. Lords <slords@mail.com> 0.1-7 |
32 |
|
|
- Move xinetd stuff to new package |
33 |
|
|
- Clean up service names |
34 |
|
|
|
35 |
|
|
* Fri Apr 18 2008 Stephen Noble 0.1-6 |
36 |
|
|
- fixes for smecontribs |
37 |
|
|
|
38 |
|
|
* Fri Apr 11 2008 Anne Aublanc 0.1-5 |
39 |
|
|
- minor fixes |
40 |
|
|
|
41 |
|
|
* Fri Apr 11 2008 Stephen Noble 0.1-4 |
42 |
|
|
- more fixes |
43 |
|
|
|
44 |
|
|
* Thu Apr 10 2008 Stephen Noble 0.1-3 |
45 |
|
|
- more fixes |
46 |
|
|
|
47 |
|
|
* Wed Apr 09 2008 Stephen Noble 0.1-2 |
48 |
|
|
- minor fixes |
49 |
|
|
|
50 |
|
|
* Sun Apr 06 2008 Anne Aublanc and JP Pialasse 0.1-1 |
51 |
|
|
- initial release |
52 |
|
|
|
53 |
|
|
%prep |
54 |
|
|
%setup |
55 |
|
|
|
56 |
|
|
%build |
57 |
|
|
perl createlinks |
58 |
|
|
|
59 |
|
|
%install |
60 |
|
|
rm -rf $RPM_BUILD_ROOT |
61 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
62 |
|
|
rm -f %{name}-%{version}-filelist |
63 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
64 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
65 |
|
|
|
66 |
|
|
%pre |
67 |
|
|
/usr/sbin/groupadd \ |
68 |
|
|
-g 510 saned 2>/dev/null || : |
69 |
|
|
|
70 |
|
|
%clean |
71 |
|
|
rm -rf $RPM_BUILD_ROOT |
72 |
|
|
|
73 |
|
|
%files -f %{name}-%{version}-filelist |
74 |
|
|
%defattr(-,root,root) |