xfprint-vl.spec 4.4 KB

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