hp2xx-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. Name: hp2xx
  2. License: GPL
  3. Group: Applications/Graphics
  4. URL: http://www.gnu.org/software/hp2xx/hp2xx.html
  5. Autoreqprov: on
  6. Version: 3.4.4
  7. Release: 1%{?_dist_release}
  8. Summary: Converts HP-GL Plotter Language into a Variety of Formats
  9. Summary(ja): HPGL 形式のファイルを様々なフォーマットに変換するためのツール
  10. Source: hp2xx-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: XOrg-devel, glibc
  13. BuildRequires: libjpeg-devel, libpng-devel, libtiff-devel, zlib-devel
  14. #Requires: bash2, XOrg-libs, glibc, libjpeg, libpng, libtiff, zlib
  15. Requires: bash, XOrg-libs, glibc, libjpeg, libpng, libtiff, zlib
  16. %description
  17. The hp2xx program is a versatile tool for converting vector-oriented
  18. graphics data given in Hewlett-Packard's HP-GL plotter language into a
  19. variety of popular graphics formats, both vector- and raster-oriented.
  20. %prep
  21. %setup -q
  22. %build
  23. make OPTFLAGS="$RPM_OPT_FLAGS" LFLAGS="-L/usr/X11R6/%{_lib}"
  24. %install
  25. rm -rf $RPM_BUILD_ROOT
  26. mkdir -p $RPM_BUILD_ROOT/{%{_bindir},%{_infodir},%{_mandir}/man1}
  27. make bindir=$RPM_BUILD_ROOT%{_bindir} \
  28. infodir=$RPM_BUILD_ROOT%{_infodir} \
  29. mandir=$RPM_BUILD_ROOT%{_mandir} install
  30. %clean
  31. rm -rf $RPM_BUILD_ROOT
  32. %files
  33. %defattr(-,root,root)
  34. %{_bindir}/hp2xx
  35. %{_mandir}/man1/hp2xx.*
  36. %{_infodir}/hp2xx.*
  37. %doc AUTHORS CHANGES README TODO copying doc/readme doc/changes doc/hp_cmds.lst hp-tests
  38. %post
  39. %postun
  40. %changelog
  41. * Mon Jun 22 2009 Shu KONNO <owa@bg.wakwak.com> 3.4.4-1
  42. - applied new versioning policy, spec in utf-8
  43. * Sun Dec 30 2007 Shu KONNO <owa@bg.wakwak.com> 3.4.4-0vl3
  44. - updated bash2 to bash in script Requires:
  45. * Mon Jun 5 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.4.4-0vl2
  46. - added Japanese summary
  47. - changed Group to Applications/Graphics
  48. * Sun Apr 17 2005 Satoshi MACHINO <machino@vinelinux.org> 3.4.4-0vl1
  49. - initial built for VineLinux