ppt-vl.spec 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. Summary: PostScript projector (not PowerPoint :-)
  2. Name: ppt
  3. Version: 0.0.0
  4. Release: 1%{?_dist_release}
  5. URL: http://www.blue.sky.or.jp/
  6. Source0: http://www.blue.sky.or.jp/.tmp/%{name}.tar.gz
  7. Source1: ppt-LICENSE
  8. License: distributable
  9. Group: Applications/Publishing
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. Requires: ghostscript
  14. BuildRequires: XOrg-devel
  15. Patch0: ppt-0.0.0-next-page.patch
  16. Patch1: ppt-0.0.0-previous-page.patch
  17. %description
  18. PostScript projector (not PowerPoint :-)
  19. %prep
  20. %setup -q -n %{name}
  21. cp -a %{SOURCE1} ./LICENSE
  22. %patch0 -p0 -b .next
  23. %patch1 -p0 -b .previous
  24. %build
  25. make CFLAGS="$RPM_OPT_FLAGS" LIBS='-I/usr/include -L%{_libdir} -lX11'
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. mkdir -p %{buildroot}%{_bindir}
  29. install -m0755 ppt %{buildroot}%{_bindir}
  30. %clean
  31. rm -rf $RPM_BUILD_ROOT
  32. %files
  33. %defattr(-,root,root)
  34. %doc LICENSE
  35. %{_bindir}/ppt
  36. %changelog
  37. * Fri Oct 10 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.0-1vl5
  38. - applied new versioning policy
  39. * Fri Dec 28 2007 Shu KONNO <owa@bg.wakwak.com> 0.0.0-0vl4
  40. - updated lib to %{_lib} in make options
  41. * Sat Jun 4 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.0-0vl3
  42. - rebuild with new toolchain
  43. - changed Group to Applications/Publishing
  44. - changed BuildRequires to XOrg-devel
  45. * Fri May 2 2003 IWAI Masaharu <iwai@alib.jp> 0.0.0-0vl2
  46. - rebuild with new toolchain
  47. * Sun Oct 20 2002 IWAI Masaharu <iwai@alib.jp> 0.0.0-0vl1
  48. - first build for Vine Linux
  49. - add Requires: ghostscript
  50. - add BuildRequires: XFree86-devel
  51. * Sun Oct 20 2002 IWAI Masaharu <iwai@alib.jp> 0.0.0-2
  52. - add LICENSE file from [lilo:18219]
  53. - add next page patch(Patch0) from [lilo:18350]
  54. - add previous page patch(Patch1)[lilo:18515]
  55. * Sun Oct 20 2002 IWAI Masaharu <iwai@alib.jp> 0.0.0-1
  56. - Initial build.