source: projects/specs/trunk/m/mate-menu-editor/mate-menu-editor-vl.spec @ 8068

Revision 8068, 2.1 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1Summary:        The MATE menu editor
2Name:           mate-menu-editor
3Version:        1.6.0
4Release:        2%{?_dist_release}
5
6Source0:        http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
7
8License:        GPLv2
9Group:          User Interface/Desktops
10URL:            http://mate-desktop.org/
11
12BuildRequires:  mate-common
13BuildRequires:  mate-doc-utils
14BuildRequires:  mate-menus-devel
15BuildRequires:  pygtk2-devel >= 2.15.1
16BuildRequires:  pygobject-devel >= 2.13.0
17BuildRequires:  gtk-doc
18BuildRequires:  autoconf
19BuildRequires:  automake
20
21Requires:               pygtk2
22Requires:               pygobject
23Requires:               mate-menus-python
24Requires(post,postun):  desktop-file-utils
25
26BuildRoot:      %{_tmppath}/%{name}-%{version}-root
27
28BuildArch:      noarch
29
30Vendor:         Project Vine
31Distribution:   Vine Linux
32Packager:       Takemikaduchi
33
34
35%description
36Mozo(mate-menu-editor) is a menu editor for MATE using the
37freedesktop.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
56find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
57find $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
67update-desktop-database %{_datadir}/applications >& /dev/null ||:
68touch --no-create %{_datadir}/icons/hicolor > /dev/null || :
69
70%postun
71/sbin/ldconfig
72if [ $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 ||:
76fi
77
78%posttrans
79gtk-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
Note: See TracBrowser for help on using the repository browser.