menu-cache-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. Name: menu-cache
  2. Version: 0.3.3
  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. * Mon May 21 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.3-1
  56. - new upstream release
  57. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.2-2
  58. - rebuild with rpm-4.8.1 for pkg-config file
  59. * Sat Mar 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.2-1
  60. - Update to 0.3.2
  61. * Thu Feb 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.1-1
  62. - Update to 0.3.1
  63. * Mon Nov 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.6-1
  64. - Update to 0.2.6
  65. * Fri May 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.5-1
  66. - Update to 0.2.5
  67. - spec in UTF-8
  68. - deleted man page file directory in %files
  69. - changed directory at menu-cache-gen
  70. * Sat Apr 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.4-1
  71. - Update to 0.2.4
  72. - added man page file directory in %files
  73. * Fri Apr 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.3-1vl5
  74. - Update to 0.2.3
  75. - changed menu-cached directory in %files
  76. * Mon Mar 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.2-1vl5
  77. - initial build for VineSeed
  78. * Wed Dec 10 2008 Christoph Wickert <fedora christoph-wickert de> - 0.2.2-1
  79. - Update to 0.2.2
  80. * Tue Dec 09 2008 Christoph Wickert <fedora christoph-wickert de> - 0.2.0-1
  81. - Update to 0.2.0
  82. - Split into base and devel package
  83. * Sun Dec 07 2008 Christoph Wickert <fedora christoph-wickert de> - 0.1.3-1
  84. - Initial Fedora package