-
Notifications
You must be signed in to change notification settings - Fork 0
/
mate-menus.spec
237 lines (167 loc) · 8.19 KB
/
mate-menus.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
Name: mate-menus
Version: 1.22.0
Release: 2%{?dist}
Summary: Displays menus for MATE Desktop
License: GPLv2+ and LGPLv2+
URL: http://mate-desktop.org
Source0: http://pub.mate-desktop.org/releases/1.22/%{name}-%{version}.tar.xz
BuildRequires: gobject-introspection-devel
BuildRequires: mate-common
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description
Displays menus for MATE Desktop
%package libs
Summary: Shared libraries for mate-menus
Requires: %{name}%{?_isa} = %{version}-%{release}
%description libs
Shared libraries for mate-menus
%package preferences-category-menu
Summary: Categories for the preferences menu
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description preferences-category-menu
Categories for the preferences menu
%package devel
Summary: Development files for mate-menus
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
Development files for mate-menus
%prep
%autosetup -p1
# fedora specific
# fix for usage of multimedia-menus, games-menu and wine-menu packages
sed -i -e '/<!-- End Other -->/ a\ <MergeFile>applications-merged/multimedia-categories.menu</MergeFile>' layout/mate-applications.menu
sed -i -e '/<MergeFile>applications-merged\/multimedia-categories.menu<\/MergeFile>/ a\ <MergeFile>applications-merged/games-categories.menu</MergeFile>' layout/mate-applications.menu
sed -i -e '/<MergeFile>applications-merged\/games-categories.menu<\/MergeFile>/ a\ <MergeFile>applications-merged/wine.menu</MergeFile>' layout/mate-applications.menu
%build
%configure \
--disable-static \
--enable-introspection=yes
make %{?_smp_mflags} V=1
%install
%{make_install}
find %{buildroot} -name '*.la' -exec rm -f {} ';'
find %{buildroot} -name '*.a' -exec rm -f {} ';'
%find_lang %{name} --with-gnome --all-name
%files -f %{name}.lang
%doc AUTHORS COPYING README
%config %{_sysconfdir}/xdg/menus/mate-applications.menu
%config %{_sysconfdir}/xdg/menus/mate-settings.menu
%{_datadir}/mate-menus
%{_datadir}/mate/desktop-directories
%files preferences-category-menu
%config %{_sysconfdir}/xdg/menus/mate-preferences-categories.menu
%files libs
%{_libdir}/girepository-1.0/MateMenu-2.0.typelib
%{_libdir}/libmate-menu.so.2
%{_libdir}/libmate-menu.so.2.4.9
%files devel
%{_datadir}/gir-1.0/MateMenu-2.0.gir
%{_libdir}/libmate-menu.so
%{_includedir}/mate-menus
%{_libdir}/pkgconfig/libmate-menu.pc
%changelog
* Mon Mar 04 2019 Wolfgang Ulbrich <[email protected]> - 1.22.0-1
- update to 1.22.0
* Fri Feb 01 2019 Fedora Release Engineering <[email protected]> - 1.20.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Dec 20 2018 Wolfgang Ulbrich <[email protected]> - 1.20.2-1
- update to 1.20.2
* Fri Jul 13 2018 Fedora Release Engineering <[email protected]> - 1.20.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jun 15 2018 Wolfgang Ulbrich <[email protected]> - 1.20.1-1
- update to 1.20.1 release
* Sun Feb 11 2018 Wolfgang Ulbrich <[email protected]> - 1.20.0-1
- update to 1.20.0 release
- update python rpm macros for f28
- switch to using autosetup
* Thu Feb 08 2018 Fedora Release Engineering <[email protected]> - 1.19.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Oct 13 2017 Wolfgang Ulbrich <[email protected]> - 1.19.0-1
- update to 1.19.0 release
* Thu Aug 03 2017 Fedora Release Engineering <[email protected]> - 1.18.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <[email protected]> - 1.18.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Jul 07 2017 Igor Gnatenko <[email protected]> - 1.18.0-2
- Rebuild due to bug in RPM (RHBZ #1468476)
* Sun May 14 2017 Wolfgang Ulbrich <[email protected]> - 1.18.0-1
- bump version
* Tue Mar 14 2017 Wolfgang Ulbrich <[email protected]> - 1.18.0-0
- update to 1.18.0 release
* Fri Feb 10 2017 Fedora Release Engineering <[email protected]> - 1.17.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun Jan 15 2017 Wolfgang Ulbrich <[email protected]> - 1.17.0-1
- update to 1.17.0 release
* Wed Sep 21 2016 Wolfgang Ulbrich <[email protected]> - 1.16.0-1
- update to 1.16.0 release
* Tue Jul 19 2016 Fedora Release Engineering <[email protected]> - 1.15.0-2
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Thu Jun 09 2016 Wolfgang Ulbrich <[email protected]> - 1.15.0-1
- update to 1.15.0 release
* Tue Apr 05 2016 Wolfgang Ulbrich <[email protected]> - 1.14.0-1
- update to 1.14.0 release
* Sun Feb 07 2016 Wolfgang Ulbrich <[email protected]> - 1.13.0-1
- update to 1.13.0 release
* Thu Feb 04 2016 Fedora Release Engineering <[email protected]> - 1.12.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sun Dec 27 2015 Wolfgang Ulbrich <[email protected]> - 1.12.0-13
- add mate-menus-preferences-category-menu as a subpackage again
* Wed Dec 02 2015 Rex Dieter <[email protected]> 1.12.0-2
- drop Obsoletes: mate-menus-preferences-category-menu, belongs in mate-control-center (#1287845)
* Fri Nov 06 2015 Wolfgang Ulbrich <[email protected]> - 1.12.0-1
- update to 1.12.0 release
- mate-menus-preferences-category-menu is moved to mate-control-center
* Thu Oct 22 2015 Wolfgang Ulbrich <[email protected]> - 1.11.0-1
- update to 1.11.0 release
* Wed Jun 17 2015 Fedora Release Engineering <[email protected]> - 1.10.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Wed Apr 22 2015 Wolfgang Ulbrich <[email protected]> - 1.10.0-1
- update to 1.10.0 release
* Mon Mar 02 2015 Wolfgang Ulbrich <[email protected]> - 1.9.90-1
- update to 1.9.90 release
* Tue Nov 11 2014 Wolfgang Ulbrich <[email protected]> - 1.9.1-1
- update to 1.9.1 release
* Sun Aug 17 2014 Fedora Release Engineering <[email protected]> - 1.9.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jul 12 2014 Wolfgang Ulbrich <[email protected]> - 1.9.0-1
- update to 1.9.0 release
* Sun Jun 22 2014 Wolfgang Ulbrich <[email protected]> - 1.8.0-3
- final fix for games-menu
- try fix wine-menu
* Sat Jun 07 2014 Fedora Release Engineering <[email protected]> - 1.8.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed Mar 05 2014 Dan Mashal <[email protected]> - 1.8.0-1
- Update to 1.8.0
* Sun Feb 16 2014 Wolfgang Ulbrich <[email protected]> - 1.7.90-1
- update to 1.7.90 release
* Mon Jan 20 2014 Wolfgang Ulbrich <[email protected]> 1.7.1-1
- update to 1.7.1 release
- add missing changelog entry from previous build
- add --with-gnome --all-name for find language
- use modern 'make install' macro
* Fri Dec 06 2013 Dan Mashal <[email protected]> - 1.7.0-1
- update to 1.7.0 release
* Sat Aug 03 2013 Fedora Release Engineering <[email protected]> - 1.6.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Jul 04 2013 Wolfgang Ulbrich <[email protected]> - 1.6.0-4
- fix for usage of multimedia-menus package
* Fri Jun 07 2013 Wolfgang Ulbrich <[email protected]> - 1.6.0-3
- move preferences-category-menu to a subpackage
* Tue Jun 04 2013 Wolfgang Ulbrich <[email protected]> - 1.6.0-2
- add preferences-category-menu
- add requires mate-menus-libs
- mark *.menu files as %%config in %%{_sysconfdir} dir
* Wed Apr 03 2013 Dan Mashal <[email protected]> - 1.6.0-1
- Update to latest 1.6.0 stable release.
* Thu Feb 14 2013 Fedora Release Engineering <[email protected]> - 1.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Thu Nov 08 2012 Leigh Scott <[email protected]> - 1.5.0-1
- update to 1.5.0 release
- clean up spec file
- remove un-needed build requires
* Thu Aug 16 2012 Dan Mashal <[email protected]> 1.4.0-3
- Fix devel package requirements. Removed libs requirement.
* Thu Aug 16 2012 Dan Mashal <[email protected]> 1.4.0-2
- Fix directory ownership for mate-menus dir.
* Thu Jul 12 2012 Dan Mashal <[email protected]> 1.4.0-1
- Initial build