2 # - split or move libs to skip circular deps:
4 #error: removing mate-desktop-1.5.5-0.3.i686 "Requires: mate-desktop-libs = 1.5.5-0.3" from tsort relations.
5 #error: mate-desktop-1.5.5-0.3.i686 Requires: mate-desktop-libs = 1.5.5-0.3
6 #error: removing mate-desktop-libs-1.5.5-0.3.i686 "Requires: mate-desktop = 1.5.5-0.3" from tsort relations.
7 #error: mate-desktop-libs-1.5.5-0.3.i686 Requires: mate-desktop = 1.5.5-0.3
8 # - fix gtk-doc building (probably missing some dtd's)
11 %bcond_with doc # gtk doc. broken
13 Summary: Shared code for mate-panel, mate-session, mate-file-manager, etc
17 URL: http://mate-desktop.org
18 Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
19 # Source0-md5: 683a8c3efcb5270cd215d9c856b0ced6
20 Source1: user-dirs-update-mate.desktop
21 License: GPLv2+ and LGPLv2+ and MIT
22 Group: X11/Applications
23 BuildRequires: desktop-file-utils
24 BuildRequires: mate-common
25 BuildRequires: pkgconfig(gsettings-desktop-schemas)
26 BuildRequires: pkgconfig(libstartup-notification-1.0)
27 %{?with_apidoc:BuildRequires: pkgconfig(mate-doc-utils)}
28 BuildRequires: pkgconfig(unique-1.0)
29 BuildRequires: tar >= 1:1.22
31 Requires: %{name}-libs = %{version}-%{release}
32 Requires: glib2 >= 1:2.26.0
33 Requires: python-pygtk-gtk
34 #Requires: redhat-menus
35 Requires: xdg-user-dirs-gtk
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 The mate-desktop package contains an internal library (libmatedesktop)
40 used to implement some portions of the MATE desktop, and also some
41 data files and other shared components of the MATE user environment.
44 Summary: Shared libraries for libmate-desktop
47 Requires: %{name} = %{version}-%{release}
50 Shared libraries for libmate-desktop
53 Summary: Libraries and headers for libmate-desktop
55 Group: Development/Libraries
56 Requires: %{name}-libs = %{version}-%{release}
59 Libraries and header files for the MATE-internal private library
64 NOCONFIGURE=1 ./autogen.sh
69 --disable-scrollkeeper \
71 --disable-schemas-compile \
72 --with-pnp-ids-path="%{_datadir}/hwdata/pnp.ids" \
74 %{?with_doc:--enable-gtk-doc} \
75 --with-omf-dir=%{_datadir}/omf/mate-desktop
81 rm -rf $RPM_BUILD_ROOT
83 DESTDIR=$RPM_BUILD_ROOT
85 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
86 find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
88 desktop-file-install \
89 --remove-category="MATE" \
90 --add-category="X-Mate" \
92 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
93 $RPM_BUILD_ROOT%{_desktopdir}/mate-about.desktop
95 install -Dp %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/user-dirs-update-mate.desktop
99 %post libs -p /sbin/ldconfig
100 %postun libs -p /sbin/ldconfig
103 %glib_compile_schemas
106 %glib_compile_schemas
109 rm -rf $RPM_BUILD_ROOT
111 %files -f %{name}.lang
112 %defattr(644,root,root,755)
113 %doc AUTHORS COPYING COPYING.LIB NEWS README
114 %attr(755,root,root) %{_bindir}/mate-about
115 %{_sysconfdir}/xdg/autostart/user-dirs-update-mate.desktop
116 %{_desktopdir}/mate-about.desktop
118 %{_datadir}/mate/help/*/*/*.xml
119 %{_datadir}/omf/mate-desktop/
120 %{_datadir}/mate-about/
121 %{_datadir}/glib-2.0/schemas/org.mate.*.gschema.xml
122 %{_mandir}/man1/mate-about.1*
123 %{_pixmapsdir}/gnu-cat*
125 # XXX package these help dirs where?
126 %dir %{_datadir}/mate/help/fdl
127 %dir %{_datadir}/mate/help/gpl
128 %dir %{_datadir}/mate/help/lgpl
129 %dir %{_datadir}/mate/help/fdl/C
131 %dir %{_datadir}/mate/help/fdl/ar
132 %dir %{_datadir}/mate/help/fdl/ca
133 %dir %{_datadir}/mate/help/fdl/de
134 %dir %{_datadir}/mate/help/fdl/el
135 %dir %{_datadir}/mate/help/fdl/es
136 %dir %{_datadir}/mate/help/fdl/eu
137 %dir %{_datadir}/mate/help/fdl/fr
138 %dir %{_datadir}/mate/help/fdl/hu
139 %dir %{_datadir}/mate/help/fdl/ko
140 %dir %{_datadir}/mate/help/fdl/oc
141 %dir %{_datadir}/mate/help/fdl/pl
142 %dir %{_datadir}/mate/help/fdl/sv
143 %dir %{_datadir}/mate/help/fdl/uk
144 %dir %{_datadir}/mate/help/fdl/vi
145 %dir %{_datadir}/mate/help/gpl/C
146 %dir %{_datadir}/mate/help/gpl/ar
147 %dir %{_datadir}/mate/help/gpl/ca
148 %dir %{_datadir}/mate/help/gpl/cs
149 %dir %{_datadir}/mate/help/gpl/de
150 %dir %{_datadir}/mate/help/gpl/el
151 %dir %{_datadir}/mate/help/gpl/es
152 %dir %{_datadir}/mate/help/gpl/eu
153 %dir %{_datadir}/mate/help/gpl/fi
154 %dir %{_datadir}/mate/help/gpl/fr
155 %dir %{_datadir}/mate/help/gpl/hu
156 %dir %{_datadir}/mate/help/gpl/ko
157 %dir %{_datadir}/mate/help/gpl/nds
158 %dir %{_datadir}/mate/help/gpl/oc
159 %dir %{_datadir}/mate/help/gpl/pa
160 %dir %{_datadir}/mate/help/gpl/sv
161 %dir %{_datadir}/mate/help/gpl/uk
162 %dir %{_datadir}/mate/help/gpl/vi
163 %dir %{_datadir}/mate/help/gpl/zh_CN
164 %dir %{_datadir}/mate/help/lgpl/C
165 %dir %{_datadir}/mate/help/lgpl/ar
166 %dir %{_datadir}/mate/help/lgpl/de
167 %dir %{_datadir}/mate/help/lgpl/el
168 %dir %{_datadir}/mate/help/lgpl/es
169 %dir %{_datadir}/mate/help/lgpl/eu
170 %dir %{_datadir}/mate/help/lgpl/fi
171 %dir %{_datadir}/mate/help/lgpl/fr
172 %dir %{_datadir}/mate/help/lgpl/hu
173 %dir %{_datadir}/mate/help/lgpl/ko
174 %dir %{_datadir}/mate/help/lgpl/oc
175 %dir %{_datadir}/mate/help/lgpl/pa
176 %dir %{_datadir}/mate/help/lgpl/sv
177 %dir %{_datadir}/mate/help/lgpl/uk
178 %dir %{_datadir}/mate/help/lgpl/vi
179 %dir %{_datadir}/mate/help/lgpl/zh_CN
182 %defattr(644,root,root,755)
183 %attr(755,root,root) %{_libdir}/libmate-desktop-2.so.*.*.*
184 %ghost %{_libdir}/libmate-desktop-2.so.17
187 %defattr(644,root,root,755)
188 %doc %{_datadir}/gtk-doc/html/mate-desktop
189 %{_libdir}/libmate-desktop-2.so
190 %{_pkgconfigdir}/mate-desktop-2.0.pc
191 %{_includedir}/mate-desktop-2.0