1 | Summary: Common libraries for MATE |
---|
2 | Name: libmate |
---|
3 | Version: 1.4.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz |
---|
6 | License: GPLv2 |
---|
7 | Group: System Environment/Libraries |
---|
8 | URL: http://mate-desktop.org/ |
---|
9 | |
---|
10 | BuildRequires: mate-common |
---|
11 | BuildRequires: libmatecomponent-devel |
---|
12 | BuildRequires: mate-conf-devel |
---|
13 | BuildRequires: mate-vfs-devel |
---|
14 | BuildRequires: glib2-devel |
---|
15 | BuildRequires: libcanberra-devel |
---|
16 | BuildRequires: popt-devel |
---|
17 | BuildRequires: gtk-doc |
---|
18 | BuildRequires: autoconf |
---|
19 | BuildRequires: automake |
---|
20 | |
---|
21 | Requires(post,pre,preun): mate-conf |
---|
22 | |
---|
23 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
24 | |
---|
25 | # defualt settings |
---|
26 | Patch100: libmate-1.4.0-default-settings-vine.patch |
---|
27 | |
---|
28 | Vendor: Project Vine |
---|
29 | Distribution: Vine Linux |
---|
30 | Packager: Takemikaduchi |
---|
31 | |
---|
32 | |
---|
33 | %description |
---|
34 | This is the non-gui part of the library formerly known as |
---|
35 | mate-libs. |
---|
36 | |
---|
37 | |
---|
38 | %package devel |
---|
39 | Summary: Development tools for libmate |
---|
40 | Summary(ja): libmate の開発環境 |
---|
41 | Group: Development/Libraries |
---|
42 | Requires: %{name} = %{version}-%{release} |
---|
43 | Requires: pkgconfig |
---|
44 | Requires: mate-corba-devel |
---|
45 | Requires: mate-conf-devel |
---|
46 | Requires: mate-vfs-devel |
---|
47 | Requires: libcanberra-devel |
---|
48 | |
---|
49 | %description devel |
---|
50 | Header files and libraries for building a extension library for the |
---|
51 | libmate. |
---|
52 | |
---|
53 | |
---|
54 | %package doc |
---|
55 | Summary: Documentation for libmate |
---|
56 | Summary(ja): libmate 用のドキュメント |
---|
57 | Group: Documentation |
---|
58 | Requires: %{name} = %{version}-%{release} |
---|
59 | BuildArch: noarch |
---|
60 | |
---|
61 | %description doc |
---|
62 | This package contains documentation for libmate. |
---|
63 | |
---|
64 | |
---|
65 | %prep |
---|
66 | %setup -q |
---|
67 | %patch100 -p1 -b .vine |
---|
68 | |
---|
69 | |
---|
70 | %build |
---|
71 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
72 | %configure \ |
---|
73 | --disable-static \ |
---|
74 | |
---|
75 | %{__make} %{?_smp_mflags} |
---|
76 | |
---|
77 | |
---|
78 | %install |
---|
79 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
80 | |
---|
81 | export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
82 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
83 | unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
84 | |
---|
85 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
86 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
87 | |
---|
88 | %find_lang %{name} |
---|
89 | |
---|
90 | %clean |
---|
91 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
92 | |
---|
93 | %post |
---|
94 | /sbin/ldconfig |
---|
95 | |
---|
96 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
97 | |
---|
98 | SCHEMAS=" \ |
---|
99 | desktop_mate_accessibility_keyboard.schemas \ |
---|
100 | desktop_mate_accessibility_startup.schemas \ |
---|
101 | desktop_mate_applications_at_mobility.schemas \ |
---|
102 | desktop_mate_applications_at_visual.schemas \ |
---|
103 | desktop_mate_applications_browser.schemas \ |
---|
104 | desktop_mate_applications_office.schemas \ |
---|
105 | desktop_mate_applications_terminal.schemas \ |
---|
106 | desktop_mate_applications_window_manager.schemas \ |
---|
107 | desktop_mate_background.schemas \ |
---|
108 | desktop_mate_file_views.schemas \ |
---|
109 | desktop_mate_interface.schemas \ |
---|
110 | desktop_mate_lockdown.schemas \ |
---|
111 | desktop_mate_peripherals_keyboard.schemas \ |
---|
112 | desktop_mate_peripherals_mouse.schemas \ |
---|
113 | desktop_mate_sound.schemas \ |
---|
114 | desktop_mate_thumbnail_cache.schemas \ |
---|
115 | desktop_mate_thumbnailers.schemas \ |
---|
116 | desktop_mate_typing_break.schemas" |
---|
117 | for S in $SCHEMAS; do |
---|
118 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
119 | | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||: |
---|
120 | |
---|
121 | %pre |
---|
122 | if [ "$1" -gt 1 ]; then |
---|
123 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
124 | |
---|
125 | SCHEMAS=" \ |
---|
126 | desktop_mate_accessibility_keyboard.schemas \ |
---|
127 | desktop_mate_accessibility_startup.schemas \ |
---|
128 | desktop_mate_applications_at_mobility.schemas \ |
---|
129 | desktop_mate_applications_at_visual.schemas \ |
---|
130 | desktop_mate_applications_browser.schemas \ |
---|
131 | desktop_mate_applications_office.schemas \ |
---|
132 | desktop_mate_applications_terminal.schemas \ |
---|
133 | desktop_mate_applications_window_manager.schemas \ |
---|
134 | desktop_mate_background.schemas \ |
---|
135 | desktop_mate_file_views.schemas \ |
---|
136 | desktop_mate_interface.schemas \ |
---|
137 | desktop_mate_lockdown.schemas \ |
---|
138 | desktop_mate_peripherals_keyboard.schemas \ |
---|
139 | desktop_mate_peripherals_mouse.schemas \ |
---|
140 | desktop_mate_sound.schemas \ |
---|
141 | desktop_mate_thumbnail_cache.schemas \ |
---|
142 | desktop_mate_thumbnailers.schemas \ |
---|
143 | desktop_mate_typing_break.schemas" |
---|
144 | for S in $SCHEMAS; do |
---|
145 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
146 | | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||: |
---|
147 | fi |
---|
148 | |
---|
149 | %preun |
---|
150 | if [ "$1" -eq 0 ]; then |
---|
151 | export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source` |
---|
152 | |
---|
153 | SCHEMAS=" \ |
---|
154 | desktop_mate_accessibility_keyboard.schemas \ |
---|
155 | desktop_mate_accessibility_startup.schemas \ |
---|
156 | desktop_mate_applications_at_mobility.schemas \ |
---|
157 | desktop_mate_applications_at_visual.schemas \ |
---|
158 | desktop_mate_applications_browser.schemas \ |
---|
159 | desktop_mate_applications_office.schemas \ |
---|
160 | desktop_mate_applications_terminal.schemas \ |
---|
161 | desktop_mate_applications_window_manager.schemas \ |
---|
162 | desktop_mate_background.schemas \ |
---|
163 | desktop_mate_file_views.schemas \ |
---|
164 | desktop_mate_interface.schemas \ |
---|
165 | desktop_mate_lockdown.schemas \ |
---|
166 | desktop_mate_peripherals_keyboard.schemas \ |
---|
167 | desktop_mate_peripherals_mouse.schemas \ |
---|
168 | desktop_mate_sound.schemas \ |
---|
169 | desktop_mate_thumbnail_cache.schemas \ |
---|
170 | desktop_mate_thumbnailers.schemas \ |
---|
171 | desktop_mate_typing_break.schemas" |
---|
172 | for S in $SCHEMAS; do |
---|
173 | echo %{_sysconfdir}/mateconf/schemas/$S; done \ |
---|
174 | | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||: |
---|
175 | fi |
---|
176 | |
---|
177 | %postun -p /sbin/ldconfig |
---|
178 | |
---|
179 | %files -f %{name}.lang |
---|
180 | %defattr(-,root,root,-) |
---|
181 | %doc COPYING.LIB ChangeLog NEWS README |
---|
182 | %{_sysconfdir}/mateconf/schemas/desktop_mate_accessibility_keyboard.schemas |
---|
183 | %{_sysconfdir}/mateconf/schemas/desktop_mate_accessibility_startup.schemas |
---|
184 | %{_sysconfdir}/mateconf/schemas/desktop_mate_applications_at_mobility.schemas |
---|
185 | %{_sysconfdir}/mateconf/schemas/desktop_mate_applications_at_visual.schemas |
---|
186 | %{_sysconfdir}/mateconf/schemas/desktop_mate_applications_browser.schemas |
---|
187 | %{_sysconfdir}/mateconf/schemas/desktop_mate_applications_office.schemas |
---|
188 | %{_sysconfdir}/mateconf/schemas/desktop_mate_applications_terminal.schemas |
---|
189 | %{_sysconfdir}/mateconf/schemas/desktop_mate_applications_window_manager.schemas |
---|
190 | %{_sysconfdir}/mateconf/schemas/desktop_mate_background.schemas |
---|
191 | %{_sysconfdir}/mateconf/schemas/desktop_mate_file_views.schemas |
---|
192 | %{_sysconfdir}/mateconf/schemas/desktop_mate_interface.schemas |
---|
193 | %{_sysconfdir}/mateconf/schemas/desktop_mate_lockdown.schemas |
---|
194 | %{_sysconfdir}/mateconf/schemas/desktop_mate_peripherals_keyboard.schemas |
---|
195 | %{_sysconfdir}/mateconf/schemas/desktop_mate_peripherals_mouse.schemas |
---|
196 | %{_sysconfdir}/mateconf/schemas/desktop_mate_sound.schemas |
---|
197 | %{_sysconfdir}/mateconf/schemas/desktop_mate_thumbnail_cache.schemas |
---|
198 | %{_sysconfdir}/mateconf/schemas/desktop_mate_thumbnailers.schemas |
---|
199 | %{_sysconfdir}/mateconf/schemas/desktop_mate_typing_break.schemas |
---|
200 | %{_sysconfdir}/sound/events/gtk2-mate-events.soundlist |
---|
201 | %{_sysconfdir}/sound/events/mate.soundlist |
---|
202 | %{_bindir}/mate-open |
---|
203 | %{_libdir}/libmate-2.so.* |
---|
204 | %{_libdir}/matecomponent/monikers/libmoniker_extra_2.so |
---|
205 | %{_libdir}/matecomponent/servers/MATE_Moniker_std.server |
---|
206 | %{_datadir}/mate-background-properties/mate-default.xml |
---|
207 | %{_mandir}/man7/mate-options.7.gz |
---|
208 | |
---|
209 | %files devel |
---|
210 | %defattr(-,root,root,-) |
---|
211 | %{_includedir}/libmate-2.0 |
---|
212 | %{_libdir}/libmate-2.so |
---|
213 | %{_libdir}/pkgconfig/libmate-2.0.pc |
---|
214 | |
---|
215 | |
---|
216 | %files doc |
---|
217 | %defattr(-,root,root,-) |
---|
218 | %{_datadir}/gtk-doc/html/libmate |
---|
219 | |
---|
220 | |
---|
221 | %changelog |
---|
222 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
223 | - new upstream release |
---|
224 | - update Patch100 (libmate-1.4.0-default-settings-vine.patch) |
---|
225 | |
---|
226 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
227 | - new upstream release |
---|
228 | |
---|
229 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.2-1 |
---|
230 | - initial build for Vine Linux |
---|
231 | |
---|