]> TLD Linux GIT Repositories - packages/menu-cache.git/blob - menu-cache.spec
- updated to 1.1.0
[packages/menu-cache.git] / menu-cache.spec
1 Summary:        Library for caching freedesktop defined application menus
2 Summary(pl.UTF-8):      Biblioteka do buforowania menu freedesktop.org
3 Name:           menu-cache
4 Version:        1.1.0
5 Release:        1
6 License:        GPL v2
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.xz
9 # Source0-md5:  99999a0bca48b980105208760c8fd893
10 URL:            http://www.lxde.org/
11 BuildRequires:  glib2-devel
12 BuildRequires:  libfm-devel
13 BuildRequires:  libtool
14 BuildRequires:  pkgconfig
15 BuildRequires:  rpm >= 4.4.9-56
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Libmenu-cache is a library creating and utilizing caches to speed up
20 the manipulation for freedesktop.org defined application menus. It can
21 be used as a replacement of libgnome-menu of gnome-menus.
22
23 %description -l pl.UTF-8
24 Libmenu-cache jest biblioteką do tworzenia i używania buforów
25 (caches), które przyspieszają wczytywanie i zapisywanie menu zgodnego
26 z freedesktop.org. Libmenu-cache może zastępować libgnome-menu.
27
28 %package devel
29 Summary:        Header files and libraries for menu-cache development
30 Summary(pl.UTF-8):      Pliki nagłówkowe i dokumentacja do menu-cache
31 Group:          Development/Libraries
32 Requires:       %{name} = %{epoch}:%{version}-%{release}
33
34 %description devel
35 Libmenu-cache is a library creating and utilizing caches to speed up
36 the manipulation for freedesktop.org defined application menus. It can
37 be used as a replacement of libgnome-menu of gnome-menus.
38
39 This package contains the header files needed to develop programs that
40 use these menu-cache.
41
42 %description devel -l pl.UTF-8
43 Libmenu-cache jest biblioteką do tworzenia i używania buforów
44 (caches), które przyspieszają wczytywanie i zapisywanie menu zgodnego
45 z freedesktop.org. Libmenu-cache może zastępować libgnome-menu.
46
47 Pakiet ten zawiera pliki nagłowkowe i dokumentację potrzebną przy
48 tworzeniu własnych programów wykorzystujących menu-cache.
49
50 %package static
51 Summary:        Static library for menu-cache development
52 Summary(pl.UTF-8):      Biblioteka statyczna do menu-cache
53 Group:          Development/Libraries
54 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
55
56 %description static
57 Libmenu-cache is a library creating and utilizing caches to speed up
58 the manipulation for freedesktop.org defined application menus. It can
59 be used as a replacement of libgnome-menu of gnome-menus.
60
61 This package contains the header files and libraries needed to develop
62 programs that use these menu-cache.
63
64 %description static -l pl.UTF-8
65 Libmenu-cache jest biblioteką do tworzenia i używania buforów
66 (caches), które przyspieszają wczytywanie i zapisywanie menu zgodnego
67 z freedesktop.org. Libmenu-cache może zastępować libgnome-menu.
68
69 Pakiet ten zawiera bibliotekę statyczną potrzebną przy tworzeniu
70 własnych programów wykorzystujących menu-cache.
71
72 %prep
73 %setup -q
74
75 %build
76 %configure
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc AUTHORS README
94 %attr(755,root,root) %{_libdir}/libmenu-cache.so.3*
95 %attr(755,root,root) %{_libdir}/menu-cache*
96
97 %files devel
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/libmenu-cache.so
100 %{_libdir}/libmenu-cache.la
101 %dir %{_includedir}/menu-cache
102 %{_includedir}/menu-cache/menu-cache.h
103 %{_pkgconfigdir}/libmenu-cache.pc
104
105 %files static
106 %defattr(644,root,root,755)
107 %{_libdir}/libmenu-cache.a