xfprint-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. Name: xfprint
  2. Summary: Print dialog and printer manager for XFce 4
  3. Version: 4.6.1
  4. Release: 5%{?_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. Requires(postun,posttrans): desktop-file-utils
  20. %description
  21. xfprint contains a print dialog and a printer manager for the XFce 4 Desktop Environment
  22. %package devel
  23. Summary: Development tools for %{name}
  24. Summary(ja): %{name} の開発環境
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: pkgconfig
  28. %description devel
  29. Header files and libraries for building a extension library for the
  30. %{name}.
  31. %prep
  32. %setup -q
  33. %build
  34. %configure --disable-static
  35. make LIBS="-lX11"
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
  39. %find_lang %{name}
  40. ## remove unuse files
  41. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  42. #rm -rf $RPM_BUILD_ROOT%{_libdir}/xfce4/mcs-plugins/*.la
  43. rm -rf $RPM_BUILD_ROOT%{_libdir}/xfce4/xfprint-plugins/*.la
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %post
  47. /sbin/ldconfig
  48. touch --no-create %{_datadir}/icons/hicolor
  49. %posttrans
  50. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  51. update-desktop-database -q &> /dev/null || :
  52. %postun
  53. /sbin/ldconfig
  54. if [ $1 -eq 0 ] ; then
  55. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  56. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  57. update-desktop-database -q &> /dev/null || :
  58. fi
  59. %files -f %{name}.lang
  60. %defattr(-,root,root,-)
  61. %doc README ChangeLog NEWS COPYING AUTHORS TODO
  62. %{_bindir}/*
  63. %{_libdir}/libxfprint.so.*
  64. %{_libdir}/xfce4
  65. %{_datadir}/applications/*.desktop
  66. %{_datadir}/icons/hicolor/*/devices/*
  67. %{_datadir}/xfce4/doc
  68. %files devel
  69. %defattr(-,root,root,-)
  70. %{_includedir}/xfce4/libxfprint
  71. %{_libdir}/libxfprint.so
  72. %{_libdir}/pkgconfig/%{name}-1.0.pc
  73. %{_datadir}/gtk-doc/html/libxfprint
  74. %changelog
  75. * Wed Oct 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.6.1-5
  76. - create %{name}-devel sub package
  77. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.6.1-4
  78. - rebuild with xfce4-4.10.0
  79. * Sat Apr 2 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-3
  80. - rebuild with krb5-libs-1.8.2
  81. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.6.1-2
  82. - rebuild with rpm-4.8.1 for pkg-config file
  83. * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1
  84. - new upstream release
  85. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 4.4.2-1vl5
  86. - applied new versioning policy
  87. - removed *.la
  88. * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.2-0vl2
  89. - new upstream release.
  90. * Mon Aug 6 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl4
  91. - rebuild for VineSeed
  92. * Mon Aug 6 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl3
  93. - add cups to Requires
  94. - add cups-devel to BuildRequires
  95. * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl2
  96. - build for VineSeed
  97. * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl1
  98. - new upstream version
  99. * Sat Dec 10 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.3-0vl1
  100. - new upstream release
  101. * Mon Jun 13 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.2-0vl2
  102. - new upstream release
  103. * Thu Mar 31 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.1-0vl2
  104. - new upstream release
  105. * Sun Jan 23 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.0-0vl2
  106. - new upstream release
  107. * Mon Jul 12 2004 UECHI Yasumasa <uechi@potaway.net> 4.0.6-0vl1
  108. - new upstream release
  109. * Mon Apr 19 2004 UECHI Yasumasa <uechi@potaway.net> 4.0.5-0vl1
  110. - new upstream release
  111. * Mon Mar 22 2004 UECHI Yasumasa <uechi@potaway.net> 4.0.4-0vl1
  112. - new upstream release
  113. * Fri Jan 09 2004 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.3-0vl1
  114. - new upstream release
  115. * Wed Jan 07 2004 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.2-0vl1
  116. - new upstream release
  117. * Thu Nov 27 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.1-0vl1
  118. - new upstream release
  119. * Sat Sep 27 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.0-0vl1
  120. - initial release