menu-cache-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. Name: menu-cache
  2. Version: 0.3.2
  3. Release: 1%{?_dist_release}
  4. Summary: Caching mechanism for freedesktop.org compliant menus
  5. Summary(ja): freedesktop.org 準拠メニューのキャッシュ機構
  6. Group: System Environment/Libraries
  7. License: LGPLv2+ and GPLv2+
  8. URL: http://lxde.org
  9. Source0: http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel >= 2.16.0
  12. Requires: vine-menus
  13. %description
  14. Menu-cache is a caching mechanism for freedesktop.org compliant menus to
  15. speed up parsing of the menu entries. It is currently used by some of
  16. components of the LXDE desktop environment such as LXPanel or LXLauncher.
  17. %package devel
  18. Summary: Development files for %{name}
  19. Group: Development/Libraries
  20. Requires: %{name} = %{version}-%{release}
  21. Requires: pkgconfig
  22. %description devel
  23. The %{name}-devel package contains libraries and header files for
  24. developing applications that use %{name}.
  25. %prep
  26. %setup -q
  27. %build
  28. %configure --disable-static
  29. # remove rpath in menu-cache-gen
  30. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  31. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  32. make %{?_smp_mflags}
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. make install DESTDIR=$RPM_BUILD_ROOT
  36. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %post -p /sbin/ldconfig
  40. %postun -p /sbin/ldconfig
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc AUTHORS COPYING README ChangeLog
  44. %{_libexecdir}/menu-cache-gen
  45. %{_libexecdir}/menu-cached
  46. %{_libdir}/libmenu-cache.so.*
  47. #%{_datadir}/man/man1/*
  48. %files devel
  49. %defattr(-,root,root,-)
  50. %dir %{_includedir}/menu-cache/
  51. %{_includedir}/menu-cache/*.h
  52. %{_libdir}/libmenu-cache.so
  53. %{_libdir}/pkgconfig/libmenu-cache.pc
  54. %changelog
  55. * Sat Mar 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.2-1
  56. - Update to 0.3.2
  57. * Thu Feb 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.1-1
  58. - Update to 0.3.1
  59. * Mon Nov 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.6-1
  60. - Update to 0.2.6
  61. * Fri May 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.5-1
  62. - Update to 0.2.5
  63. - spec in UTF-8
  64. - deleted man page file directory in %files
  65. - changed directory at menu-cache-gen
  66. * Sat Apr 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.4-1
  67. - Update to 0.2.4
  68. - added man page file directory in %files
  69. * Fri Apr 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.3-1vl5
  70. - Update to 0.2.3
  71. - changed menu-cached directory in %files
  72. * Mon Mar 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.2-1vl5
  73. - initial build for VineSeed
  74. * Wed Dec 10 2008 Christoph Wickert <fedora christoph-wickert de> - 0.2.2-1
  75. - Update to 0.2.2
  76. * Tue Dec 09 2008 Christoph Wickert <fedora christoph-wickert de> - 0.2.0-1
  77. - Update to 0.2.0
  78. - Split into base and devel package
  79. * Sun Dec 07 2008 Christoph Wickert <fedora christoph-wickert de> - 0.1.3-1
  80. - Initial Fedora package