garcon-vl.spec 3.8 KB

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