1 |
# $Id: smeserver-sane-0.1.spec,v 1.1 2008/04/15 15:08:35 slords Exp $ |
# $Id: smeserver-sane-0.1.spec,v 1.2 2008/04/18 01:38:09 dungog Exp $ |
2 |
# Authority: dungog |
# Authority: dungog |
3 |
# Name: Stephen Noble |
# Name: Stephen Noble |
4 |
|
|
5 |
%define name smeserver-sane |
%define name smeserver-sane |
6 |
%define version 0.1 |
%define version 0.1 |
7 |
%define release 6 |
%define release 7 |
8 |
Summary: Set up sane for scanner. |
Summary: Set up sane for scanner. |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
14 |
Group: SMEserver/addon |
Group: SMEserver/addon |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
Patch0: smeserver-sane-0.1-six.patch |
Patch0: smeserver-sane-0.1-six.patch |
17 |
|
Patch1: smeserver-sane-0.1-saned.patch |
18 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
20 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
21 |
Requires: e-smith-release >= 7.1 |
Requires: e-smith-release >= 7.1 |
22 |
Requires: sane-backends >= 1.0.17 |
Requires: sane-backends >= 1.0.17 |
23 |
Requires: xinetd >= 2.3.13 |
Requires: smeserver-xinetd |
24 |
AutoReqProv: no |
AutoReqProv: no |
25 |
|
|
26 |
%description |
%description |
27 |
SANE is a universal scanner interface. |
SANE is a universal scanner interface. |
28 |
|
|
29 |
%changelog |
%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 |
* Fri Apr 18 2008 Stephen Noble 0.1-6 |
35 |
- fixes for smecontribs |
- fixes for smecontribs |
36 |
|
|
37 |
* Fri Apr 11 2008 Anne Aublanc 0.1-5 |
* Fri Apr 11 2008 Anne Aublanc 0.1-5 |
38 |
- minor fixes |
- minor fixes |
39 |
|
|
40 |
* Fri Apr 11 2008 Stephen Noble 0.1-4 |
* Fri Apr 11 2008 Stephen Noble 0.1-4 |
41 |
- more fixes |
- more fixes |
42 |
|
|
43 |
* Thu Apr 10 2008 Stephen Noble 0.1-3 |
* Thu Apr 10 2008 Stephen Noble 0.1-3 |
44 |
- more fixes |
- more fixes |
45 |
|
|
46 |
* Wed Apr 09 2008 Stephen Noble 0.1-2 |
* Wed Apr 09 2008 Stephen Noble 0.1-2 |
47 |
- minor fixes |
- minor fixes |
48 |
|
|
52 |
%prep |
%prep |
53 |
%setup |
%setup |
54 |
%patch0 -p1 |
%patch0 -p1 |
55 |
|
%patch1 -p1 |
56 |
|
|
57 |
%build |
%build |
58 |
perl createlinks |
perl createlinks |
64 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
65 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
66 |
|
|
67 |
|
%pre |
68 |
|
/usr/sbin/groupadd \ |
69 |
|
-g 510 saned 2>/dev/null || : |
70 |
|
|
71 |
%clean |
%clean |
72 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
73 |
|
|