xfprint-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. Name: xfprint
  2. Summary: Print dialog and printer manager for XFce 4
  3. Version: 4.6.1
  4. Release: 3%{?_dist_release}
  5. Group: User Interface/Desktops
  6. License: GPLv2+
  7. URL: http://www.xfce.org/
  8. Source0: http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: cups-devel
  11. BuildRequires: glib2-devel >= 2.10.0
  12. BuildRequires: libxfce4util-devel >= 4.6.0
  13. BuildRequires: libxfcegui4-devel >= 4.6.0
  14. BuildRequires: xfconf-devel >= 4.6.0
  15. Requires: glib2 >= 2.10.0
  16. Requires: libxfce4util >= 4.6.0
  17. Requires: libxfcegui4 >= 4.6.0
  18. Requires: cups
  19. %description
  20. xfprint contains a print dialog and a printer manager for the XFce 4 Desktop Environment
  21. %prep
  22. %setup -q
  23. %build
  24. %configure
  25. make LIBS="-lX11"
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
  29. %find_lang %{name}
  30. ## remove unuse files
  31. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  32. #rm -rf $RPM_BUILD_ROOT%{_libdir}/xfce4/mcs-plugins/*.la
  33. rm -rf $RPM_BUILD_ROOT%{_libdir}/xfce4/xfprint-plugins/*.la
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %post
  37. /sbin/ldconfig
  38. touch --no-create %{_datadir}/icons/hicolor
  39. %posttrans
  40. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  41. %postun
  42. /sbin/ldconfig
  43. if [ $1 -eq 0 ] ; then
  44. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  45. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  46. fi
  47. %files -f %{name}.lang
  48. %defattr(-,root,root)
  49. %doc README ChangeLog NEWS COPYING AUTHORS TODO
  50. %{_bindir}/*
  51. %{_includedir}/xfce4/libxfprint
  52. %{_libdir}/libxfprint*
  53. %{_libdir}/xfce4
  54. %{_libdir}/pkgconfig/*.pc
  55. %{_datadir}/applications/*.desktop
  56. %{_datadir}/gtk-doc/html/libxfprint
  57. %{_datadir}/icons/hicolor/*/devices/*
  58. %{_datadir}/xfce4/doc
  59. %changelog
  60. * Sat Apr 2 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-3
  61. - rebuild with krb5-libs-1.8.2
  62. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.6.1-2
  63. - rebuild with rpm-4.8.1 for pkg-config file
  64. * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1
  65. - new upstream release
  66. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 4.4.2-1vl5
  67. - applied new versioning policy
  68. - removed *.la
  69. * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.2-0vl2
  70. - new upstream release.
  71. * Mon Aug 6 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl4
  72. - rebuild for VineSeed
  73. * Mon Aug 6 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl3
  74. - add cups to Requires
  75. - add cups-devel to BuildRequires
  76. * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl2
  77. - build for VineSeed
  78. * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl1
  79. - new upstream version
  80. * Sat Dec 10 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.3-0vl1
  81. - new upstream release
  82. * Mon Jun 13 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.2-0vl2
  83. - new upstream release
  84. * Thu Mar 31 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.1-0vl2
  85. - new upstream release
  86. * Sun Jan 23 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.0-0vl2
  87. - new upstream release
  88. * Mon Jul 12 2004 UECHI Yasumasa <uechi@potaway.net> 4.0.6-0vl1
  89. - new upstream release
  90. * Mon Apr 19 2004 UECHI Yasumasa <uechi@potaway.net> 4.0.5-0vl1
  91. - new upstream release
  92. * Mon Mar 22 2004 UECHI Yasumasa <uechi@potaway.net> 4.0.4-0vl1
  93. - new upstream release
  94. * Fri Jan 09 2004 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.3-0vl1
  95. - new upstream release
  96. * Wed Jan 07 2004 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.2-0vl1
  97. - new upstream release
  98. * Thu Nov 27 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.1-0vl1
  99. - new upstream release
  100. * Sat Sep 27 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.0-0vl1
  101. - initial release