[11648] | 1 | %define major_ver 1.20 |
---|
| 2 | %define ver %{major_ver}.0 |
---|
[10999] | 3 | %define rel 1 |
---|
| 4 | |
---|
[5311] | 5 | Summary: MATE menu specifications |
---|
| 6 | Name: mate-menus |
---|
[10999] | 7 | Version: %{ver} |
---|
| 8 | Release: %{rel}%{?_dist_release} |
---|
| 9 | Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz |
---|
[7839] | 10 | |
---|
| 11 | # for Vine |
---|
| 12 | Source10: mate-applications.menu.vine |
---|
| 13 | Source11: mate-preferences.menu.vine |
---|
| 14 | Source12: mate-settings.menu.vine |
---|
| 15 | |
---|
[10885] | 16 | License: GPLv2 and LGPLv2 |
---|
[5311] | 17 | Group: System Environment/Libraries |
---|
[6679] | 18 | URL: http://mate-desktop.org/ |
---|
[5311] | 19 | |
---|
| 20 | BuildRequires: mate-common |
---|
[10999] | 21 | BuildRequires: gtk3-devel >= 3.14 |
---|
[7825] | 22 | BuildRequires: python-devel |
---|
[5311] | 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 |
---|
[10885] | 31 | Packager: Takemikaduchi, iwaim |
---|
[5311] | 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 | |
---|
[7825] | 39 | %package devel |
---|
[5311] | 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 | |
---|
[7825] | 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 |
---|
[5311] | 56 | |
---|
[7825] | 57 | %description python |
---|
| 58 | %{summary} |
---|
| 59 | |
---|
| 60 | |
---|
[5311] | 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} |
---|
[7697] | 76 | |
---|
[5311] | 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 | |
---|
[7825] | 82 | chmod 644 ${RPM_BUILD_ROOT}%{_datadir}/%{name}/examples/mate-menus-ls.py |
---|
| 83 | |
---|
[7839] | 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 | |
---|
[5311] | 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 |
---|
[7839] | 103 | %{_sysconfdir}/xdg/menus/mate-preferences.menu |
---|
[10255] | 104 | %{_sysconfdir}/xdg/menus/mate-preferences-categories.menu |
---|
[5311] | 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 | |
---|
[7825] | 117 | %files python |
---|
| 118 | %defattr(-,root,root,-) |
---|
| 119 | %{python_sitearch}/matemenu.so |
---|
| 120 | %{_datadir}/%{name}/examples/mate-menus-ls.py |
---|
[5311] | 121 | |
---|
[7825] | 122 | |
---|
[5311] | 123 | %changelog |
---|
[11648] | 124 | * Fri May 4 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.0-1 |
---|
| 125 | - update to 1.20.0 |
---|
| 126 | |
---|
[11418] | 127 | * Thu Jan 18 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1 |
---|
| 128 | - update to 1.18.1 |
---|
| 129 | |
---|
[10999] | 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 | |
---|
[10885] | 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 | |
---|
[10255] | 139 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
| 140 | - new upstream release |
---|
| 141 | |
---|
[9797] | 142 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 143 | - new upstream release |
---|
| 144 | |
---|
[9601] | 145 | * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-2 |
---|
| 146 | - update Source10,11 |
---|
| 147 | |
---|
[9552] | 148 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 149 | - new upstream release |
---|
| 150 | |
---|
[8359] | 151 | * Tue Apr 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 152 | - new upstream release |
---|
| 153 | |
---|
[8068] | 154 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-4 |
---|
| 155 | - rebuild with VineSeed environment |
---|
| 156 | |
---|
[7839] | 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 | |
---|
[7825] | 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 | |
---|
[7697] | 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 | |
---|
[6679] | 170 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 171 | - new upstream release |
---|
| 172 | |
---|
[6172] | 173 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 174 | - new upstream release |
---|
| 175 | |
---|
[5311] | 176 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1 |
---|
| 177 | - initial build for Vine Linux |
---|
| 178 | |
---|