source: projects/specs/trunk/h/hpijs/hpijs-vl.spec @ 521

Revision 521, 2.1 KB checked in by daisuke, 12 years ago (diff)

import VineSeed package specs

RevLine 
[521]1Summary:        HP Printer Drivers
2Summary(ja):    HP プリンタ用のドライバ
3Name:           hpijs
4Version:        3.9.4b
5Release:        1%{?_dist_release}
6Source0:        hplip-%{version}.tar.gz
7License:        BSD
8Group:          Applications/Publishing
9URL:            http://hplip.sourceforge.net/
10
11Requires:       ghostscript
12BuildRequires:  python-devel >= 2.3
13BuildRequires:  net-snmp-devel
14BuildRoot:      %{_tmppath}/hplip-%{version}-root
15
16Packager:       kazutaka
17
18%description
19hpijs is a collection of optimized drivers for HP printers.
20hpijs supports the DeskJet 350C, 600C, 600C Photo, 630C, Apollo 2000,
21Apollo 2100, Apollo 2560, DeskJet 800C, DeskJet 825, DeskJet 900,
22PhotoSmart, DeskJet 990C and PhotoSmart 100 series.
23
24%description -l ja
25hpijs は HP プリンタ用に最適化したドライバ集です。
26hpijs がサポートしているプリンタは
27DeskJet 350C, 600C, 600C Photo, 630C, Apollo 2000,
28Apollo 2100, Apollo 2560, DeskJet 800C, DeskJet 825, DeskJet 900,
29PhotoSmart, DeskJet 990C および PhotoSmart 100 シリーズです。
30
31
32%prep
33%setup -q -n hplip-%{version}
34
35
36%build
37%configure --enable-hpijs-only-build \
38           --disable-hpcups-install \
39           --disable-doc-build \
40           --disable-fax-build \
41           --disable-cups-drv-install \
42           --disable-cups-ppd-install \
43           --disable-foomatic-ppd-install \
44           --disable-foomatic-drv-install
45
46%{__make}
47
48%install
49%{__rm} -rf ${RPM_BUILD_ROOT}
50%{__make} install DESTDIR=${RPM_BUILD_ROOT}
51
52# move documents.
53%{__mkdir} ${RPM_BUILD_ROOT}/%{_datadir}/doc/%{name}-%{version}
54%{__mv} ${RPM_BUILD_ROOT}/%{_datadir}/doc/hplip-%{version}/* ${RPM_BUILD_ROOT}/%{_datadir}/doc/%{name}-%{version}
55
56# remove ppd files (configure option ignored...)
57%{__rm} -rf ${RPM_BUILD_ROOT}/%{_datadir}/ppd
58
59# remove unpacked file
60%{__rm} -rf ${RPM_BUILD_ROOT}/%{_libdir}/cups/filter/hpcups
61
62
63%clean
64%{__rm} -rf ${RPM_BUILD_ROOT}
65
66
67%files
68%defattr(-,root,root)
69%doc %{_datadir}/doc/%{name}-%{version}/*
70%{_bindir}/hpijs
71
72%changelog
73* Thu Jul 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.9.4b-1
74- initial build for Vine Linux
75- switch source of hpijs from ghostscript to hplip
Note: See TracBrowser for help on using the repository browser.