source: projects/specs/trunk/m/mate-desktop/mate-desktop-vl.spec @ 9552

Revision 9552, 5.5 KB checked in by Takemikaduchi, 9 years ago (diff)

task-xorg-x11: fix BTS:2913
others: new upstream release

Line 
1Summary:        Library with common API for various MATE modules
2Name:           mate-desktop
3Version:        1.10.0
4Release:        1%{?_dist_release}
5Source0:        http://pub.mate-desktop.org/releases/1.10/%{name}-%{version}.tar.xz
6License:        GPLv2
7Group:          User Interface/Desktops
8URL:            http://mate-desktop.org/
9
10# patch for Vine
11Patch1001:      mate-desktop-vine-settings.patch
12Patch1002:      mate-desktop-1.10.0-color-select-desktop.patch
13
14BuildRequires:  mate-common
15BuildRequires:  mate-doc-utils
16BuildRequires:  gtk2-devel
17BuildRequires:  dconf-devel
18BuildRequires:  unique-devel
19BuildRequires:  startup-notification-devel
20BuildRequires:  gtk-doc
21BuildRequires:  itstool
22BuildRequires:  autoconf
23BuildRequires:  automake
24
25Requires(posttrans,postun):     glib2
26Requires(post,postun):  desktop-file-utils
27
28BuildRoot:      %{_tmppath}/%{name}-%{version}-root
29
30Vendor:         Project Vine
31Distribution:   Vine Linux
32Packager:       Takemikaduchi
33
34
35%description
36mate-desktop contains the libmate-desktop library, the mate-about
37program as well as some desktop-wide documents.
38
39
40%package                devel
41Summary:        Development tools for mate-desktop
42Summary(ja):    mate-desktop の開発環境
43Group:          Development/Libraries
44Requires:       %{name} = %{version}-%{release}
45Requires:       pkgconfig
46
47%description    devel
48Header files and libraries for building a extension library for the
49mate-desktop.
50
51
52%package        docs
53Summary:        Documentation for mate-desktop
54Summary(ja):    mate-desktop 用のドキュメント
55Group:          Documentation
56BuildArch:      noarch
57
58%description    docs
59This package contains documentation for mate-desktop.
60
61
62%prep
63%setup -q
64%patch1001 -p1 -b .vine
65%patch1002 -p1 -b .vine
66
67
68%build
69(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
70%configure \
71        --disable-static \
72        --enable-mpaste
73
74%{__make} %{?_smp_mflags}
75
76
77%install
78%{__rm} -rf ${RPM_BUILD_ROOT}
79%{__make} install DESTDIR=${RPM_BUILD_ROOT}
80
81find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
82find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
83
84%{__rm} -rf ${RPM_BUILD_ROOT}%{_datadir}/omf
85
86%find_lang %{name}
87
88
89%clean
90%{__rm} -rf ${RPM_BUILD_ROOT}
91
92%post
93/sbin/ldconfig
94update-desktop-database %{_datadir}/applications >& /dev/null ||:
95
96%postun
97/sbin/ldconfig
98if [ $1 -eq 0 ]; then
99  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
100  update-desktop-database %{_datadir}/applications >& /dev/null ||:
101fi
102
103%posttrans
104glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
105
106
107%files -f %{name}.lang
108%defattr(-,root,root,-)
109%doc COPYING ChangeLog NEWS README
110%{_bindir}/mate-about
111%{_bindir}/mate-color-select
112%{_bindir}/mpaste
113%{_libdir}/libmate-desktop-2.so.*
114%{_libdir}/girepository-1.0/MateDesktop-2.0.typelib
115%{_datadir}/MateConf/gsettings/mate-desktop.convert
116%{_datadir}/applications/mate-about.desktop
117%{_datadir}/applications/mate-color-select.desktop
118%{_datadir}/glib-2.0/schemas/org.mate.accessibility-keyboard.gschema.xml
119%{_datadir}/glib-2.0/schemas/org.mate.accessibility-startup.gschema.xml
120%{_datadir}/glib-2.0/schemas/org.mate.applications-at-mobility.gschema.xml
121%{_datadir}/glib-2.0/schemas/org.mate.applications-at-visual.gschema.xml
122%{_datadir}/glib-2.0/schemas/org.mate.applications-browser.gschema.xml
123%{_datadir}/glib-2.0/schemas/org.mate.applications-office.gschema.xml
124%{_datadir}/glib-2.0/schemas/org.mate.applications-terminal.gschema.xml
125%{_datadir}/glib-2.0/schemas/org.mate.background.gschema.xml
126%{_datadir}/glib-2.0/schemas/org.mate.debug.gschema.xml
127%{_datadir}/glib-2.0/schemas/org.mate.file-views.gschema.xml
128%{_datadir}/glib-2.0/schemas/org.mate.interface.gschema.xml
129%{_datadir}/glib-2.0/schemas/org.mate.lockdown.gschema.xml
130%{_datadir}/glib-2.0/schemas/org.mate.peripherals-keyboard.gschema.xml
131%{_datadir}/glib-2.0/schemas/org.mate.peripherals-mouse.gschema.xml
132%{_datadir}/glib-2.0/schemas/org.mate.sound.gschema.xml
133%{_datadir}/glib-2.0/schemas/org.mate.thumbnail-cache.gschema.xml
134%{_datadir}/glib-2.0/schemas/org.mate.thumbnailers.gschema.xml
135%{_datadir}/glib-2.0/schemas/org.mate.typing-break.gschema.xml
136%{_datadir}/libmate-desktop/pnp.ids
137%{_datadir}/mate-about/mate-version.xml
138%{_mandir}/man1/mate-about.1.gz
139
140%files devel
141%defattr(-,root,root,-)
142%{_includedir}/mate-desktop-2.0
143%{_libdir}/libmate-desktop-2.so
144%{_libdir}/pkgconfig/mate-desktop-2.0.pc
145%{_datadir}/gir-1.0/MateDesktop-2.0.gir
146
147%files docs
148%defattr(-,root,root,-)
149%{_datadir}/gtk-doc/html/mate-desktop
150
151
152%changelog
153* Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
154- new upstream release
155- rename document subpackage
156- add Patch1002 (mate-desktop-1.10.0-color-select-desktop.patch)
157
158* Sun Mar 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
159- new upstream release
160
161* Sun May 11 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
162- new upstream release
163
164* Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
165- new upstream release
166- add BuildRequires: dconf-devel, itstool
167
168* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
169- rebuild with VineSeed environment
170
171* Sun May 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
172- new upstream release
173- remove BuildRequires: mate-conf-devel
174- add Patch1001 (mate-desktop-vine-settings.patch)
175
176* Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1
177- new upstream release
178- add BuildRequires: startup-notification-devel
179
180* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1
181- new upstream release
182
183* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
184- new upstream release
185- add BuildRequires: unique-devel
186
187* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
188- change category
189
190* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
191- initial build for Vine Linux
192
Note: See TracBrowser for help on using the repository browser.