menu-cache-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. Name: menu-cache
  2. Version: 0.4.1
  3. Release: 2%{?_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. %files devel
  48. %defattr(-,root,root,-)
  49. %dir %{_includedir}/menu-cache/
  50. %{_includedir}/menu-cache/*.h
  51. %{_libdir}/libmenu-cache.so
  52. %{_libdir}/pkgconfig/libmenu-cache.pc
  53. %changelog
  54. * Sat Jul 26 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.1-2
  55. - rebuilt with current environment
  56. * Sat Nov 17 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.1-1
  57. - new upstream release
  58. * Mon May 21 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.3-1
  59. - new upstream release
  60. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.2-2
  61. - rebuild with rpm-4.8.1 for pkg-config file
  62. * Sat Mar 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.2-1
  63. - Update to 0.3.2
  64. * Thu Feb 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.1-1
  65. - Update to 0.3.1
  66. * Mon Nov 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.6-1
  67. - Update to 0.2.6
  68. * Fri May 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.5-1
  69. - Update to 0.2.5
  70. - spec in UTF-8
  71. - deleted man page file directory in %files
  72. - changed directory at menu-cache-gen
  73. * Sat Apr 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.4-1
  74. - Update to 0.2.4
  75. - added man page file directory in %files
  76. * Fri Apr 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.3-1vl5
  77. - Update to 0.2.3
  78. - changed menu-cached directory in %files
  79. * Mon Mar 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.2-1vl5
  80. - initial build for VineSeed
  81. * Wed Dec 10 2008 Christoph Wickert <fedora christoph-wickert de> - 0.2.2-1
  82. - Update to 0.2.2
  83. * Tue Dec 09 2008 Christoph Wickert <fedora christoph-wickert de> - 0.2.0-1
  84. - Update to 0.2.0
  85. - Split into base and devel package
  86. * Sun Dec 07 2008 Christoph Wickert <fedora christoph-wickert de> - 0.1.3-1
  87. - Initial Fedora package