[packages/mate-desktop] new, version 1.5.5

glen glen at pld-linux.org
Fri Dec 21 22:06:43 CET 2012


commit cd44bed8c1f0b73ead5f97fedf3f1e85d9338bb4
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Dec 21 23:06:22 2012 +0200

    new, version 1.5.5
    
    based on fedora package

 mate-desktop.spec             | 189 ++++++++++++++++++++++++++++++++++++++++++
 user-dirs-update-mate.desktop |  11 +++
 2 files changed, 200 insertions(+)
---
diff --git a/mate-desktop.spec b/mate-desktop.spec
new file mode 100644
index 0000000..a003050
--- /dev/null
+++ b/mate-desktop.spec
@@ -0,0 +1,189 @@
+# TODO
+# - split or move libs to skip circular deps:
+# error: LOOP:
+#error: removing mate-desktop-1.5.5-0.3.i686 "Requires: mate-desktop-libs = 1.5.5-0.3" from tsort relations.
+#error:     mate-desktop-1.5.5-0.3.i686              Requires: mate-desktop-libs = 1.5.5-0.3
+#error: removing mate-desktop-libs-1.5.5-0.3.i686 "Requires: mate-desktop = 1.5.5-0.3" from tsort relations.
+#error:     mate-desktop-libs-1.5.5-0.3.i686         Requires: mate-desktop = 1.5.5-0.3
+# - fix gtk-doc building (probably missing some dtd's)
+
+# Conditional build:
+%bcond_with	doc	# gtk doc. broken
+
+Summary:	Shared code for mate-panel, mate-session, mate-file-manager, etc
+Name:		mate-desktop
+Version:	1.5.5
+Release:	0.3
+URL:		http://mate-desktop.org
+Source0:	http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
+# Source0-md5:	683a8c3efcb5270cd215d9c856b0ced6
+Source1:	user-dirs-update-mate.desktop
+License:	GPLv2+ and LGPLv2+ and MIT
+Group:		X11/Applications
+BuildRequires:	desktop-file-utils
+BuildRequires:	mate-common
+BuildRequires:	pkgconfig(gsettings-desktop-schemas)
+BuildRequires:	pkgconfig(libstartup-notification-1.0)
+%{?with_apidoc:BuildRequires:	pkgconfig(mate-doc-utils)}
+BuildRequires:	pkgconfig(unique-1.0)
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+Requires:	%{name}-libs = %{version}-%{release}
+Requires:	glib2 >= 1:2.26.0
+Requires:	python-pygtk-gtk
+#Requires:	redhat-menus
+Requires:	xdg-user-dirs-gtk
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The mate-desktop package contains an internal library (libmatedesktop)
+used to implement some portions of the MATE desktop, and also some
+data files and other shared components of the MATE user environment.
+
+%package libs
+Summary:	Shared libraries for libmate-desktop
+License:	LGPL v2+
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description libs
+Shared libraries for libmate-desktop
+
+%package devel
+Summary:	Libraries and headers for libmate-desktop
+License:	LGPL v2+
+Group:		Development/Libraries
+Requires:	%{name}-libs = %{version}-%{release}
+
+%description devel
+Libraries and header files for the MATE-internal private library
+libmatedesktop.
+
+%prep
+%setup -q
+NOCONFIGURE=1 ./autogen.sh
+
+%build
+%configure \
+	--enable-gnucat \
+	--disable-scrollkeeper \
+	--disable-static \
+	--disable-schemas-compile \
+	--with-pnp-ids-path="%{_datadir}/hwdata/pnp.ids" \
+	--enable-unique \
+	%{?with_doc:--enable-gtk-doc} \
+	--with-omf-dir=%{_datadir}/omf/mate-desktop
+
+%{__make} \
+	V=1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
+
+desktop-file-install \
+	--remove-category="MATE" \
+	--add-category="X-Mate" \
+	--delete-original \
+	--dir=$RPM_BUILD_ROOT%{_desktopdir} \
+$RPM_BUILD_ROOT%{_desktopdir}/mate-about.desktop
+
+install -Dp %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/user-dirs-update-mate.desktop
+
+%find_lang %{name}
+
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
+
+%post
+%glib_compile_schemas
+
+%postun
+%glib_compile_schemas
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING COPYING.LIB NEWS README
+%attr(755,root,root) %{_bindir}/mate-about
+%{_sysconfdir}/xdg/autostart/user-dirs-update-mate.desktop
+%{_desktopdir}/mate-about.desktop
+%{_datadir}/mate/help/*/*/*.xml
+%{_datadir}/omf/mate-desktop/
+%{_datadir}/mate-about/
+%{_datadir}/glib-2.0/schemas/org.mate.*.gschema.xml
+%{_mandir}/man1/mate-about.1*
+%{_pixmapsdir}/gnu-cat*
+
+# XXX package these help dirs where?
+%dir %{_datadir}/mate/help/fdl
+%dir %{_datadir}/mate/help/gpl
+%dir %{_datadir}/mate/help/lgpl
+%dir %{_datadir}/mate/help/fdl/C
+%lang(ar) %dir %{_datadir}/mate/help/fdl/ar
+%lang(ca) %dir %{_datadir}/mate/help/fdl/ca
+%lang(de) %dir %{_datadir}/mate/help/fdl/de
+%lang(el) %dir %{_datadir}/mate/help/fdl/el
+%lang(es) %dir %{_datadir}/mate/help/fdl/es
+%lang(eu) %dir %{_datadir}/mate/help/fdl/eu
+%lang(fr) %dir %{_datadir}/mate/help/fdl/fr
+%lang(hu) %dir %{_datadir}/mate/help/fdl/hu
+%lang(ko) %dir %{_datadir}/mate/help/fdl/ko
+%lang(oc) %dir %{_datadir}/mate/help/fdl/oc
+%lang(pl) %dir %{_datadir}/mate/help/fdl/pl
+%lang(sv) %dir %{_datadir}/mate/help/fdl/sv
+%lang(uk) %dir %{_datadir}/mate/help/fdl/uk
+%lang(vi) %dir %{_datadir}/mate/help/fdl/vi
+%dir %{_datadir}/mate/help/gpl/C
+%lang(ar) %dir %{_datadir}/mate/help/gpl/ar
+%lang(ca) %dir %{_datadir}/mate/help/gpl/ca
+%lang(cs) %dir %{_datadir}/mate/help/gpl/cs
+%lang(de) %dir %{_datadir}/mate/help/gpl/de
+%lang(el) %dir %{_datadir}/mate/help/gpl/el
+%lang(es) %dir %{_datadir}/mate/help/gpl/es
+%lang(eu) %dir %{_datadir}/mate/help/gpl/eu
+%lang(fi) %dir %{_datadir}/mate/help/gpl/fi
+%lang(fr) %dir %{_datadir}/mate/help/gpl/fr
+%lang(hu) %dir %{_datadir}/mate/help/gpl/hu
+%lang(ko) %dir %{_datadir}/mate/help/gpl/ko
+%lang(nds) %dir %{_datadir}/mate/help/gpl/nds
+%lang(oc) %dir %{_datadir}/mate/help/gpl/oc
+%lang(pa) %dir %{_datadir}/mate/help/gpl/pa
+%lang(sv) %dir %{_datadir}/mate/help/gpl/sv
+%lang(uk) %dir %{_datadir}/mate/help/gpl/uk
+%lang(vi) %dir %{_datadir}/mate/help/gpl/vi
+%lang(zh_CN) %dir %{_datadir}/mate/help/gpl/zh_CN
+%dir %{_datadir}/mate/help/lgpl/C
+%lang(ar) %dir %{_datadir}/mate/help/lgpl/ar
+%lang(de) %dir %{_datadir}/mate/help/lgpl/de
+%lang(el) %dir %{_datadir}/mate/help/lgpl/el
+%lang(es) %dir %{_datadir}/mate/help/lgpl/es
+%lang(eu) %dir %{_datadir}/mate/help/lgpl/eu
+%lang(fi) %dir %{_datadir}/mate/help/lgpl/fi
+%lang(fr) %dir %{_datadir}/mate/help/lgpl/fr
+%lang(hu) %dir %{_datadir}/mate/help/lgpl/hu
+%lang(ko) %dir %{_datadir}/mate/help/lgpl/ko
+%lang(oc) %dir %{_datadir}/mate/help/lgpl/oc
+%lang(pa) %dir %{_datadir}/mate/help/lgpl/pa
+%lang(sv) %dir %{_datadir}/mate/help/lgpl/sv
+%lang(uk) %dir %{_datadir}/mate/help/lgpl/uk
+%lang(vi) %dir %{_datadir}/mate/help/lgpl/vi
+%lang(zh_CN) %dir %{_datadir}/mate/help/lgpl/zh_CN
+
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libmate-desktop-2.so.*.*.*
+%ghost %{_libdir}/libmate-desktop-2.so.17
+
+%files devel
+%defattr(644,root,root,755)
+%doc %{_datadir}/gtk-doc/html/mate-desktop
+%{_libdir}/libmate-desktop-2.so
+%{_pkgconfigdir}/mate-desktop-2.0.pc
+%{_includedir}/mate-desktop-2.0
diff --git a/user-dirs-update-mate.desktop b/user-dirs-update-mate.desktop
new file mode 100644
index 0000000..06fe8a7
--- /dev/null
+++ b/user-dirs-update-mate.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=MATE Desktop user folders update
+Comment=Update MATE common folders names to match the current locale
+Type=Application
+Icon=system
+Terminal=false
+Exec=xdg-user-dirs-gtk-update
+OnlyShowIn=MATE;
+StartupNotify=false
+OnlyShowIn=MATE;
+Encoding=UTF-8
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mate-desktop.git/commitdiff/cd44bed8c1f0b73ead5f97fedf3f1e85d9338bb4



More information about the pld-cvs-commit mailing list