1 |
slords |
1.3 |
# $Id: smeserver-sane-0.1.spec,v 1.2 2008/04/18 01:38:09 dungog Exp $ |
2 |
slords |
1.1 |
# Authority: dungog |
3 |
|
|
# Name: Stephen Noble |
4 |
|
|
|
5 |
|
|
%define name smeserver-sane |
6 |
|
|
%define version 0.1 |
7 |
slords |
1.3 |
%define release 7 |
8 |
slords |
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 |
dungog |
1.2 |
Patch0: smeserver-sane-0.1-six.patch |
17 |
slords |
1.3 |
Patch1: smeserver-sane-0.1-saned.patch |
18 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version} |
19 |
|
|
BuildArchitectures: noarch |
20 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
21 |
slords |
1.3 |
Requires: e-smith-release >= 7.1 |
22 |
|
|
Requires: sane-backends >= 1.0.17 |
23 |
|
|
Requires: smeserver-xinetd |
24 |
slords |
1.1 |
AutoReqProv: no |
25 |
|
|
|
26 |
|
|
%description |
27 |
|
|
SANE is a universal scanner interface. |
28 |
|
|
|
29 |
|
|
%changelog |
30 |
slords |
1.3 |
* 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 |
dungog |
1.2 |
* Fri Apr 18 2008 Stephen Noble 0.1-6 |
35 |
|
|
- fixes for smecontribs |
36 |
slords |
1.3 |
|
37 |
slords |
1.1 |
* Fri Apr 11 2008 Anne Aublanc 0.1-5 |
38 |
|
|
- minor fixes |
39 |
slords |
1.3 |
|
40 |
slords |
1.1 |
* Fri Apr 11 2008 Stephen Noble 0.1-4 |
41 |
|
|
- more fixes |
42 |
slords |
1.3 |
|
43 |
slords |
1.1 |
* Thu Apr 10 2008 Stephen Noble 0.1-3 |
44 |
|
|
- more fixes |
45 |
slords |
1.3 |
|
46 |
slords |
1.1 |
* 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 |
dungog |
1.2 |
%patch0 -p1 |
55 |
slords |
1.3 |
%patch1 -p1 |
56 |
dungog |
1.2 |
|
57 |
|
|
%build |
58 |
|
|
perl createlinks |
59 |
slords |
1.1 |
|
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 |
slords |
1.3 |
%pre |
68 |
|
|
/usr/sbin/groupadd \ |
69 |
|
|
-g 510 saned 2>/dev/null || : |
70 |
|
|
|
71 |
slords |
1.1 |
%clean |
72 |
|
|
rm -rf $RPM_BUILD_ROOT |
73 |
|
|
|
74 |
|
|
%files -f %{name}-%{version}-filelist |
75 |
|
|
%defattr(-,root,root) |