garcon-vl.spec 3.9 KB

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