source: projects/specs/trunk/m/menu-cache/menu-cache-vl.spec @ 521

Revision 521, 3.0 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Name:           menu-cache
2Version:        0.3.2
3Release:        1%{?_dist_release}
4Summary:        Caching mechanism for freedesktop.org compliant menus
5Summary(ja):    freedesktop.org 準拠メニューのキャッシュ機構
6
7Group:          System Environment/Libraries
8License:        LGPLv2+ and GPLv2+
9URL:            http://lxde.org
10Source0:        http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.gz
11BuildRoot:      %{_tmppath}/%{name}-%{version}-root
12
13BuildRequires:  glib2-devel >= 2.16.0
14Requires:       vine-menus
15
16%description
17Menu-cache is a caching mechanism for freedesktop.org compliant menus to
18speed up parsing of the menu entries. It is currently used by some of
19components of the LXDE desktop environment such as LXPanel or LXLauncher.
20
21%package        devel
22Summary:        Development files for %{name}
23Group:          Development/Libraries
24Requires:       %{name} = %{version}-%{release}
25Requires:       pkgconfig
26
27%description    devel
28The %{name}-devel package contains libraries and header files for
29developing 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
39sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
40sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
41
42make %{?_smp_mflags}
43
44
45%install
46rm -rf $RPM_BUILD_ROOT
47make install DESTDIR=$RPM_BUILD_ROOT
48find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
49
50
51%clean
52rm -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#%{_datadir}/man/man1/*
67
68
69%files devel
70%defattr(-,root,root,-)
71%dir %{_includedir}/menu-cache/
72%{_includedir}/menu-cache/*.h
73%{_libdir}/libmenu-cache.so
74%{_libdir}/pkgconfig/libmenu-cache.pc
75
76
77%changelog
78* Sat Mar 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.2-1
79- Update to 0.3.2
80
81* Thu Feb 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.1-1
82- Update to 0.3.1
83
84* Mon Nov 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.6-1
85- Update to 0.2.6
86
87* Fri May 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.5-1
88- Update to 0.2.5
89- spec in UTF-8
90- deleted man page file directory in %files
91- changed directory at menu-cache-gen
92
93* Sat Apr 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.4-1
94- Update to 0.2.4
95- added man page file directory in %files
96
97* Fri Apr 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.3-1vl5
98- Update to 0.2.3
99- changed menu-cached directory in %files
100
101* Mon Mar 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.2-1vl5
102- initial build for VineSeed
103
104* Wed Dec 10 2008 Christoph Wickert <fedora christoph-wickert de> - 0.2.2-1
105- Update to 0.2.2
106
107* Tue Dec 09 2008 Christoph Wickert <fedora christoph-wickert de> - 0.2.0-1
108- Update to 0.2.0
109- Split into base and devel package
110
111* Sun Dec 07 2008 Christoph Wickert <fedora christoph-wickert de> - 0.1.3-1
112- Initial Fedora package
Note: See TracBrowser for help on using the repository browser.