1 | Summary: The MATE menu editor |
---|
2 | Name: mozo |
---|
3 | Version: 1.8.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | |
---|
6 | Source0: http://pub.mate-desktop.org/releases/1.8/%{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 | Obsoletes: mate-menu-editor < 1.8.0 |
---|
27 | Provides: mate-menu-editor = %{version}-%{name} |
---|
28 | |
---|
29 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
30 | |
---|
31 | BuildArch: noarch |
---|
32 | |
---|
33 | Vendor: Project Vine |
---|
34 | Distribution: Vine Linux |
---|
35 | Packager: Takemikaduchi |
---|
36 | |
---|
37 | |
---|
38 | %description |
---|
39 | Mozo(mate-menu-editor) is a menu editor for MATE using the |
---|
40 | freedesktop.org menu specification. |
---|
41 | |
---|
42 | %prep |
---|
43 | %setup -q |
---|
44 | |
---|
45 | |
---|
46 | %build |
---|
47 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
48 | %configure \ |
---|
49 | --disable-static |
---|
50 | |
---|
51 | %{__make} %{?_smp_mflags} |
---|
52 | |
---|
53 | |
---|
54 | %install |
---|
55 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
56 | |
---|
57 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
58 | |
---|
59 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
60 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
61 | |
---|
62 | %find_lang %{name} |
---|
63 | |
---|
64 | |
---|
65 | %clean |
---|
66 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
67 | |
---|
68 | %post |
---|
69 | /sbin/ldconfig |
---|
70 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
71 | touch --no-create %{_datadir}/icons/hicolor > /dev/null || : |
---|
72 | |
---|
73 | %postun |
---|
74 | /sbin/ldconfig |
---|
75 | if [ $1 -eq 0 ]; then |
---|
76 | touch --no-create %{_datadir}/icons/hicolor > /dev/null || : |
---|
77 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : |
---|
78 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
79 | fi |
---|
80 | |
---|
81 | %posttrans |
---|
82 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : |
---|
83 | |
---|
84 | |
---|
85 | %files -f %{name}.lang |
---|
86 | %defattr(-,root,root,-) |
---|
87 | %doc COPYING ChangeLog NEWS README |
---|
88 | %{_bindir}/%{name} |
---|
89 | %{python_sitelib}/Mozo |
---|
90 | %{_datadir}/applications/%{name}.desktop |
---|
91 | %{_datadir}/icons/*/*/* |
---|
92 | %{_datadir}/%{name}/%{name}.ui |
---|
93 | %{_mandir}/man1/%{name}.1.gz |
---|
94 | |
---|
95 | |
---|
96 | %changelog |
---|
97 | * Thu Apr 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
98 | - new upstream release |
---|
99 | - rename package |
---|
100 | |
---|
101 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
102 | - rebuild with VineSeed environment |
---|
103 | |
---|
104 | * Mon Sep 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
105 | - initial build |
---|
106 | |
---|