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