1 | Summary: The MATE menu editor |
---|
2 | Name: mate-menu-editor |
---|
3 | Version: 1.6.0 |
---|
4 | Release: 2%{?_dist_release} |
---|
5 | |
---|
6 | Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz |
---|
7 | |
---|
8 | License: GPLv2 |
---|
9 | Group: User Interface/Desktops |
---|
10 | URL: http://mate-desktop.org/ |
---|
11 | |
---|
12 | BuildRequires: mate-common |
---|
13 | BuildRequires: mate-doc-utils |
---|
14 | BuildRequires: mate-menus-devel |
---|
15 | BuildRequires: pygtk2-devel >= 2.15.1 |
---|
16 | BuildRequires: pygobject-devel >= 2.13.0 |
---|
17 | BuildRequires: gtk-doc |
---|
18 | BuildRequires: autoconf |
---|
19 | BuildRequires: automake |
---|
20 | |
---|
21 | Requires: pygtk2 |
---|
22 | Requires: pygobject |
---|
23 | Requires: mate-menus-python |
---|
24 | Requires(post,postun): desktop-file-utils |
---|
25 | |
---|
26 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
27 | |
---|
28 | BuildArch: noarch |
---|
29 | |
---|
30 | Vendor: Project Vine |
---|
31 | Distribution: Vine Linux |
---|
32 | Packager: Takemikaduchi |
---|
33 | |
---|
34 | |
---|
35 | %description |
---|
36 | Mozo(mate-menu-editor) is a menu editor for MATE using the |
---|
37 | freedesktop.org menu specification. |
---|
38 | |
---|
39 | %prep |
---|
40 | %setup -q |
---|
41 | |
---|
42 | |
---|
43 | %build |
---|
44 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
45 | %configure \ |
---|
46 | --disable-static |
---|
47 | |
---|
48 | %{__make} %{?_smp_mflags} |
---|
49 | |
---|
50 | |
---|
51 | %install |
---|
52 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
53 | |
---|
54 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
55 | |
---|
56 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
57 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
58 | |
---|
59 | %find_lang mozo |
---|
60 | |
---|
61 | |
---|
62 | %clean |
---|
63 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
64 | |
---|
65 | %post |
---|
66 | /sbin/ldconfig |
---|
67 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
68 | touch --no-create %{_datadir}/icons/hicolor > /dev/null || : |
---|
69 | |
---|
70 | %postun |
---|
71 | /sbin/ldconfig |
---|
72 | if [ $1 -eq 0 ]; then |
---|
73 | touch --no-create %{_datadir}/icons/hicolor > /dev/null || : |
---|
74 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : |
---|
75 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
76 | fi |
---|
77 | |
---|
78 | %posttrans |
---|
79 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : |
---|
80 | |
---|
81 | |
---|
82 | %files -f mozo.lang |
---|
83 | %defattr(-,root,root,-) |
---|
84 | %doc COPYING ChangeLog NEWS README |
---|
85 | %{_bindir}/mozo |
---|
86 | %{python_sitelib}/Mozo |
---|
87 | %{_datadir}/applications/mozo.desktop |
---|
88 | %{_datadir}/icons/*/*/* |
---|
89 | %{_datadir}/mozo/mozo.ui |
---|
90 | |
---|
91 | |
---|
92 | %changelog |
---|
93 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
94 | - rebuild with VineSeed environment |
---|
95 | |
---|
96 | * Mon Sep 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
97 | - initial build |
---|
98 | |
---|