[5311] | 1 | Summary: MATE menu specifications |
---|
| 2 | Name: mate-menus |
---|
[7697] | 3 | Version: 1.6.0 |
---|
[8068] | 4 | Release: 4%{?_dist_release} |
---|
[7697] | 5 | Source0: http://pub.mate-desktop.org/releases/1.6/%{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 |
---|
[8068] | 119 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-4 |
---|
| 120 | - rebuild with VineSeed environment |
---|
| 121 | |
---|
[7839] | 122 | * Wed Sep 25 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-3 |
---|
| 123 | - add Source10 (mate-applications.menu.vine) |
---|
| 124 | - add Source11 (mate-preferences.menu.vine) |
---|
| 125 | - add Source12 (mate-settings.menu.vine) |
---|
| 126 | |
---|
[7825] | 127 | * Mon Sep 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
| 128 | - add BuildRequires: python-devel |
---|
| 129 | - create python subpackage |
---|
| 130 | |
---|
[7697] | 131 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 132 | - new upstream release |
---|
| 133 | - remove BuildRequires: mate-conf-devel |
---|
| 134 | |
---|
[6679] | 135 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 136 | - new upstream release |
---|
| 137 | |
---|
[6172] | 138 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 139 | - new upstream release |
---|
| 140 | |
---|
[5311] | 141 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1 |
---|
| 142 | - initial build for Vine Linux |
---|
| 143 | |
---|