1 |
dungog |
1.2 |
# $Id: smeserver-sane-0.1.spec,v 1.1 2008/04/15 15:08:35 slords Exp $ |
2 |
slords |
1.1 |
# Authority: dungog |
3 |
|
|
# Name: Stephen Noble |
4 |
|
|
|
5 |
|
|
%define name smeserver-sane |
6 |
|
|
%define version 0.1 |
7 |
dungog |
1.2 |
%define release 6 |
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.1 |
BuildRoot: /var/tmp/%{name}-%{version} |
18 |
|
|
BuildArchitectures: noarch |
19 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
20 |
|
|
Requires: e-smith-release >= 7.1 |
21 |
|
|
Requires: sane-backends >= 1.0.17 |
22 |
|
|
Requires: xinetd >= 2.3.13 |
23 |
|
|
AutoReqProv: no |
24 |
|
|
|
25 |
|
|
%description |
26 |
|
|
SANE is a universal scanner interface. |
27 |
|
|
|
28 |
|
|
%changelog |
29 |
dungog |
1.2 |
* Fri Apr 18 2008 Stephen Noble 0.1-6 |
30 |
|
|
- fixes for smecontribs |
31 |
slords |
1.1 |
* Fri Apr 11 2008 Anne Aublanc 0.1-5 |
32 |
|
|
- minor fixes |
33 |
|
|
* Fri Apr 11 2008 Stephen Noble 0.1-4 |
34 |
|
|
- more fixes |
35 |
|
|
* Thu Apr 10 2008 Stephen Noble 0.1-3 |
36 |
|
|
- more fixes |
37 |
|
|
* Wed Apr 09 2008 Stephen Noble 0.1-2 |
38 |
|
|
- minor fixes |
39 |
|
|
|
40 |
|
|
* Sun Apr 06 2008 Anne Aublanc and JP Pialasse 0.1-1 |
41 |
|
|
- initial release |
42 |
|
|
|
43 |
|
|
%prep |
44 |
|
|
%setup |
45 |
dungog |
1.2 |
%patch0 -p1 |
46 |
|
|
|
47 |
|
|
%build |
48 |
|
|
perl createlinks |
49 |
slords |
1.1 |
|
50 |
|
|
%install |
51 |
|
|
rm -rf $RPM_BUILD_ROOT |
52 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
53 |
|
|
rm -f %{name}-%{version}-filelist |
54 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
55 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
56 |
|
|
|
57 |
|
|
%clean |
58 |
|
|
rm -rf $RPM_BUILD_ROOT |
59 |
|
|
|
60 |
|
|
%files -f %{name}-%{version}-filelist |
61 |
|
|
%defattr(-,root,root) |