gtklp-vl.spec 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. %define name gtklp
  2. %define version 1.2.6
  3. %define release 1
  4. Summary: A GTK frontend for CUPS
  5. Summary(ja): GTK CUPS印刷フロントエンド
  6. Name: %name
  7. Version: %version
  8. Release: %release%{_dist_release}
  9. License: GPL
  10. Group: Applications/Publishing
  11. Source0: http://prdownloads.sourceforge.net/gtklp/%name-%version.src.tar.gz
  12. Url: http://www.stud.uni-hannover.de/~sirtobi/gtklp/
  13. Source1: gtklp-icon48.png.bz2
  14. Source2: gtklp-icon32.png.bz2
  15. Source3: gtklp-icon16.png.bz2
  16. Patch0: gtklp-1.2.6_vine_build.patch
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. Buildrequires: cups-devel XOrg-devel atk-devel openssl-devel
  19. Buildrequires: gtk2-devel glib2-devel pango-devel freetype2-devel
  20. Requires: cups XOrg-libs atk glibc openssl cups-libs gtk2 glib2 pango
  21. Requires: freetype2
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. %description
  25. A GTK frontend for CUPS
  26. %description(ja)
  27. gtklp は GNOME デスクトップ向け CUPS 用印刷フロントエンドです。
  28. %prep
  29. %setup -q
  30. %patch0 -p1 -b .build
  31. %build
  32. autoreconf -ivf
  33. %configure
  34. make %{?_smp_mflags}
  35. %install
  36. rm -fr $RPM_BUILD_ROOT
  37. %makeinstall
  38. # menu icon
  39. install -d %{buildroot}/%{_datadir}/pixmaps
  40. bzcat %{SOURCE1}>$RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}_48x48.png
  41. bzcat %{SOURCE2}>$RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}_32x32.png
  42. bzcat %{SOURCE3}>$RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}_16x16.png
  43. %post
  44. %postun
  45. %clean
  46. rm -rf %{buildroot}
  47. %files
  48. %defattr(-,root,root)
  49. %{_bindir}/*
  50. %{_datadir}/pixmaps/*.png
  51. %{_datadir}/locale/*
  52. %{_mandir}/man1/*
  53. %defattr(0644,root,root,755)
  54. %doc AUTHORS BUGS ChangeLog COPYING NEWS README TODO USAGE
  55. %changelog
  56. * Wed May 06 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.6-1
  57. - new upstream release
  58. - new versioning policy
  59. - build with new toolchains
  60. - add patch0 to fix build issue (AC_ERROR)
  61. * Sun Jul 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.2-0vl2
  62. - changed Group to Applications/Publishing
  63. * Thu Jul 06 2006 Satoshi MACHINO <machino@vinelinux.org> 1.2.2-0vl1
  64. - new upstream release
  65. * Sat Aug 20 2005 Satoshi MACHINO <machino@vinelinux.org> 1.0g-0vl1
  66. - new upstream release
  67. * Thu Jul 21 2005 Satoshi MACHINO <machino@vinelinux.org> 1.0f-0vl1
  68. - new upstream release
  69. * Sat Apr 16 2005 Satoshi MACHINO <machino@vinelinux.org> 1.0c-0vl1
  70. - first released for VineLinux