1 | Summary: MATE menu specifications |
---|
2 | Name: mate-menus |
---|
3 | Version: 1.1.1 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | Source0: %{name}-%{version}.tar.xz |
---|
6 | License: GPLv2 |
---|
7 | Group: System Environment/Libraries |
---|
8 | URL: https://matsusoft.com.ar/projects/mate/ |
---|
9 | |
---|
10 | BuildRequires: mate-common |
---|
11 | BuildRequires: mate-conf-devel |
---|
12 | BuildRequires: gtk2-devel |
---|
13 | BuildRequires: gtk-doc |
---|
14 | BuildRequires: autoconf |
---|
15 | BuildRequires: automake |
---|
16 | |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | |
---|
19 | Vendor: Project Vine |
---|
20 | Distribution: Vine Linux |
---|
21 | Packager: Takemikaduchi |
---|
22 | |
---|
23 | |
---|
24 | %description |
---|
25 | mate-menus contains the libmate-menu library, the layout configuration |
---|
26 | files for the MATE menu, as well as a simple menu editor. |
---|
27 | |
---|
28 | |
---|
29 | %package devel |
---|
30 | Summary: Development tools for mate-menus |
---|
31 | Summary(ja): mate-menus の開発環境 |
---|
32 | Group: Development/Libraries |
---|
33 | Requires: %{name} = %{version}-%{release} |
---|
34 | Requires: pkgconfig |
---|
35 | |
---|
36 | %description devel |
---|
37 | Header files and libraries for building a extension library for the |
---|
38 | mate-menus. |
---|
39 | |
---|
40 | |
---|
41 | %prep |
---|
42 | %setup -q |
---|
43 | |
---|
44 | |
---|
45 | %build |
---|
46 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
47 | %configure \ |
---|
48 | --disable-static \ |
---|
49 | --disable-scrollkeeper |
---|
50 | |
---|
51 | %{__make} %{?_smp_mflags} |
---|
52 | |
---|
53 | |
---|
54 | %install |
---|
55 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
56 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
57 | |
---|
58 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
59 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
60 | |
---|
61 | %find_lang %{name} |
---|
62 | |
---|
63 | |
---|
64 | %clean |
---|
65 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
66 | |
---|
67 | %post -p /sbin/ldconfig |
---|
68 | |
---|
69 | %postun -p /sbin/ldconfig |
---|
70 | |
---|
71 | |
---|
72 | %files -f %{name}.lang |
---|
73 | %defattr(-,root,root,-) |
---|
74 | %doc COPYING ChangeLog NEWS README |
---|
75 | %{_sysconfdir}/xdg/menus/mate-applications.menu |
---|
76 | %{_sysconfdir}/xdg/menus/mate-settings.menu |
---|
77 | %{_libdir}/libmate-menu.so.* |
---|
78 | %{_libdir}/girepository-1.0/MateMenu-2.0.typelib |
---|
79 | %{_datadir}/mate/desktop-directories/* |
---|
80 | |
---|
81 | %files devel |
---|
82 | %defattr(-,root,root,-) |
---|
83 | %{_includedir}/mate-menus |
---|
84 | %{_libdir}/libmate-menu.so |
---|
85 | %{_libdir}/pkgconfig/libmate-menu.pc |
---|
86 | %{_datadir}/gir-1.0/MateMenu-2.0.gir |
---|
87 | |
---|
88 | |
---|
89 | %changelog |
---|
90 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1 |
---|
91 | - initial build for Vine Linux |
---|
92 | |
---|