garcon-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. %global minorversion 0.1
  2. Name: garcon
  3. Summary: Implementation of the freedesktop.org menu specification
  4. Version: 0.1.5
  5. Release: 4%{?_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/libs/%{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. * Tue Mar 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.5-4
  70. - Initial build for Vine Linux
  71. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.5-3
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  73. * Mon Jan 17 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.5-2
  74. - Include rebased redhat-menus.patch
  75. * Sun Jan 16 2011 Kevin Fenzi <kevin@tummy.com> - 0.1.5-1
  76. - Update to 0.1.5
  77. * Sun Dec 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.4-1
  78. - Update to 0.1.4
  79. * Sat Dec 04 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.3-2
  80. - Add patch to use redhat-menus
  81. * Mon Nov 08 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.3-1
  82. - Update to 0.1.2
  83. * Wed Nov 03 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.2-1
  84. - Update to 0.1.2
  85. * Thu Oct 07 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.1-2
  86. - Drop dependency on gtk-doc (#604352)
  87. * Fri Feb 26 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.1-1
  88. - Update to 0.1.1
  89. * Tue Jan 12 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-2
  90. - Build gtk-doc
  91. * Tue Jan 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-1
  92. - Initial spec file