pips-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482
  1. Summary: Ghostscript filters for EPSON printers
  2. Summary(ja): EPSON プリンタの ghostscript フィルタ集
  3. Name: pips
  4. %define version 1.3.1
  5. Version: %{version}
  6. Release: 0vl2
  7. License: GPL/LGPL/EAPL
  8. Group: Applications/Publishing
  9. URL: http://www.avasys.jp/linux/
  10. Source1: pips670-%{version}.i386.tgz
  11. Source2: pips750_2000-%{version}.i386.tgz
  12. Source3: pips760-%{version}.i386.tgz
  13. Source4: pips770-%{version}.i386.tgz
  14. Source5: pips780-1.3.i386.tgz
  15. Source6: pips800-%{version}.i386.tgz
  16. Source7: pips820-%{version}.i386.tgz
  17. Source8: pips880-1.3.i386.tgz
  18. Source9: pips900-1.3.i386.tgz
  19. Source10: pips2200-%{version}.i386.tgz
  20. Source11: pips3000-%{version}.i386.tgz
  21. Source12: pips3300-1.3.i386.tgz
  22. Source13: pips3500-1.3.i386.tgz
  23. #Source14: pips720-2.1.i386.tgz
  24. #Source15: pips730-2.5.i386.tgz
  25. #Source16: pips780cs-2.1.i386.tgz
  26. #Source17: pips790-2.0.i386.tgz
  27. #Source18: pips820ug-2.1.i386.tgz
  28. #Source19: pips830-2.5.i386.tgz
  29. #Source20: pips920-2.1.i386.tgz
  30. #Source21: pips3300ug-2.1.i386.tgz
  31. Source22: EAPL.html
  32. Requires: ghostscript vine-printfilters psutils
  33. Obsoletes: ghostscript-epson
  34. ExclusiveArch: i386
  35. BuildPreReq: tar, gzip, perl
  36. Buildroot: %{_tmppath}/%{name}-root
  37. Vendor: Project Vine
  38. Distribution: Vine Linux
  39. %define desc {Ghostscript filter for EPSON printer PM%{printer}C by EPSON AVASYS. Read readmes in %{_docdir}/%{name}-%{printer}-%{version} before using this filters.}
  40. %define descja {エプソンアヴァシス株式会社による、エプソンプリンタPM%{printer}C用の Ghostscript フィルタです。本パッケージのインストール後に printtool でプリンタフィルタの設定を行なって下さい.また印刷条件等の詳細の設定は pips%{printer} コマンドにより行なって下さい.pips%{printer} コマンドや印刷方法の詳細は %{_docdir}/%{name}-%{printer}-%{version}以下の readme ファイルを参照してください.}
  41. %description
  42. Ghostscript filters for EPSON printers, PM-670C, PM-720C, PM-730C,
  43. PM-750C, PM-760C, PM-770C, PM-780C, PM-780CS, PM-790PT, PM-800C,
  44. PM-820C, PM-820C UG, PM-830C, PM-880C, PM-900C, PM-920C, PM-2000C,
  45. PM-2200C, PM-3000C, PM-3300C, PM-3300C UG, PM-3500C by EPSON AVASYS.
  46. Read readmes in %{_docdir}/%{name}-%{version} before using
  47. this filters.
  48. %description -l ja
  49. エプソンアヴァシス株式会社による、エプソンプリンタ用(PM-750C, PM-760C, PM-770C, PM-800C,
  50. PM-820C用, PM-2000C, PM-3000C, PM-3300C )の Ghostscript フィルタ集です。
  51. %{_docdir}/%{name}-%{version} にインストールされているreadme内の使用許諾契約をお読みの
  52. 上お使いください。
  53. %define printer 670
  54. %package PM%{printer}
  55. Summary: Ghostscript filter for EPSON PM%{printer}C
  56. Summary(ja): EPSON PM%{printer}C 用のプリンタフィルタ
  57. Group: Applications/Publishing
  58. Obsoletes: ghostscript-epson
  59. %description PM%{printer}
  60. %{desc}
  61. %description -l ja PM%{printer}
  62. %{descja}
  63. %define printer 750_2000
  64. %package PM%{printer}
  65. Summary: Ghostscript filter for EPSON PM750C and PM2000C
  66. Summary(ja): EPSON PM750C, PM2000C 用のプリンタフィルタ
  67. Group: Applications/Publishing
  68. Obsoletes: ghostscript-epson
  69. %description PM%{printer}
  70. Ghostscript filter for EPSON printer PM750C and PM2000C by EPSON AVASYS.
  71. Read readmes in %{_docdir}/%{name}-%{printer}-%{version} before using
  72. this filters.
  73. %description -l ja PM%{printer}
  74. エプソンアヴァシス株式会社による、エプソンプリンタPM750C, PM2000C用の Ghostscript
  75. フィルタです。本パッケージのインストール後に printtool でプリンタフィルタの設定を行
  76. なって下さい.また印刷条件等の詳細の設定は pips%{printer} コマンドにより行なって下さい.
  77. pips%{printer} コマンドや印刷方法の詳細は %{_docdir}/%{name}-%{printer}-%{version}
  78. 以下の readme ファイルを参照してください.
  79. %define printer 760
  80. %package PM%{printer}
  81. Summary: Ghostscript filter for EPSON PM%{printer}C
  82. Summary(ja): EPSON PM%{printer}C 用のプリンタフィルタ
  83. Group: Applications/Publishing
  84. Obsoletes: ghostscript-epson
  85. %description PM%{printer}
  86. %{desc}
  87. %description -l ja PM%{printer}
  88. %{descja}
  89. %define printer 770
  90. %package PM%{printer}
  91. Summary: Ghostscript filter for EPSON PM%{printer}C
  92. Summary(ja): EPSON PM%{printer}C 用のプリンタフィルタ
  93. Group: Applications/Publishing
  94. Obsoletes: ghostscript-epson
  95. %description PM%{printer}
  96. %{desc}
  97. %description -l ja PM%{printer}
  98. %{descja}
  99. %define printer 780
  100. %package PM%{printer}
  101. Summary: Ghostscript filter for EPSON PM%{printer}C
  102. Summary(ja): EPSON PM%{printer}C 用のプリンタフィルタ
  103. Version: 1.3
  104. Group: Applications/Publishing
  105. Obsoletes: ghostscript-epson
  106. %description PM%{printer}
  107. %{desc}
  108. %description -l ja PM%{printer}
  109. %{descja}
  110. %define printer 800
  111. %package PM%{printer}
  112. Summary: Ghostscript filter for EPSON PM%{printer}C
  113. Summary(ja): EPSON PM%{printer}C 用のプリンタフィルタ
  114. Group: Applications/Publishing
  115. Obsoletes: ghostscript-epson
  116. %description PM%{printer}
  117. %{desc}
  118. %description -l ja PM%{printer}
  119. %{descja}
  120. %define printer 820
  121. %package PM%{printer}
  122. Summary: Ghostscript filter for EPSON PM820C
  123. Summary(ja): EPSON PM820C 用のプリンタフィルタ
  124. Group: Applications/Publishing
  125. Obsoletes: ghostscript-epson
  126. %description PM%{printer}
  127. Ghostscript filter for EPSON printer PM820C by EPSON AVASYS.
  128. Read readmes in %{_docdir}/%{name}-%{printer}-%{version} before using
  129. this filters.
  130. %description -l ja PM%{printer}
  131. エプソンアヴァシス株式会社による、エプソンプリンタPM820C用の Ghostscript
  132. フィルタです。本パッケージのインストール後に printtool でプリンタフィ
  133. ルタの設定を行なって下さい.また印刷条件等の詳細の設定は pips%{printer}
  134. コマンドにより行なって下さい.
  135. pips%{printer} コマンドや印刷方法の詳細は %{_docdir}/%{name}-%{printer}-%{version}
  136. 以下の readme ファイルを参照してください.
  137. %define printer 880
  138. %package PM%{printer}
  139. Summary: Ghostscript filter for EPSON PM%{printer}C
  140. Summary(ja): EPSON PM%{printer}C 用のプリンタフィルタ
  141. Version: 1.3
  142. Group: Applications/Publishing
  143. Obsoletes: ghostscript-epson
  144. %description PM%{printer}
  145. %{desc}
  146. %description -l ja PM%{printer}
  147. %{descja}
  148. %define printer 900
  149. %package PM%{printer}
  150. Summary: Ghostscript filter for EPSON PM%{printer}C
  151. Summary(ja): EPSON PM%{printer}C 用のプリンタフィルタ
  152. Version: 1.3
  153. Group: Applications/Publishing
  154. Obsoletes: ghostscript-epson
  155. %description PM%{printer}
  156. %{desc}
  157. %description -l ja PM%{printer}
  158. %{descja}
  159. %define printer 2200
  160. %package PM%{printer}
  161. Summary: Ghostscript filter for EPSON PM%{printer}C
  162. Summary(ja): EPSON PM%{printer}C 用のプリンタフィルタ
  163. Group: Applications/Publishing
  164. Obsoletes: ghostscript-epson
  165. %description PM%{printer}
  166. %{desc}
  167. %description -l ja PM%{printer}
  168. %{descja}
  169. %define printer 3000
  170. %package PM%{printer}
  171. Summary: Ghostscript filter for EPSON PM%{printer}C
  172. Summary(ja): EPSON PM%{printer}C 用のプリンタフィルタ
  173. Group: Applications/Publishing
  174. Obsoletes: ghostscript-epson
  175. %description PM%{printer}
  176. %{desc}
  177. %description -l ja PM%{printer}
  178. %{descja}
  179. %define printer 3300
  180. %package PM%{printer}
  181. Summary: Ghostscript filter for EPSON PM%{printer}C
  182. Summary(ja): EPSON PM%{printer}C 用のプリンタフィルタ
  183. Version: 1.3
  184. Group: Applications/Publishing
  185. Obsoletes: ghostscript-epson
  186. %description PM%{printer}
  187. %{desc}
  188. %description -l ja PM%{printer}
  189. %{descja}
  190. %define printer 3500
  191. %package PM%{printer}
  192. Summary: Ghostscript filter for EPSON PM%{printer}C
  193. Summary(ja): EPSON PM%{printer}C 用のプリンタフィルタ
  194. Version: 1.3
  195. Group: Applications/Publishing
  196. Obsoletes: ghostscript-epson
  197. %description PM%{printer}
  198. %{desc}
  199. %description -l ja PM%{printer}
  200. %{descja}
  201. %prep
  202. %setup -T -q -c -n pips%{version} -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 9 -a 10 -a 11 -a 12 -a 13
  203. %build
  204. setPath(){
  205. sed \
  206. -e 's|/usr/local/EPKowa/PM670C|/usr/bin|' \
  207. -e 's|/usr/local/EPKowa/PM720C|/usr/bin|' \
  208. -e 's|/usr/local/EPKowa/PM730C|/usr/bin|' \
  209. -e 's|/usr/local/EPKowa/PM750_2000C|/usr/bin|' \
  210. -e 's|/usr/local/EPKowa/PM760C|/usr/bin|' \
  211. -e 's|/usr/local/EPKowa/PM770C|/usr/bin|' \
  212. -e 's|/usr/local/EPKowa/PM780C|/usr/bin|' \
  213. -e 's|/usr/local/EPKowa/PM780CS|/usr/bin|' \
  214. -e 's|/usr/local/EPKowa/PM790PT|/usr/bin|' \
  215. -e 's|/usr/local/EPKowa/PM800C|/usr/bin|' \
  216. -e 's|/usr/local/EPKowa/PM820|/usr/bin|' \
  217. -e 's|/usr/local/EPKowa/PM820CUG|/usr/bin|' \
  218. -e 's|/usr/local/EPKowa/PM830C|/usr/bin|' \
  219. -e 's|/usr/local/EPKowa/PM880C|/usr/bin|' \
  220. -e 's|/usr/local/EPKowa/PM900C|/usr/bin|' \
  221. -e 's|/usr/local/EPKowa/PM920C|/usr/bin|' \
  222. -e 's|/usr/local/EPKowa/PM2200C|/usr/bin|' \
  223. -e 's|/usr/local/EPKowa/PM3000C|/usr/bin|' \
  224. -e 's|/usr/local/EPKowa/PM3300C|/usr/bin|' \
  225. -e 's|/usr/local/EPKowa/PM3300CUG|/usr/bin|' \
  226. -e 's|/usr/local/EPKowa/PM3500C|/usr/bin|' \
  227. $1 > $1.new
  228. mv $1.new $1
  229. }
  230. for i in `ls readme* filter*`; do
  231. setPath $i
  232. done
  233. %install
  234. rm -rf $RPM_BUILD_ROOT
  235. mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib}
  236. mkdir -p $RPM_BUILD_ROOT/usr/share/ghostscript/epson
  237. mkdir -p $RPM_BUILD_ROOT/usr/lib/rhs/rhs-printfilters
  238. #for i in 800 820; do
  239. # install -m 755 libPrt${i}.so $RPM_BUILD_ROOT/usr/lib
  240. # install -m 755 pips${i} $RPM_BUILD_ROOT/usr/bin
  241. # install -m 755 gsconfig${i} $RPM_BUILD_ROOT/usr/bin
  242. # install -m 755 filter${i} $RPM_BUILD_ROOT/usr/lib/rhs/rhs-printfilters
  243. #done
  244. # remove ver 2.x( 720 730 780cs 790 830 920)
  245. for i in 670 750_2000 760 770 780 800 820 880 900 2200 3000 3300 3500; do
  246. install -m 755 libpm${i}c.so $RPM_BUILD_ROOT/usr/lib
  247. install -m 755 pips${i} $RPM_BUILD_ROOT/usr/bin
  248. install -m 755 gsconfig${i} $RPM_BUILD_ROOT/usr/bin
  249. install -m 755 filter${i} $RPM_BUILD_ROOT/usr/lib/rhs/rhs-printfilters
  250. done
  251. #for ug filter
  252. #remove ver 2.x
  253. #for i in 820 3300; do
  254. # install -m 755 libpm${i}cug.so $RPM_BUILD_ROOT/usr/lib
  255. # install -m 755 pips${i}ug $RPM_BUILD_ROOT/usr/bin
  256. # install -m 755 gsconfig${i}ug $RPM_BUILD_ROOT/usr/bin
  257. # install -m 755 filter${i}ug $RPM_BUILD_ROOT/usr/lib/rhs/rhs-printfilters
  258. #done
  259. %clean
  260. rm -rf $RPM_BUILD_ROOT
  261. %define printer 670
  262. %files PM%{printer}
  263. %defattr(-,root,root)
  264. %doc readme%{printer}
  265. /usr/bin/pips%{printer}
  266. /usr/bin/gsconfig%{printer}
  267. /usr/lib/libpm%{printer}c.so
  268. /usr/lib/rhs/rhs-printfilters/filter%{printer}
  269. %define printer 750_2000
  270. %files PM%{printer}
  271. %defattr(-,root,root)
  272. %doc readme%{printer}
  273. /usr/bin/pips%{printer}
  274. /usr/bin/gsconfig%{printer}
  275. /usr/lib/libpm%{printer}c.so
  276. /usr/lib/rhs/rhs-printfilters/filter%{printer}
  277. %define printer 760
  278. %files PM%{printer}
  279. %defattr(-,root,root)
  280. %doc readme%{printer}
  281. /usr/bin/pips%{printer}
  282. /usr/bin/gsconfig%{printer}
  283. /usr/lib/libpm%{printer}c.so
  284. /usr/lib/rhs/rhs-printfilters/filter%{printer}
  285. %define printer 770
  286. %files PM%{printer}
  287. %defattr(-,root,root)
  288. %doc readme%{printer}
  289. /usr/bin/pips%{printer}
  290. /usr/bin/gsconfig%{printer}
  291. /usr/lib/libpm%{printer}c.so
  292. /usr/lib/rhs/rhs-printfilters/filter%{printer}
  293. %define printer 780
  294. %files PM%{printer}
  295. %defattr(-,root,root)
  296. %doc readme%{printer}
  297. /usr/bin/pips%{printer}
  298. /usr/bin/gsconfig%{printer}
  299. /usr/lib/libpm%{printer}c.so
  300. /usr/lib/rhs/rhs-printfilters/filter%{printer}
  301. %define printer 800
  302. %files PM%{printer}
  303. %defattr(-,root,root)
  304. %doc readme%{printer}
  305. /usr/bin/pips%{printer}
  306. /usr/bin/gsconfig%{printer}
  307. /usr/lib/libpm%{printer}c.so
  308. /usr/lib/rhs/rhs-printfilters/filter%{printer}
  309. %define printer 820
  310. %files PM%{printer}
  311. %defattr(-,root,root)
  312. %doc readme%{printer}
  313. /usr/bin/pips%{printer}
  314. /usr/bin/gsconfig%{printer}
  315. /usr/lib/libpm%{printer}c.so
  316. /usr/lib/rhs/rhs-printfilters/filter%{printer}
  317. %define printer 880
  318. %files PM%{printer}
  319. %defattr(-,root,root)
  320. %doc readme%{printer}
  321. /usr/bin/pips%{printer}
  322. /usr/bin/gsconfig%{printer}
  323. /usr/lib/libpm%{printer}c.so
  324. /usr/lib/rhs/rhs-printfilters/filter%{printer}
  325. %define printer 900
  326. %files PM%{printer}
  327. %defattr(-,root,root)
  328. %doc readme%{printer}
  329. /usr/bin/pips%{printer}
  330. /usr/bin/gsconfig%{printer}
  331. /usr/lib/libpm%{printer}c.so
  332. /usr/lib/rhs/rhs-printfilters/filter%{printer}
  333. %define printer 2200
  334. %files PM%{printer}
  335. %defattr(-,root,root)
  336. %doc readme%{printer}
  337. /usr/bin/pips%{printer}
  338. /usr/bin/gsconfig%{printer}
  339. /usr/lib/libpm%{printer}c.so
  340. /usr/lib/rhs/rhs-printfilters/filter%{printer}
  341. %define printer 3000
  342. %files PM%{printer}
  343. %defattr(-,root,root)
  344. %doc readme%{printer}
  345. /usr/bin/pips%{printer}
  346. /usr/bin/gsconfig%{printer}
  347. /usr/lib/libpm%{printer}c.so
  348. /usr/lib/rhs/rhs-printfilters/filter%{printer}
  349. %define printer 3300
  350. %files PM%{printer}
  351. %defattr(-,root,root)
  352. %doc readme%{printer}
  353. /usr/bin/pips%{printer}
  354. /usr/bin/gsconfig%{printer}
  355. /usr/lib/libpm%{printer}c.so
  356. /usr/lib/rhs/rhs-printfilters/filter%{printer}
  357. %define printer 3500
  358. %files PM%{printer}
  359. %defattr(-,root,root)
  360. %doc readme%{printer}
  361. /usr/bin/pips%{printer}
  362. /usr/bin/gsconfig%{printer}
  363. /usr/lib/libpm%{printer}c.so
  364. /usr/lib/rhs/rhs-printfilters/filter%{printer}
  365. %changelog
  366. * Mon May 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.1-0vl2
  367. - rebuild with new rpm
  368. - updated URL, description
  369. - fixed Group: typo
  370. * Wed Jan 23 2002 Jun Nishii <jun@vinelinux.org> 1.3.1-0vl1
  371. - ver.up many filters
  372. * Wed Apr 18 2001 Jun Nishii <jun@vinelinux.org> 1.3-0vl1
  373. - separate to subpackages
  374. - rename ghostscript-epson as pips
  375. * Sun Apr 8 2001 Jun Nishii <jun@vinelinux.org> 1.3-0vl4
  376. - added many newest pips filters(670,780,880,900,2200,3300,3500)
  377. * Thu Jan 25 2001 Jun Nishii <jun@vinelinux.org> 1.3-0vl3
  378. - build for VineSeed
  379. * Thu Jan 25 2001 Jun Nishii <jun@vinelinux.org>
  380. - correct mode of filter*
  381. * Wed Oct 18 2000 Jun Nishii <jun@vinelinux.org>
  382. - 1.3-0vl1
  383. - verup all filters and added some new guys
  384. * Sat Aug 19 2000 Jun Nishii <jun@vinelinux.org>
  385. - build for Vine Linux
  386. - added pips820_3300
  387. - rearrange spec file
  388. * Wed Jul 05 2000 Toru Hoshina <t@kondara.org>
  389. - rebuild against glibc-2.1.90, X-4.0, rpm-3.0.5.
  390. * Wed Jun 14 2000 Daiki Matsuda <dyky@kondara.org>
  391. - update to version 1.1
  392. * Sat Mar 12 2000 Daiki Matsuda <dyky@kondara.org>
  393. - First Release