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