garcon-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. %global minorversion 0.5
  2. Name: garcon
  3. Summary: Implementation of the freedesktop.org menu specification
  4. Summary(ja): freedesktop.org メニュー仕様の実装
  5. Version: 0.5.0
  6. Release: 1%{?_dist_release}
  7. Group: System Environment/Libraries
  8. # garcon's source code is licensed under the LGPLv2+,
  9. # while its documentation is licensed under the GFDL 1.1
  10. License: LGPLv2+ and GFDL
  11. URL: http://xfce.org/
  12. Source0: http://archive.xfce.org/src/xfce/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
  13. Patch0: garcon-0.2.0-redhat-menus.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: glib2-devel >= 2.30.0
  16. BuildRequires: gtk2-devel >= 2.24.0
  17. BuildRequires: gtk3-devel >= 3.14.0
  18. BuildRequires: gtk-doc >= 1.0
  19. BuildRequires: gettext
  20. BuildRequires: intltool
  21. BuildRequires: libxfce4util-devel >= 4.10.0
  22. BuildRequires: libxfce4ui-devel >= 4.11.1
  23. Requires: vine-menus
  24. #Requires: redhat-menus
  25. Obsoletes: libxfce4menu < 4.6.3
  26. # because of %%{_datadir}/desktop-directories/xfce-*
  27. Conflicts: xfdesktop <= 4.6.2
  28. Vendor: Project Vine
  29. Distribution: Vine Linux
  30. %description
  31. Garcon is an implementation of the freedesktop.org menu specification replacing
  32. the former Xfce menu library libxfce4menu. It is based on GLib/GIO only and
  33. aims at covering the entire specification except for legacy menus.
  34. %package devel
  35. Summary: Development files for %{name}
  36. Summary(ja): %{name} の開発用ファイル
  37. Group: Development/Libraries
  38. Requires: %{name} = %{version}-%{release}
  39. Requires: pkgconfig
  40. # FIXME not yet in place
  41. Obsoletes: libxfce4menu-devel < 4.6.2
  42. %description devel
  43. The %{name}-devel package contains libraries and header files for
  44. developing applications that use %{name}.
  45. %prep
  46. %setup -q
  47. #patch0 -p1 -b.redhat-menus
  48. %build
  49. %configure --disable-static --enable-gtk-doc
  50. make %{?_smp_mflags} V=1
  51. %install
  52. rm -rf $RPM_BUILD_ROOT
  53. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  54. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  55. %find_lang %{name}
  56. # ad-hoc fix
  57. chmod +x $RPM_BUILD_ROOT%{_libdir}/lib*.so.*
  58. %clean
  59. rm -rf $RPM_BUILD_ROOT
  60. %post -p /sbin/ldconfig
  61. %postun -p /sbin/ldconfig
  62. %posttrans
  63. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  64. %files -f %{name}.lang
  65. %defattr(-,root,root,-)
  66. %doc AUTHORS ChangeLog COPYING NEWS README
  67. %config(noreplace) %{_sysconfdir}/xdg/menus/xfce-applications.menu
  68. %{_libdir}/*.so.*
  69. %{_datadir}/desktop-directories/xfce-*.directory
  70. %files devel
  71. %defattr(-,root,root,-)
  72. %doc HACKING STATUS TODO
  73. %{_includedir}/*
  74. %{_libdir}/*.so
  75. %{_libdir}/pkgconfig/*.pc
  76. %doc %{_datadir}/gtk-doc/
  77. %changelog
  78. * Wed Apr 15 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.5.0-1
  79. - new upstrem release
  80. - added BR: gtk3-devel
  81. * Sun Mar 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.4.0-1
  82. - new upstrem release
  83. - added BR: libxfce4ui-devel
  84. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.2.0-2
  85. - rebuild with VineSeed environment
  86. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.2.0-1
  87. - new upstrem release
  88. - add BuildRequires: libxfce4util-devel
  89. * Mon May 23 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.7-1
  90. - new upstrem release
  91. * Tue Mar 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.5-4
  92. - Initial build for Vine Linux
  93. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.5-3
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  95. * Mon Jan 17 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.5-2
  96. - Include rebased redhat-menus.patch
  97. * Sun Jan 16 2011 Kevin Fenzi <kevin@tummy.com> - 0.1.5-1
  98. - Update to 0.1.5
  99. * Sun Dec 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.4-1
  100. - Update to 0.1.4
  101. * Sat Dec 04 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.3-2
  102. - Add patch to use redhat-menus
  103. * Mon Nov 08 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.3-1
  104. - Update to 0.1.2
  105. * Wed Nov 03 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.2-1
  106. - Update to 0.1.2
  107. * Thu Oct 07 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.1-2
  108. - Drop dependency on gtk-doc (#604352)
  109. * Fri Feb 26 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.1-1
  110. - Update to 0.1.1
  111. * Tue Jan 12 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-2
  112. - Build gtk-doc
  113. * Tue Jan 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-1
  114. - Initial spec file