garcon-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. %global minorversion 0.1
  2. Name: garcon
  3. Summary: Implementation of the freedesktop.org menu specification
  4. Version: 0.1.7
  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: gtk-doc
  17. BuildRequires: gettext
  18. BuildRequires: intltool
  19. #Requires: redhat-menus
  20. Provides: libxfce4menu = 4.6.2-3
  21. Obsoletes: libxfce4menu < 4.6.2-3
  22. # because of %%{_datadir}/desktop-directories/xfce-*
  23. Conflicts: xfdesktop <= 4.6.2
  24. %description
  25. Garcon is an implementation of the freedesktop.org menu specification replacing
  26. the former Xfce menu library libxfce4menu. It is based on GLib/GIO only and
  27. aims at covering the entire specification except for legacy menus.
  28. %package devel
  29. Summary: Development files for %{name}
  30. Group: Development/Libraries
  31. Requires: %{name} = %{version}-%{release}
  32. Requires: gtk2-devel
  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. * Mon May 23 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.7-1
  70. - new upstrem release
  71. * Tue Mar 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.5-4
  72. - Initial build for Vine Linux
  73. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.5-3
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  75. * Mon Jan 17 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.5-2
  76. - Include rebased redhat-menus.patch
  77. * Sun Jan 16 2011 Kevin Fenzi <kevin@tummy.com> - 0.1.5-1
  78. - Update to 0.1.5
  79. * Sun Dec 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.4-1
  80. - Update to 0.1.4
  81. * Sat Dec 04 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.3-2
  82. - Add patch to use redhat-menus
  83. * Mon Nov 08 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.3-1
  84. - Update to 0.1.2
  85. * Wed Nov 03 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.2-1
  86. - Update to 0.1.2
  87. * Thu Oct 07 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.1-2
  88. - Drop dependency on gtk-doc (#604352)
  89. * Fri Feb 26 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.1-1
  90. - Update to 0.1.1
  91. * Tue Jan 12 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-2
  92. - Build gtk-doc
  93. * Tue Jan 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-1
  94. - Initial spec file