gnome-cups-manager-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. Summary: GNOME CUPS printer management tool
  2. Summary(ja): GNOME CUPS プリンタ管理ツール
  3. Name: gnome-cups-manager
  4. Version: 0.33
  5. Release: 2%{?_dist_release}
  6. License: GPL
  7. Group: Applications/System
  8. URL: http://www.ximian.com
  9. Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{version}/%{name}-%{version}.tar.bz2
  10. Source11: %{name}.desktop
  11. Source100: vine-testpage-a4.eps
  12. Patch10: %{name}-0.31cvs-gksu.patch
  13. Patch11: %{name}-0.30-vine.patch
  14. Patch12: %{name}-0.31cvs-gksu-quote-args.patch
  15. Patch20: gnome-cups-manager-0.31.0-add-printer.patch
  16. Patch21: gnome-cups-manager-0.31.0-gnome-cups-icon.patch
  17. Patch22: gnome-cups-manager-0.31.0-gnome-cups-manager.patch
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  19. BuildRequires: libgnomeui-devel
  20. BuildRequires: libglade2-devel
  21. BuildRequires: libgnomecups-devel
  22. BuildRequires: samba-libsmbclient-devel
  23. BuildRequires: libSM-devel
  24. BuildRequires: desktop-file-utils
  25. Requires: libgnomecups, libgnomeui, libglade2, hicolor-icon-theme, cups
  26. Requires: gksu
  27. #Requires: pam, usermode, usermode-gtk
  28. Obsoletes: printman
  29. Provides: printman
  30. %description
  31. gnome-cups-manager is CUPS printer management tool for GNOME environment.
  32. %description -l ja
  33. gnonme-cups-manager は GNOME 用 CUPS プリンタ管理ツールです。
  34. %package devel
  35. Summary: Development files for GNOME-CUPS library
  36. Summary(ja): GNOME-CUPS 統合ライブラリ用開発ファイル
  37. Group: Development/Libraries
  38. Requires: %{name} = %{version}-%{release}
  39. Provides: libgnomecupsui-devel = %{version}-%{release}
  40. %description devel
  41. Development files for GNOME-CUPS library
  42. %prep
  43. %setup -q
  44. %patch10 -p1 -b .gksu
  45. %patch11 -p1 -b .vine
  46. %patch12 -p1 -b .gksu-quote-args
  47. ## %patch20 -p1 -b .add-printer
  48. %patch21 -p1 -b .gnome-cups-icon
  49. %patch22 -p1 -b .gnome-cups-manager
  50. # copy vine-testpage-a4
  51. cp -f %{SOURCE100} gnome-cups-manager/xd2-testpage-a4.eps
  52. sed -i -e 's/GNOME_COMPILE_WARNINGS(maximum)//g' configure.in
  53. %build
  54. ## intltoolize -f -c
  55. ## autoreconf
  56. %configure
  57. %__make %{?_smp_mflags}
  58. %install
  59. rm -rf $RPM_BUILD_ROOT
  60. %makeinstall
  61. # remove unpackaged files
  62. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  63. %find_lang %{name}
  64. desktop-file-install --vendor=gnome \
  65. --dir %{buildroot}%{_datadir}/applications \
  66. --add-category Application \
  67. --add-category System \
  68. %{SOURCE11}
  69. %clean
  70. rm -rf $RPM_BUILD_ROOT
  71. %post -p /sbin/ldconfig
  72. %postun -p /sbin/ldconfig
  73. %files -f %{name}.lang
  74. %defattr(-,root,root,-)
  75. %doc README ChangeLog NEWS
  76. %{_bindir}/*
  77. %{_sbindir}/*
  78. %{_datadir}/gnome-cups-manager
  79. %{_datadir}/icons/hicolor/48x48/devices/*
  80. %{_datadir}/icons/hicolor/48x48/stock/*
  81. %{_datadir}/pixmaps/*
  82. %{_datadir}/applications/*.desktop
  83. %{_libdir}/*.so.*
  84. %{_libdir}/bonobo/servers/*
  85. #%{_sysconfdir}/security/console.apps/*
  86. #%{_sysconfdir}/pam.d/*
  87. %files devel
  88. %defattr(-,root,root,-)
  89. %{_libdir}/*.so
  90. %{_libdir}/*.a
  91. %{_libdir}/pkgconfig/*
  92. %{_includedir}/*
  93. %changelog
  94. * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.33-2
  95. - rebuild with rpm-4.8.1 for pkg-config file
  96. * Sat Jul 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.33-1
  97. - new upstream release
  98. - add BuildRequires: libSM-devel, desktop-file-utils
  99. - drop Patch20
  100. - comment out (intltoolize and autoreconf)
  101. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 0.31.0.20060307-1vl5
  102. - applied new versioning policy, spec in utf-8
  103. * Tue Aug 28 2007 Shu KONNO <owa@bg.wakwak.com> 0.31.0.20060307-0vl5
  104. - add BuildRequires: samba-libsmbclient-devel
  105. - add Patch20: gnome-cups-manager-0.31.0-add-printer.patch
  106. - add Patch21: gnome-cups-manager-0.31.0-gnome-cups-icon.patch
  107. - add Patch22: gnome-cups-manager-0.31.0-gnome-cups-manager.patch
  108. * Wed May 16 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.31.0.20060307-0vl4
  109. - add Patch12 to fix <BTS:373>
  110. * Mon May 14 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.31.0.20060307-0vl3
  111. - rebuild with new environment/toolchain
  112. * Sat Mar 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.31.0.20060307-0vl2
  113. - fix broken testpage
  114. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.31.0.20060307-0vl1
  115. - update to cvs snapshot
  116. - add vine-testpage-a4.eps
  117. * Sun Mar 27 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.30-0vl1
  118. - new upstream release
  119. * Tue Aug 10 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.22-0vl2
  120. - update Patch11 to use gksu instead of gnomesu (to remove printer)
  121. * Tue Aug 10 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.22-0vl1
  122. - new upstream release
  123. * Sun Aug 01 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.19-0vl1
  124. - new upstream release
  125. - update ja.po
  126. - add Patch11 to not use gnomesu
  127. - use consolehelper for gnome-cups-add
  128. - add Requires to usermode and usermode-gtk
  129. - add Reuiqres to hicolor-icon-theme
  130. * Sun Jul 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.18-0vl2
  131. - copy hicolor icons to gnome2.4 default icon directory
  132. * Mon Jun 21 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.18-0vl1
  133. - new upstream release
  134. * Sun Nov 09 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.17-0vl3
  135. - update ja.po
  136. - add desktop-files
  137. * Sun Nov 09 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.17-0vl2
  138. - update Patch10 to add missing entry to POTFILES
  139. - update ja.po
  140. * Sun Nov 09 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.17-0vl1
  141. - Initial build for Vine Linux