| 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 | |
|---|
| 7 | Group: System Environment/Libraries |
|---|
| 8 | License: LGPLv2+ and GPLv2+ |
|---|
| 9 | URL: http://lxde.org |
|---|
| 10 | Source0: http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.gz |
|---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 12 | |
|---|
| 13 | BuildRequires: glib2-devel >= 2.16.0 |
|---|
| 14 | Requires: vine-menus |
|---|
| 15 | |
|---|
| 16 | %description |
|---|
| 17 | Menu-cache is a caching mechanism for freedesktop.org compliant menus to |
|---|
| 18 | speed up parsing of the menu entries. It is currently used by some of |
|---|
| 19 | components of the LXDE desktop environment such as LXPanel or LXLauncher. |
|---|
| 20 | |
|---|
| 21 | %package devel |
|---|
| 22 | Summary: Development files for %{name} |
|---|
| 23 | Group: Development/Libraries |
|---|
| 24 | Requires: %{name} = %{version}-%{release} |
|---|
| 25 | Requires: pkgconfig |
|---|
| 26 | |
|---|
| 27 | %description devel |
|---|
| 28 | The %{name}-devel package contains libraries and header files for |
|---|
| 29 | developing applications that use %{name}. |
|---|
| 30 | |
|---|
| 31 | |
|---|
| 32 | %prep |
|---|
| 33 | %setup -q |
|---|
| 34 | |
|---|
| 35 | %build |
|---|
| 36 | %configure --disable-static |
|---|
| 37 | |
|---|
| 38 | # remove rpath in menu-cache-gen |
|---|
| 39 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
|---|
| 40 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
|---|
| 41 | |
|---|
| 42 | make %{?_smp_mflags} |
|---|
| 43 | |
|---|
| 44 | |
|---|
| 45 | %install |
|---|
| 46 | rm -rf $RPM_BUILD_ROOT |
|---|
| 47 | make install DESTDIR=$RPM_BUILD_ROOT |
|---|
| 48 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
|---|
| 49 | |
|---|
| 50 | |
|---|
| 51 | %clean |
|---|
| 52 | rm -rf $RPM_BUILD_ROOT |
|---|
| 53 | |
|---|
| 54 | |
|---|
| 55 | %post -p /sbin/ldconfig |
|---|
| 56 | |
|---|
| 57 | %postun -p /sbin/ldconfig |
|---|
| 58 | |
|---|
| 59 | |
|---|
| 60 | %files |
|---|
| 61 | %defattr(-,root,root,-) |
|---|
| 62 | %doc AUTHORS COPYING README ChangeLog |
|---|
| 63 | %{_libexecdir}/menu-cache-gen |
|---|
| 64 | %{_libexecdir}/menu-cached |
|---|
| 65 | %{_libdir}/libmenu-cache.so.* |
|---|
| 66 | |
|---|
| 67 | |
|---|
| 68 | %files devel |
|---|
| 69 | %defattr(-,root,root,-) |
|---|
| 70 | %dir %{_includedir}/menu-cache/ |
|---|
| 71 | %{_includedir}/menu-cache/*.h |
|---|
| 72 | %{_libdir}/libmenu-cache.so |
|---|
| 73 | %{_libdir}/pkgconfig/libmenu-cache.pc |
|---|
| 74 | |
|---|
| 75 | |
|---|
| 76 | %changelog |
|---|
| 77 | * Sat Jul 26 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.1-2 |
|---|
| 78 | - rebuilt with current environment |
|---|
| 79 | |
|---|
| 80 | * Sat Nov 17 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.1-1 |
|---|
| 81 | - new upstream release |
|---|
| 82 | |
|---|
| 83 | * Mon May 21 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.3-1 |
|---|
| 84 | - new upstream release |
|---|
| 85 | |
|---|
| 86 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.2-2 |
|---|
| 87 | - rebuild with rpm-4.8.1 for pkg-config file |
|---|
| 88 | |
|---|
| 89 | * Sat Mar 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.2-1 |
|---|
| 90 | - Update to 0.3.2 |
|---|
| 91 | |
|---|
| 92 | * Thu Feb 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.1-1 |
|---|
| 93 | - Update to 0.3.1 |
|---|
| 94 | |
|---|
| 95 | * Mon Nov 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.6-1 |
|---|
| 96 | - Update to 0.2.6 |
|---|
| 97 | |
|---|
| 98 | * Fri May 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.5-1 |
|---|
| 99 | - Update to 0.2.5 |
|---|
| 100 | - spec in UTF-8 |
|---|
| 101 | - deleted man page file directory in %files |
|---|
| 102 | - changed directory at menu-cache-gen |
|---|
| 103 | |
|---|
| 104 | * Sat Apr 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.4-1 |
|---|
| 105 | - Update to 0.2.4 |
|---|
| 106 | - added man page file directory in %files |
|---|
| 107 | |
|---|
| 108 | * Fri Apr 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.3-1vl5 |
|---|
| 109 | - Update to 0.2.3 |
|---|
| 110 | - changed menu-cached directory in %files |
|---|
| 111 | |
|---|
| 112 | * Mon Mar 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.2-1vl5 |
|---|
| 113 | - initial build for VineSeed |
|---|
| 114 | |
|---|
| 115 | * Wed Dec 10 2008 Christoph Wickert <fedora christoph-wickert de> - 0.2.2-1 |
|---|
| 116 | - Update to 0.2.2 |
|---|
| 117 | |
|---|
| 118 | * Tue Dec 09 2008 Christoph Wickert <fedora christoph-wickert de> - 0.2.0-1 |
|---|
| 119 | - Update to 0.2.0 |
|---|
| 120 | - Split into base and devel package |
|---|
| 121 | |
|---|
| 122 | * Sun Dec 07 2008 Christoph Wickert <fedora christoph-wickert de> - 0.1.3-1 |
|---|
| 123 | - Initial Fedora package |
|---|