+++ /dev/null
---- lxpanel-0.5.10/data/Makefile.am.old 2012-06-11 16:08:05.000000000 +0200
-+++ lxpanel-0.5.10/data/Makefile.am 2012-06-11 16:08:49.000000000 +0200
-@@ -24,7 +24,7 @@ ui_in_files= \
- ui_DATA = $(ui_in_files:.glade=.ui)
-
- # Generate GtkBuilder UI files from Glade files
--%.ui: %.glade
-+.glade.ui:
- cp $< $@
- $(top_builddir)/src/xml-purge $@
-
+++ /dev/null
-diff -ur lxpanel-0.5.12.orig/src/plugins/netstatus/netstatus-iface.c lxpanel-0.5.12.fix/src/plugins/netstatus/netstatus-iface.c
---- lxpanel-0.5.12.orig/src/plugins/netstatus/netstatus-iface.c 2012-11-03 03:10:08.000000000 +0000
-+++ lxpanel-0.5.12.fix/src/plugins/netstatus/netstatus-iface.c 2013-07-18 08:56:22.016116247 +0000
-@@ -408,7 +408,7 @@
- va_start (args, format);
-
- error_message = g_strdup_vprintf (format, args);
-- error = g_error_new (NETSTATUS_ERROR, code, error_message);
-+ error = g_error_new (NETSTATUS_ERROR, code, "%s", error_message);
-
- dprintf (POLLING, "ERROR: %s\n", error->message);
- netstatus_iface_set_error (iface, error);
+# TODO: /etc/xdg/lxpanel - proper tags/flags etc.
Summary: LXPanel is a lightweight X11 desktop panel
Name: lxpanel
-Version: 0.5.12
-Release: 2
+Version: 0.7.0
+Release: 1
License: GPL v2
Group: X11/Applications
-Source0: http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.gz
-# Source0-md5: 30def9a0aa3c517e102295e8a7bc17fd
-Patch0: %{name}-werror.patch
-Patch1: %{name}-automake.patch
+Source0: http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.xz
+# Source0-md5: 39698de2c5eda2837607762c9f522cd0
URL: http://wiki.lxde.org/en/LXPanel
BuildRequires: autoconf
BuildRequires: automake >= 1:1.12
BuildRequires: libtool
BuildRequires: menu-cache-devel
BuildRequires: pkgconfig
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires: lxmenu-data
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
%build
%{__aclocal}
%{_mandir}/man1/lxpanelctl.1*
%dir %{_datadir}/lxpanel
-%{_datadir}/lxpanel/profile
+##%{_datadir}/lxpanel/profile
%{_datadir}/lxpanel/ui
%dir %{_datadir}/lxpanel/images
%dir %{_datadir}/lxpanel/xkeyboardconfig
%{_datadir}/lxpanel/xkeyboardconfig/*.cfg
+%{_sysconfdir}/xdg/lxpanel
+
%files devel
%defattr(644,root,root,755)
%dir %{_includedir}/lxpanel
-%{_includedir}/lxpanel/plugin.h
+%{_includedir}/lxpanel/*.h
%{_pkgconfigdir}/lxpanel.pc