[5311] | 1 | Summary: MATE menu specifications |
---|
| 2 | Name: mate-menus |
---|
[9797] | 3 | Version: 1.12.0 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
| 5 | Source0: http://pub.mate-desktop.org/releases/1.12/%{name}-%{version}.tar.xz |
---|
[7839] | 6 | |
---|
| 7 | # for Vine |
---|
| 8 | Source10: mate-applications.menu.vine |
---|
| 9 | Source11: mate-preferences.menu.vine |
---|
| 10 | Source12: mate-settings.menu.vine |
---|
| 11 | |
---|
[5311] | 12 | License: GPLv2 |
---|
| 13 | Group: System Environment/Libraries |
---|
[6679] | 14 | URL: http://mate-desktop.org/ |
---|
[5311] | 15 | |
---|
| 16 | BuildRequires: mate-common |
---|
| 17 | BuildRequires: gtk2-devel |
---|
[7825] | 18 | BuildRequires: python-devel |
---|
[5311] | 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 | |
---|
[7825] | 35 | %package devel |
---|
[5311] | 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 | |
---|
[7825] | 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 |
---|
[5311] | 52 | |
---|
[7825] | 53 | %description python |
---|
| 54 | %{summary} |
---|
| 55 | |
---|
| 56 | |
---|
[5311] | 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} |
---|
[7697] | 72 | |
---|
[5311] | 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 | |
---|
[7825] | 78 | chmod 644 ${RPM_BUILD_ROOT}%{_datadir}/%{name}/examples/mate-menus-ls.py |
---|
| 79 | |
---|
[7839] | 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 | |
---|
[5311] | 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 |
---|
[7839] | 99 | %{_sysconfdir}/xdg/menus/mate-preferences.menu |
---|
[5311] | 100 | %{_sysconfdir}/xdg/menus/mate-settings.menu |
---|
| 101 | %{_libdir}/libmate-menu.so.* |
---|
| 102 | %{_libdir}/girepository-1.0/MateMenu-2.0.typelib |
---|
| 103 | %{_datadir}/mate/desktop-directories/* |
---|
| 104 | |
---|
| 105 | %files devel |
---|
| 106 | %defattr(-,root,root,-) |
---|
| 107 | %{_includedir}/mate-menus |
---|
| 108 | %{_libdir}/libmate-menu.so |
---|
| 109 | %{_libdir}/pkgconfig/libmate-menu.pc |
---|
| 110 | %{_datadir}/gir-1.0/MateMenu-2.0.gir |
---|
| 111 | |
---|
[7825] | 112 | %files python |
---|
| 113 | %defattr(-,root,root,-) |
---|
| 114 | %{python_sitearch}/matemenu.so |
---|
| 115 | %{_datadir}/%{name}/examples/mate-menus-ls.py |
---|
[5311] | 116 | |
---|
[7825] | 117 | |
---|
[5311] | 118 | %changelog |
---|
[9797] | 119 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 120 | - new upstream release |
---|
| 121 | |
---|
[9601] | 122 | * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-2 |
---|
| 123 | - update Source10,11 |
---|
| 124 | |
---|
[9552] | 125 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 126 | - new upstream release |
---|
| 127 | |
---|
[8359] | 128 | * Tue Apr 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 129 | - new upstream release |
---|
| 130 | |
---|
[8068] | 131 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-4 |
---|
| 132 | - rebuild with VineSeed environment |
---|
| 133 | |
---|
[7839] | 134 | * Wed Sep 25 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-3 |
---|
| 135 | - add Source10 (mate-applications.menu.vine) |
---|
| 136 | - add Source11 (mate-preferences.menu.vine) |
---|
| 137 | - add Source12 (mate-settings.menu.vine) |
---|
| 138 | |
---|
[7825] | 139 | * Mon Sep 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
| 140 | - add BuildRequires: python-devel |
---|
| 141 | - create python subpackage |
---|
| 142 | |
---|
[7697] | 143 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 144 | - new upstream release |
---|
| 145 | - remove BuildRequires: mate-conf-devel |
---|
| 146 | |
---|
[6679] | 147 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 148 | - new upstream release |
---|
| 149 | |
---|
[6172] | 150 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 151 | - new upstream release |
---|
| 152 | |
---|
[5311] | 153 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1 |
---|
| 154 | - initial build for Vine Linux |
---|
| 155 | |
---|