1 | Summary: Library with common API for various MATE modules |
---|
2 | Name: mate-desktop |
---|
3 | Version: 1.10.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | Source0: http://pub.mate-desktop.org/releases/1.10/%{name}-%{version}.tar.xz |
---|
6 | License: GPLv2 |
---|
7 | Group: User Interface/Desktops |
---|
8 | URL: http://mate-desktop.org/ |
---|
9 | |
---|
10 | # patch for Vine |
---|
11 | Patch1001: mate-desktop-vine-settings.patch |
---|
12 | Patch1002: mate-desktop-1.10.0-color-select-desktop.patch |
---|
13 | |
---|
14 | BuildRequires: mate-common |
---|
15 | BuildRequires: mate-doc-utils |
---|
16 | BuildRequires: gtk2-devel |
---|
17 | BuildRequires: dconf-devel |
---|
18 | BuildRequires: unique-devel |
---|
19 | BuildRequires: startup-notification-devel |
---|
20 | BuildRequires: gtk-doc |
---|
21 | BuildRequires: itstool |
---|
22 | BuildRequires: autoconf |
---|
23 | BuildRequires: automake |
---|
24 | |
---|
25 | Requires(posttrans,postun): glib2 |
---|
26 | Requires(post,postun): desktop-file-utils |
---|
27 | |
---|
28 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
29 | |
---|
30 | Vendor: Project Vine |
---|
31 | Distribution: Vine Linux |
---|
32 | Packager: Takemikaduchi |
---|
33 | |
---|
34 | |
---|
35 | %description |
---|
36 | mate-desktop contains the libmate-desktop library, the mate-about |
---|
37 | program as well as some desktop-wide documents. |
---|
38 | |
---|
39 | |
---|
40 | %package devel |
---|
41 | Summary: Development tools for mate-desktop |
---|
42 | Summary(ja): mate-desktop の開発環境 |
---|
43 | Group: Development/Libraries |
---|
44 | Requires: %{name} = %{version}-%{release} |
---|
45 | Requires: pkgconfig |
---|
46 | |
---|
47 | %description devel |
---|
48 | Header files and libraries for building a extension library for the |
---|
49 | mate-desktop. |
---|
50 | |
---|
51 | |
---|
52 | %package docs |
---|
53 | Summary: Documentation for mate-desktop |
---|
54 | Summary(ja): mate-desktop 用のドキュメント |
---|
55 | Group: Documentation |
---|
56 | BuildArch: noarch |
---|
57 | |
---|
58 | %description docs |
---|
59 | This 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 | |
---|
81 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
82 | find $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 |
---|
94 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
95 | |
---|
96 | %postun |
---|
97 | /sbin/ldconfig |
---|
98 | if [ $1 -eq 0 ]; then |
---|
99 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
100 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
101 | fi |
---|
102 | |
---|
103 | %posttrans |
---|
104 | glib-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 | |
---|