[mate-session-manager] initial import

Dan Mashal vicodan at fedoraproject.org
Thu Oct 4 16:50:44 UTC 2012


commit 76682712c515f10a705bfdfed72e6f4fca460335
Author: dmashal <dan.mashal at fedoraproject.org>
Date:   Thu Oct 4 09:50:33 2012 -0700

    initial import

 .gitignore                |    1 +
 mate-session-manager.spec |   90 +++++++++++++++++++++++++++++++++++++++++++++
 sources                   |    1 +
 3 files changed, 92 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0f2c8d4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mate-session-manager-1.4.0.tar.xz
diff --git a/mate-session-manager.spec b/mate-session-manager.spec
new file mode 100644
index 0000000..4994b50
--- /dev/null
+++ b/mate-session-manager.spec
@@ -0,0 +1,90 @@
+Name:	mate-session-manager
+Version:	1.4.0
+Release:	4%{?dist}
+Summary:	MATE Desktop session manager
+License:	GPLv2+
+URL:		http://mate-desktop.org
+Source0:	http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
+
+BuildRequires:	mate-conf-devel desktop-file-utils mate-conf-gtk mate-conf gtk2-devel dbus-glib-devel mate-common gstreamer-plugins-base-devel libSM-devel upower-devel mate-polkit-devel mate-icon-theme icon-naming-utils polkit-devel
+Requires(pre):	mate-conf
+Requires(post):	mate-conf
+Requires(preun):	mate-conf
+
+%description
+MATE Desktop session manager
+
+%prep
+%setup -q
+NOCONFIGURE=1 ./autogen.sh
+
+%build
+%configure --disable-schemas-install --enable-gstreamer --enable-profiles --enable-polkit
+make %{?_smp_mflags} V=1
+
+
+%install
+make install DESTDIR=%{buildroot}
+%find_lang %{name}
+	desktop-file-install								\
+	--remove-category="MATE"							\
+	--add-category="X-Mate"								\
+	--delete-original								\
+	--dir=%{buildroot}%{_datadir}/applications					\
+%{buildroot}%{_datadir}/applications/mate-session-properties.desktop
+
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/mate-session-properties.desktop
+
+%pre
+%mateconf_schema_prepare mate-session
+
+%preun
+%mateconf_schema_remove mate-session
+
+%post
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+%mateconf_schema_upgrade mate-session
+
+
+%postun
+if [ $1 -eq 0 ] ; then
+	/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+	/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files -f %{name}.lang
+%doc AUTHORS COPYING README
+%{_mandir}/man1/*
+%{_bindir}/mate-session
+%{_bindir}/mate-session-properties
+%{_bindir}/mate-session-save
+%{_bindir}/mate-wm
+%config(noreplace) %{_sysconfdir}/mateconf/schemas/mate-session.schemas
+%{_datadir}/applications/mate-session-properties.desktop
+%{_datadir}/mate-session/
+%{_datadir}/icons/hicolor/16x16/apps/*.png
+%{_datadir}/icons/hicolor/22x22/apps/*.png
+%{_datadir}/icons/hicolor/24x24/apps/*.png
+%{_datadir}/icons/hicolor/32x32/apps/*.png
+%{_datadir}/icons/hicolor/48x48/apps/*.png
+%{_datadir}/icons/hicolor/scalable/apps/mate-session-properties.svg
+%{_datadir}/xsessions/mate.desktop
+
+%changelog
+* Tue Oct 02 2012 Dan Mashal <dan.mashal at fedoraproject.org> - 1.4.0-4
+- Update post/postun/poststrans scriptlets to match files section for hicolor
+- Update licensing to GPLv2+ only
+
+* Sat Sep 29 2012 Dan Mashal <dan.mashal at fedoraproject.org> - 1.4.0-3
+- Fix buildrequires/requires field
+
+* Mon Sep 26 2012 Dan Mashal <dan.mashal at fedoraproject.org> - 1.4.0-2
+- Fix mateconf scriptlets
+
+* Thu Jul 12 2012 Dan Mashal <dan.mashal at fedoraproject.org> - 1.4.0-1
+-Initial build
+
diff --git a/sources b/sources
index e69de29..1adbbb6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7cac7ef39b72c814f549fa6f1f84a58d  mate-session-manager-1.4.0.tar.xz


More information about the scm-commits mailing list