2 # - docs broken, like mate-desktop
3 # fix gtk-doc building (probably missing some dtd's)
4 #xsltproc -o mate-applet-clock-C.omf --stringparam db2omf.basename mate-applet-clock --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/mate/help" --stringparam db2omf.omf_in "/home/users/glen/rpm/packages/BUILD.i686-linux/mate-panel-1.5.3/help/clock/mate-applet-clock.omf.in" `/usr/bin/pkg-config --variable db2omf mate-doc-utils` C/mate-applet-clock.xml || { rm -f "mate-applet-clock-C.omf"; exit 1; }
5 #if ! test -d ar/; then mkdir ar/; fi
6 #if [ -f "C/mate-applet-clock.xml" ]; then d="../"; else d="/home/users/glen/rpm/packages/BUILD.i686-linux/mate-panel-1.5.3/help/clock/"; fi; \
8 #if [ -f "${mo}" ]; then mo="../${mo}"; else mo="/home/users/glen/rpm/packages/BUILD.i686-linux/mate-panel-1.5.3/help/clock/${mo}"; fi; \
10 # `which xml2po` -m docbook -e -t "${mo}" \
11 # "${d}C/mate-applet-clock.xml" > mate-applet-clock.xml.tmp && \
12 # cp mate-applet-clock.xml.tmp mate-applet-clock.xml && rm -f mate-applet-clock.xml.tmp)
14 #xsltApplyStylesheet: saving to mate-applet-clock-C.omf may not be possible
15 #make[3]: *** [mate-applet-clock-C.omf] Error 1
16 #make[3]: *** Waiting for unfinished jobs....
17 #Making all in mate-panel-applet
18 #make[4]: Entering directory `/home/users/glen/rpm/BUILD/i686-linux/mate-panel-1.5.3/doc/reference/mate-panel-applet'
19 # DOC Scanning header files
20 # DOC Introspecting gobjects
21 #libtool: link: cannot find the library `../../../libmate-panel-applet/libmate-panel-applet-3.la' or unhandled argument `../../../libmate-panel-applet/libmate-panel-applet-3.la'
22 #Linking of scanner failed:
23 #make[4]: *** [scan-build.stamp] Error 1
24 #make[4]: Leaving directory `/home/users/
25 # - check direct deps:
26 #mate-panel-1.5.3-0.1.i686 marks mate-menus-libs-1.5.0-1.i686 (cap libmate-menu.so.2)
27 #mate-panel-1.5.3-0.1.i686 marks mate-panel-libs-1.5.3-0.1.i686 (cap libmate-panel-applet-4.so.1)
28 #mate-panel-1.5.3-0.1.i686 marks libmateweather-1.5.0-1.i686 (cap libmateweather.so.1)
29 #mate-panel-1.5.3-0.1.i686 marks libmatewnck-1.5.0-1.i686 (cap libmatewnck.so.0)
31 # - panel does not start:
32 #(mate-panel:7862): GLib-GIO-ERROR **: Settings schema 'org.mate.caja.desktop' is not installed
35 %bcond_with doc # gtk doc. broken
37 Summary: MATE Desktop panel applets
41 # libs are LGPLv2+ applications GPLv2+
43 Group: X11/Applications
44 URL: http://mate-desktop.org
45 Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
46 # Source0-md5: 72029cbcd38bee447df92c8774452bf3
47 BuildRequires: desktop-file-utils
48 BuildRequires: icon-naming-utils
49 BuildRequires: mate-common
50 BuildRequires: pkgconfig(dbus-glib-1)
51 BuildRequires: pkgconfig(dconf)
52 BuildRequires: pkgconfig(gobject-introspection-1.0)
53 BuildRequires: pkgconfig(gsettings-desktop-schemas)
54 BuildRequires: pkgconfig(gtk+-2.0)
55 BuildRequires: pkgconfig(libcanberra)
56 BuildRequires: pkgconfig(libmate-menu)
57 BuildRequires: pkgconfig(libmatewnck)
58 BuildRequires: pkgconfig(libnm-gtk)
59 BuildRequires: pkgconfig(librsvg-2.0)
60 BuildRequires: pkgconfig(mate-desktop-2.0)
61 %{?with_apidoc:BuildRequires: pkgconfig(mate-doc-utils)}
62 BuildRequires: pkgconfig(mateweather)
63 BuildRequires: pkgconfig(pango)
64 BuildRequires: pkgconfig(sm)
65 BuildRequires: pkgconfig(x11)
66 BuildRequires: popt-devel
67 BuildRequires: tar >= 1:1.22
69 Requires: %{name}-libs = %{version}-%{release}
70 Requires: glib2 >= 1:2.26.0
71 Requires: gsettings-desktop-schemas
72 # needed as nothing else requires it
73 Requires: desktop-file-utils
74 Requires: gtk-update-icon-cache
75 Requires: mate-session-manager
76 Suggests: mate-settings-daemon
79 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
82 MATE Desktop panel applets
85 Summary: Shared libraries for mate-panel
88 Requires: %{name} = %{version}-%{release}
91 Shared libraries for libmate-desktop
94 Summary: Development files for mate-panel
95 Group: Development/Libraries
96 Requires: %{name}-libs = %{version}-%{release}
99 Development files for mate-panel
105 NOCONFIGURE=1 ./autogen.sh
106 # libexecdir needed for gnome conflicts
108 --disable-scrollkeeper \
110 --disable-schemas-compile \
112 --enable-network-manager \
113 --libexecdir=%{_libexecdir}/mate-panel \
114 --with-html-dir=%{_gtkdocdir} \
115 %{?with_doc:--enable-gtk-doc} \
116 --enable-introspection
122 rm -rf $RPM_BUILD_ROOT
124 DESTDIR=$RPM_BUILD_ROOT
126 rm -fv $RPM_BUILD_ROOT%{_libdir}/lib*.la
128 desktop-file-install \
129 --remove-category="MATE" \
130 --add-category="X-Mate" \
131 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
132 $RPM_BUILD_ROOT%{_desktopdir}/mate-panel.desktop
137 rm -rf $RPM_BUILD_ROOT
140 %update_icon_cache hicolor
141 %update_desktop_database
142 %glib_compile_schemas
145 %update_icon_cache hicolor
146 %update_desktop_database
147 %glib_compile_schemas
149 %post libs -p /sbin/ldconfig
150 %postun libs -p /sbin/ldconfig
152 %files -f %{name}.lang
153 %defattr(644,root,root,755)
154 %doc AUTHORS COPYING README
155 %attr(755,root,root) %{_bindir}/mate-desktop-item-edit
156 %attr(755,root,root) %{_bindir}/mate-panel
157 %attr(755,root,root) %{_bindir}/mate-panel-test-applets
159 %{_libdir}/girepository-1.0/MatePanelApplet-4.0.typelib
160 %{_libexecdir}/mate-panel
161 %{_datadir}/glib-2.0/schemas/org.mate.panel.*.xml
162 %{_desktopdir}/mate-panel.desktop
163 %{_datadir}/dbus-1/services/org.mate.panel.*.service
164 %{_datadir}/omf/mate-applet-fish
165 %{_datadir}/omf/mate-applet-clock
166 %{_iconsdir}/hicolor/*/*/*
167 %{_datadir}/mate/help/mate-applet-clock
168 %{_datadir}/mate/help/mate-applet-fish
169 %{_datadir}/mate-panel
170 %{_datadir}/mate-panelrc
173 %defattr(644,root,root,755)
175 %attr(755,root,root) %{_libdir}/libmate-panel-applet-4.so.*.*.*
176 %ghost %{_libdir}/libmate-panel-applet-4.so.1
179 %defattr(644,root,root,755)
180 %{_libdir}/libmate-panel-applet-4.so
181 %{_includedir}/mate-panel-4.0
182 %{_pkgconfigdir}/libmatepanelapplet-4.0.pc
183 %{_datadir}/gir-1.0/MatePanelApplet-4.0.gir
185 %{_gtkdocdir}/mate-panel-applet