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

Revision 7825, 2.8 KB checked in by Takemikaduchi, 11 years ago (diff)

mate-media, mate-menu-editor: new package
mate-menus: add python subpackage
task-mate: add mate-media

RevLine 
[5311]1Summary:        MATE menu specifications
2Name:           mate-menus
[7697]3Version:        1.6.0
[7825]4Release:        2%{?_dist_release}
[7697]5Source0:        http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
[5311]6License:        GPLv2
7Group:          System Environment/Libraries
[6679]8URL:            http://mate-desktop.org/
[5311]9
10BuildRequires:  mate-common
11BuildRequires:  gtk2-devel
[7825]12BuildRequires:  python-devel
[5311]13BuildRequires:  gtk-doc
14BuildRequires:  autoconf
15BuildRequires:  automake
16
17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18
19Vendor:         Project Vine
20Distribution:   Vine Linux
21Packager:       Takemikaduchi
22
23
24%description
25mate-menus contains the libmate-menu library, the layout configuration
26files for the MATE menu, as well as a simple menu editor.
27
28
[7825]29%package                devel
[5311]30Summary:        Development tools for mate-menus
31Summary(ja):    mate-menus の開発環境
32Group:          Development/Libraries
33Requires:       %{name} = %{version}-%{release}
34Requires:       pkgconfig
35
36%description    devel
37Header files and libraries for building a extension library for the
38mate-menus.
39
[7825]40%package                python
41Summary:        Python bindings for mate-menus
42Summary(ja):    mate-menus の開発環境
43Group:          Development/Libraries
44Requires:       %{name} = %{version}-%{release}
45Requires:       python
[5311]46
[7825]47%description    python
48%{summary}
49
50
[5311]51%prep
52%setup -q
53
54
55%build
56(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
57%configure \
58        --disable-static \
59        --disable-scrollkeeper
60
61%{__make} %{?_smp_mflags}
62
63
64%install
65%{__rm} -rf ${RPM_BUILD_ROOT}
[7697]66
[5311]67%{__make} install DESTDIR=${RPM_BUILD_ROOT}
68
69find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
70find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
71
[7825]72chmod 644 ${RPM_BUILD_ROOT}%{_datadir}/%{name}/examples/mate-menus-ls.py
73
[5311]74%find_lang %{name}
75
76
77%clean
78%{__rm} -rf ${RPM_BUILD_ROOT}
79
80%post -p /sbin/ldconfig
81
82%postun -p /sbin/ldconfig
83
84
85%files -f %{name}.lang
86%defattr(-,root,root,-)
87%doc COPYING ChangeLog NEWS README
88%{_sysconfdir}/xdg/menus/mate-applications.menu
89%{_sysconfdir}/xdg/menus/mate-settings.menu
90%{_libdir}/libmate-menu.so.*
91%{_libdir}/girepository-1.0/MateMenu-2.0.typelib
92%{_datadir}/mate/desktop-directories/*
93
94%files devel
95%defattr(-,root,root,-)
96%{_includedir}/mate-menus
97%{_libdir}/libmate-menu.so
98%{_libdir}/pkgconfig/libmate-menu.pc
99%{_datadir}/gir-1.0/MateMenu-2.0.gir
100
[7825]101%files python
102%defattr(-,root,root,-)
103%{python_sitearch}/matemenu.so
104%{_datadir}/%{name}/examples/mate-menus-ls.py
[5311]105
[7825]106
[5311]107%changelog
[7825]108* Mon Sep 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
109- add BuildRequires: python-devel
110- create python subpackage
111
[7697]112* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
113- new upstream release
114- remove BuildRequires: mate-conf-devel
115
[6679]116* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
117- new upstream release
118
[6172]119* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
120- new upstream release
121
[5311]122* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
123- initial build for Vine Linux
124
Note: See TracBrowser for help on using the repository browser.