1 | Summary: MATE menu specifications |
---|
2 | Name: mate-menus |
---|
3 | Version: 1.14.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | Source0: http://pub.mate-desktop.org/releases/1.14/%{name}-%{version}.tar.xz |
---|
6 | |
---|
7 | # for Vine |
---|
8 | Source10: mate-applications.menu.vine |
---|
9 | Source11: mate-preferences.menu.vine |
---|
10 | Source12: mate-settings.menu.vine |
---|
11 | |
---|
12 | License: GPLv2 |
---|
13 | Group: System Environment/Libraries |
---|
14 | URL: http://mate-desktop.org/ |
---|
15 | |
---|
16 | BuildRequires: mate-common |
---|
17 | BuildRequires: gtk2-devel |
---|
18 | BuildRequires: python-devel |
---|
19 | BuildRequires: gtk-doc |
---|
20 | BuildRequires: autoconf |
---|
21 | BuildRequires: automake |
---|
22 | |
---|
23 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
24 | |
---|
25 | Vendor: Project Vine |
---|
26 | Distribution: Vine Linux |
---|
27 | Packager: Takemikaduchi |
---|
28 | |
---|
29 | |
---|
30 | %description |
---|
31 | mate-menus contains the libmate-menu library, the layout configuration |
---|
32 | files for the MATE menu, as well as a simple menu editor. |
---|
33 | |
---|
34 | |
---|
35 | %package devel |
---|
36 | Summary: Development tools for mate-menus |
---|
37 | Summary(ja): mate-menus の開発環境 |
---|
38 | Group: Development/Libraries |
---|
39 | Requires: %{name} = %{version}-%{release} |
---|
40 | Requires: pkgconfig |
---|
41 | |
---|
42 | %description devel |
---|
43 | Header files and libraries for building a extension library for the |
---|
44 | mate-menus. |
---|
45 | |
---|
46 | %package python |
---|
47 | Summary: Python bindings for mate-menus |
---|
48 | Summary(ja): mate-menus の開発環境 |
---|
49 | Group: Development/Libraries |
---|
50 | Requires: %{name} = %{version}-%{release} |
---|
51 | Requires: python |
---|
52 | |
---|
53 | %description python |
---|
54 | %{summary} |
---|
55 | |
---|
56 | |
---|
57 | %prep |
---|
58 | %setup -q |
---|
59 | |
---|
60 | |
---|
61 | %build |
---|
62 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
63 | %configure \ |
---|
64 | --disable-static \ |
---|
65 | --disable-scrollkeeper |
---|
66 | |
---|
67 | %{__make} %{?_smp_mflags} |
---|
68 | |
---|
69 | |
---|
70 | %install |
---|
71 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
72 | |
---|
73 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
74 | |
---|
75 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
76 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
77 | |
---|
78 | chmod 644 ${RPM_BUILD_ROOT}%{_datadir}/%{name}/examples/mate-menus-ls.py |
---|
79 | |
---|
80 | install -m 0644 %{SOURCE10} ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/menus/mate-applications.menu |
---|
81 | install -m 0644 %{SOURCE11} ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/menus/mate-preferences.menu |
---|
82 | install -m 0644 %{SOURCE12} ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/menus/mate-settings.menu |
---|
83 | |
---|
84 | %find_lang %{name} |
---|
85 | |
---|
86 | |
---|
87 | %clean |
---|
88 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
89 | |
---|
90 | %post -p /sbin/ldconfig |
---|
91 | |
---|
92 | %postun -p /sbin/ldconfig |
---|
93 | |
---|
94 | |
---|
95 | %files -f %{name}.lang |
---|
96 | %defattr(-,root,root,-) |
---|
97 | %doc COPYING ChangeLog NEWS README |
---|
98 | %{_sysconfdir}/xdg/menus/mate-applications.menu |
---|
99 | %{_sysconfdir}/xdg/menus/mate-preferences.menu |
---|
100 | %{_sysconfdir}/xdg/menus/mate-preferences-categories.menu |
---|
101 | %{_sysconfdir}/xdg/menus/mate-settings.menu |
---|
102 | %{_libdir}/libmate-menu.so.* |
---|
103 | %{_libdir}/girepository-1.0/MateMenu-2.0.typelib |
---|
104 | %{_datadir}/mate/desktop-directories/* |
---|
105 | |
---|
106 | %files devel |
---|
107 | %defattr(-,root,root,-) |
---|
108 | %{_includedir}/mate-menus |
---|
109 | %{_libdir}/libmate-menu.so |
---|
110 | %{_libdir}/pkgconfig/libmate-menu.pc |
---|
111 | %{_datadir}/gir-1.0/MateMenu-2.0.gir |
---|
112 | |
---|
113 | %files python |
---|
114 | %defattr(-,root,root,-) |
---|
115 | %{python_sitearch}/matemenu.so |
---|
116 | %{_datadir}/%{name}/examples/mate-menus-ls.py |
---|
117 | |
---|
118 | |
---|
119 | %changelog |
---|
120 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
121 | - new upstream release |
---|
122 | |
---|
123 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
124 | - new upstream release |
---|
125 | |
---|
126 | * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-2 |
---|
127 | - update Source10,11 |
---|
128 | |
---|
129 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
130 | - new upstream release |
---|
131 | |
---|
132 | * Tue Apr 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
133 | - new upstream release |
---|
134 | |
---|
135 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-4 |
---|
136 | - rebuild with VineSeed environment |
---|
137 | |
---|
138 | * Wed Sep 25 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-3 |
---|
139 | - add Source10 (mate-applications.menu.vine) |
---|
140 | - add Source11 (mate-preferences.menu.vine) |
---|
141 | - add Source12 (mate-settings.menu.vine) |
---|
142 | |
---|
143 | * Mon Sep 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
144 | - add BuildRequires: python-devel |
---|
145 | - create python subpackage |
---|
146 | |
---|
147 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
148 | - new upstream release |
---|
149 | - remove BuildRequires: mate-conf-devel |
---|
150 | |
---|
151 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
152 | - new upstream release |
---|
153 | |
---|
154 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
155 | - new upstream release |
---|
156 | |
---|
157 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1 |
---|
158 | - initial build for Vine Linux |
---|
159 | |
---|