[mate-panel] initial import

Dan Mashal vicodan at fedoraproject.org
Thu Oct 4 18:29:29 UTC 2012


commit 2d4db791c4bb119e5c0cee240c35c22f94c3cf57
Author: dmashal <dan.mashal at fedoraproject.org>
Date:   Thu Oct 4 11:29:19 2012 -0700

    initial import

 .gitignore      |    1 +
 mate-panel.spec |  183 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 185 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e3d17ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mate-panel-1.4.0.tar.xz
diff --git a/mate-panel.spec b/mate-panel.spec
new file mode 100644
index 0000000..21e43ab
--- /dev/null
+++ b/mate-panel.spec
@@ -0,0 +1,183 @@
+%define po_package %{name}
+
+Name:	mate-panel
+Version:	1.4.0
+Release:	6%{?dist}
+Summary:	MATE Desktop panel applets
+#libs are LGPLv2+ applications GPLv2+
+License:	LGPLv2+ and GPLv2+
+URL:		http://mate-desktop.org
+Source0:	http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
+
+%if %{fedora} >= 18
+BuildRequires: libnm-gtk-devel
+%else
+BuildRequires: NetworkManager-gtk-devel
+%endif
+Buildrequires:	dbus-glib-devel desktop-file-utils gobject-introspection-devel gtk2-devel icon-naming-utils libSM-devel libcanberra-devel libmate-devel libmatecomponentui-devel libmatecomponent-devel libmateweather-devel libmatewnck-devel librsvg2-devel mate-common mate-conf-devel mate-corba-devel mate-conf mate-conf-gtk mate-desktop-devel mate-doc-utils mate-menus-devel pango-devel popt-devel
+
+#Will fix evolution support in a future release
+#BuildRequires: evolution-data-server-devel
+Requires(pre):	mate-conf
+Requires(post):	mate-conf
+Requires(preun):	mate-conf
+
+%description
+MATE Desktop panel applets
+
+%package devel
+Summary: Development files for mate-panel
+Requires:	%{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Development files for mate-panel
+
+
+%prep
+%setup -q
+NOCONFIGURE=1 ./autogen.sh
+
+%build
+#libexecdir needed for gnome conflicts
+%configure --disable-scrollkeeper --disable-static --enable-network-manager --libexecdir=%{_libexecdir}/mate-panel --enable-matecomponent --disable-schemas-install
+make  %{?_smp_mflags} V=1
+
+%install
+export MATECONF_DISABLE_MAKE_FILE_SCHEMA INSTALL=1
+make LIBTOOL="/usr/bin/libtool" DESTDIR=%{buildroot} install
+%find_lang %{name}
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+find %{buildroot} -name '*.a' -exec rm -f {} ';'
+
+desktop-file-install									\
+	--remove-category="MATE;GTK;System;Core;"					\
+	--add-category="X-Mate"								\
+	--delete-original								\
+	--dir=%{buildroot}%{_datadir}/applications					\
+%{buildroot}%{_datadir}/applications/mate-panel.desktop
+
+#%check
+#desktop-file-validate %{buildroot}%{_datadir}/applications/mate-panel.desktop
+
+
+
+%pre
+%mateconf_schema_prepare clock
+%mateconf_schema_prepare fish
+%mateconf_schema_prepare panel-compatibility
+%mateconf_schema_prepare panel-general
+%mateconf_schema_prepare panel-global
+%mateconf_schema_prepare panel-object
+%mateconf_schema_prepare panel-toplevel
+%mateconf_schema_prepare window-list
+%mateconf_schema_prepare workspace-switcher
+
+%post
+/sbin/ldconfig
+/bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
+update-desktop-database &> /dev/null || :
+%mateconf_schema_upgrade clock
+%mateconf_schema_upgrade fish
+%mateconf_schema_upgrade panel-compatibility
+%mateconf_schema_upgrade panel-general
+%mateconf_schema_upgrade panel-global
+%mateconf_schema_upgrade panel-object
+%mateconf_schema_upgrade panel-toplevel
+%mateconf_schema_upgrade window-list
+%mateconf_schema_upgrade workspace-switcher
+
+%preun
+%mateconf_schema_remove clock
+%mateconf_schema_remove fish
+%mateconf_schema_remove panel-compatibility
+%mateconf_schema_remove panel-general
+%mateconf_schema_remove panel-global
+%mateconf_schema_remove panel-object
+%mateconf_schema_remove panel-toplevel
+%mateconf_schema_remove window-list
+%mateconf_schema_remove workspace-switcher
+
+%postun
+/sbin/ldconfig
+if [ $1 -eq 0 ] ; then
+    /bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null
+    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+update-desktop-database &> /dev/null || :
+
+%posttrans
+/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files -f %{po_package}.lang
+%doc AUTHORS COPYING README
+%{_mandir}/man1/*
+%{_sysconfdir}/mateconf/schemas/clock.schemas
+%{_sysconfdir}/mateconf/schemas/fish.schemas
+%{_sysconfdir}/mateconf/schemas/panel-compatibility.schemas
+%{_sysconfdir}/mateconf/schemas/panel-default-setup.entries
+%{_sysconfdir}/mateconf/schemas/panel-general.schemas
+%{_sysconfdir}/mateconf/schemas/panel-global.schemas
+%{_sysconfdir}/mateconf/schemas/panel-object.schemas
+%{_sysconfdir}/mateconf/schemas/panel-toplevel.schemas
+%{_sysconfdir}/mateconf/schemas/window-list.schemas
+%{_sysconfdir}/mateconf/schemas/workspace-switcher.schemas
+%{_bindir}/mate-desktop-item-edit
+%{_bindir}/mate-panel
+%{_bindir}/mate-panel-test-applets
+%{_bindir}/panel-test-applets-matecomponent
+%{_datadir}/idl/mate-panel-2.0/MATE_Panel.idl
+%{_datadir}/mate-2.0/ui/MATE_Panel_Popup.xml
+%{_libdir}/libmate-panel-applet-2.so.1
+%{_libdir}/libmate-panel-applet-2.so.1.0.1
+%{_libdir}/girepository-1.0/MatePanelApplet-3.0.typelib
+%{_libdir}/libmate-panel-applet-3.so.1
+%{_libdir}/libmate-panel-applet-3.so.1.0.1
+%{_libexecdir}/mate-panel
+%{_datadir}/applications/mate-panel.desktop
+%{_datadir}/dbus-1/services/org.mate.panel.applet.ClockAppletFactory.service
+%{_datadir}/dbus-1/services/org.mate.panel.applet.FishAppletFactory.service
+%{_datadir}/dbus-1/services/org.mate.panel.applet.NotificationAreaAppletFactory.service
+%{_datadir}/dbus-1/services/org.mate.panel.applet.WnckletFactory.service
+%{_datadir}/gir-1.0/MatePanelApplet-3.0.gir
+%{_datadir}/omf/mate-applet-fish/
+%{_datadir}/omf/mate-applet-clock/
+%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/mate/help/mate-applet-clock
+%{_datadir}/mate/help/mate-applet-fish
+%{_datadir}/mate-panel
+%{_datadir}/mate-panelrc
+
+%files devel
+%{_libdir}/libmate-panel-applet-3.so
+%{_includedir}/mate-panel-3.0/
+%{_libdir}/pkgconfig/libmatepanelapplet-3.0.pc
+%{_includedir}/panel-2.0/MATE_Panel.h
+%{_includedir}/panel-2.0/mate-panel-applet-enums.h
+%{_includedir}/panel-2.0/mate-panel-applet-mateconf.h
+%{_includedir}/panel-2.0/mate-panel-applet.h
+%{_libdir}/libmate-panel-applet-2.so
+%{_libdir}/mate-panel/modules/libmate-panel-applets-matecomponent.so
+%{_libdir}/pkgconfig/libmatepanelapplet-2.0.pc
+%{_datadir}/gtk-doc/html/mate-panel-applet/
+
+%changelog
+* Wed Oct 03 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-6
+- Add posttrans scriptlet to update icon cache and fix ordering of scriptlets
+- Add comment about licensing
+
+* Wed Oct 03 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-5
+- Fix typo for netowrkmanager devel package on f18 
+
+* Tue Oct 02 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-4
+- Fix directory ownership, fix libexec configure flag
+- Fix schema installation.. totally off
+
+* Tue Oct 02 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-3
+- Fix buildrequires for networkmanager rename in f18 as per juhp
+
+* Mon Sep 26 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-2
+- Fix mateconf scriptlets
+
+* Sat Sep 01 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-1
+-Initial build
+
diff --git a/sources b/sources
index e69de29..b33542c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+98c7cf97e806edb72bbdfc1d975bcd7e  mate-panel-1.4.0.tar.xz


More information about the scm-commits mailing list