source: projects/specs/trunk/m/mate-menus/mate-menus-vl.spec @ 8359

Revision 8359, 3.7 KB checked in by Takemikaduchi, 10 years ago (diff)

MATE-1.8.0

RevLine 
[5311]1Summary:        MATE menu specifications
2Name:           mate-menus
[8359]3Version:        1.8.0
4Release:        1%{?_dist_release}
5Source0:        http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
[7839]6
7# for Vine
8Source10:       mate-applications.menu.vine
9Source11:       mate-preferences.menu.vine
10Source12:       mate-settings.menu.vine
11
[5311]12License:        GPLv2
13Group:          System Environment/Libraries
[6679]14URL:            http://mate-desktop.org/
[5311]15
16BuildRequires:  mate-common
17BuildRequires:  gtk2-devel
[7825]18BuildRequires:  python-devel
[5311]19BuildRequires:  gtk-doc
20BuildRequires:  autoconf
21BuildRequires:  automake
22
23BuildRoot:      %{_tmppath}/%{name}-%{version}-root
24
25Vendor:         Project Vine
26Distribution:   Vine Linux
27Packager:       Takemikaduchi
28
29
30%description
31mate-menus contains the libmate-menu library, the layout configuration
32files for the MATE menu, as well as a simple menu editor.
33
34
[7825]35%package                devel
[5311]36Summary:        Development tools for mate-menus
37Summary(ja):    mate-menus の開発環境
38Group:          Development/Libraries
39Requires:       %{name} = %{version}-%{release}
40Requires:       pkgconfig
41
42%description    devel
43Header files and libraries for building a extension library for the
44mate-menus.
45
[7825]46%package                python
47Summary:        Python bindings for mate-menus
48Summary(ja):    mate-menus の開発環境
49Group:          Development/Libraries
50Requires:       %{name} = %{version}-%{release}
51Requires:       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
75find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
76find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
77
[7825]78chmod 644 ${RPM_BUILD_ROOT}%{_datadir}/%{name}/examples/mate-menus-ls.py
79
[7839]80install -m 0644 %{SOURCE10} ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/menus/mate-applications.menu
81install -m 0644 %{SOURCE11} ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/menus/mate-preferences.menu
82install -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
[8359]119* Tue Apr 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
120- new upstream release
121
[8068]122* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-4
123- rebuild with VineSeed environment
124
[7839]125* Wed Sep 25 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-3
126- add Source10 (mate-applications.menu.vine)
127- add Source11 (mate-preferences.menu.vine)
128- add Source12 (mate-settings.menu.vine)
129
[7825]130* Mon Sep 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
131- add BuildRequires: python-devel
132- create python subpackage
133
[7697]134* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
135- new upstream release
136- remove BuildRequires: mate-conf-devel
137
[6679]138* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
139- new upstream release
140
[6172]141* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
142- new upstream release
143
[5311]144* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
145- initial build for Vine Linux
146
Note: See TracBrowser for help on using the repository browser.