From edf6dc23aa4643fa400195db1eb02380ea05ebf1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:09:07 +0100 Subject: [PATCH] python 2.7 mass rebuild [release 0.14.6-4mamba;Sun Jun 02 2013] --- README.md | 2 + planner-0.14.3-glibc-2.7.patch | 15 +++ planner.spec | 215 +++++++++++++++++++++++++++++++++ 3 files changed, 232 insertions(+) create mode 100644 planner-0.14.3-glibc-2.7.patch create mode 100644 planner.spec diff --git a/README.md b/README.md index 161dc8a..ae34579 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # planner +Planner is a tool for planning, scheduling, and tracking projects. + diff --git a/planner-0.14.3-glibc-2.7.patch b/planner-0.14.3-glibc-2.7.patch new file mode 100644 index 0000000..4e66480 --- /dev/null +++ b/planner-0.14.3-glibc-2.7.patch @@ -0,0 +1,15 @@ +--- libplanner/mrp-sql.c 2008/07/15 01:17:58 1.1 ++++ libplanner/mrp-sql.c 2008/07/15 01:19:28 +@@ -2405,9 +2405,9 @@ mrp_sql_load_project (MrpStorageSQL *sto + } + + #define WRITE_ERROR(e,c) \ +-G_STMT_START \ +-g_set_error(e,MRP_ERROR,MRP_ERROR_SAVE_WRITE_FAILED, sql_get_last_error (c)) \ +-G_STMT_END ++G_STMT_START { \ ++g_set_error(e,MRP_ERROR,MRP_ERROR_SAVE_WRITE_FAILED, sql_get_last_error (c)); \ ++} G_STMT_END + + + /************************* diff --git a/planner.spec b/planner.spec new file mode 100644 index 0000000..a108a85 --- /dev/null +++ b/planner.spec @@ -0,0 +1,215 @@ +%define majver %(echo %version | cut -d. -f1-2) +Name: planner +Version: 0.14.6 +Release: 4mamba +Summary: A tool for planning, scheduling, and tracking projects +Group: Graphical Desktop/Applications/Office +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://freshmeat.net/projects/planner +Source: http://ftp.gnome.org/pub/GNOME/sources/planner/%{majver}/planner-%{version}.tar.xz +Patch: %{name}-0.14.3-glibc-2.7.patch +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: GConf-devel +BuildRequires: glibc-devel +BuildRequires: libart_lgpl-devel +BuildRequires: libatk-devel +BuildRequires: libavahi-devel +BuildRequires: libavahi-glib-devel +BuildRequires: libbonobo-devel +BuildRequires: libbonoboui-devel +BuildRequires: libbzip2-devel +BuildRequires: libcairo-devel +BuildRequires: libcanberra-devel +BuildRequires: libdbus-devel +BuildRequires: libdbus-glib-devel +BuildRequires: libelf-devel +BuildRequires: libexpat-devel +BuildRequires: libffi-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgcrypt-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglade-devel +BuildRequires: libGL-devel +BuildRequires: libglib-devel +BuildRequires: libglitz-devel +BuildRequires: libgnomecanvas-devel +BuildRequires: libgnome-devel +BuildRequires: libgnome-keyring-devel +BuildRequires: libgnomeui-devel +BuildRequires: libgnome-vfs-devel +BuildRequires: libgpg-error-devel +BuildRequires: libgraphite2-devel +BuildRequires: libgsf-devel +BuildRequires: libgtk2-devel +BuildRequires: libharfbuzz-devel +BuildRequires: libICE-devel +BuildRequires: liblzma-devel +BuildRequires: libopenssl-devel +BuildRequires: libpango-devel +BuildRequires: libpixman-devel +BuildRequires: libpng-devel +BuildRequires: libpopt-devel +BuildRequires: libpthread-stubs-devel +BuildRequires: libpython-devel +BuildRequires: libselinux-devel +BuildRequires: libSM-devel +BuildRequires: libssp-devel +BuildRequires: libstdc++6-devel +BuildRequires: libuuid-devel +BuildRequires: libX11-devel +BuildRequires: libXau-devel +BuildRequires: libxcb-devel +BuildRequires: libXcomposite-devel +BuildRequires: libXcursor-devel +BuildRequires: libXdamage-devel +BuildRequires: libXdmcp-devel +BuildRequires: libXext-devel +BuildRequires: libXfixes-devel +BuildRequires: libXinerama-devel +BuildRequires: libxml2-devel +BuildRequires: libXrandr-devel +BuildRequires: libXrender-devel +BuildRequires: libxslt-devel +BuildRequires: libz-devel +BuildRequires: ORBit2-devel +BuildRequires: pkg-config +BuildRequires: udev-devel +## AUTOBUILDREQ-END +BuildRequires: python >= 2.4.2 +BuildRequires: pygobject-devel >= 2.12.3 +BuildRequires: intltool >= 0.34.1 +#BuildRequires: evolution-devel +#BuildRequires: libevolution-data-server-devel >= 3.4 + +%description +Planner is a tool for planning, scheduling, and tracking projects. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Planner is a tool for planning, scheduling, and tracking projects. +This package contains static libraries and header files need for development. + +%prep +%setup -q +#%patch0 + +# GNOME CVS checkout with: +# cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome login +# cvs co planner + +%build +%configure \ + --enable-python \ + --enable-python-plugin \ + --enable-gtk-doc + +# FIXME: --enable-eds: Incompatible since evolution 3.6 + +%make -j1 + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +#sed -i "s|/usr/bin/update-desktop-database|/bin/true|" data/mime/Makefile +%makeinstall UPDATE_MIME_DATABASE=/bin/true UPDATE_DESKTOP_DATABASE=true + +rm -rf %{buildroot}/var/scrollkeeper + +%{find_lang} %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%files -f %{name}.lang +%defattr(-,root,root) +%{_sysconfdir}/gconf/schemas/planner.schemas +%{_bindir}/planner +%{_libdir}/libplanner-1.so.* +%dir %{_libdir}/planner +%{_libdir}/planner/* +#%{_datadir}/mime-info/planner.* +%{_datadir}/mime/packages/planner.xml +%{_datadir}/omf/planner/planner-C.omf +%{_datadir}/pixmaps/* +%dir %{_datadir}/planner +%{_datadir}/planner/* +%dir %{_datadir}/gnome/help/planner +%{_datadir}/gnome/help/planner/* +%dir %{_datadir}/doc/planner +%{_datadir}/doc/planner/* +%{_datadir}/icons/hicolor/48x48/mimetypes/gnome-mime-application-x-planner.png +%{python_sitearch}/planner.* +%{python_sitearch}/plannerui.la +%{python_sitearch}/plannerui.so +#%{_datadir}/application-registry/planner.applications +%{_datadir}/applications/planner.desktop +%{_datadir}/gtk-doc/html/libplanner/* +%{_datadir}/omf/planner/planner-eu.omf +%{_mandir}/man1/planner.1.gz +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_libdir}/libplanner-1.so +%{_libdir}/libplanner-1.la +%dir %{_includedir}/planner-1.0/libplanner +%{_includedir}/planner-1.0/libplanner/*.h +%{_libdir}/pkgconfig/*.pc +%doc ChangeLog README + +%changelog +* Sun Jun 02 2013 Silvan Calarco 0.14.6-4mamba +- python 2.7 mass rebuild + +* Tue Oct 16 2012 Silvan Calarco 0.14.6-3mamba +- rebuilt without evolution (incompatible since 3.6) + +* Sun Aug 05 2012 Silvan Calarco 0.14.6-2mamba +- rebuilt with libevolution-data-server 3.4 + +* Thu Jun 14 2012 Silvan Calarco 0.14.6-1mamba +- update to 0.14.6 + +* Sun Jul 24 2011 Automatic Build System 0.14.5-1mamba +- automatic version update by autodist + +* Wed Nov 10 2010 Silvan Calarco 0.14.4-4mamba +- rebuilt with libevolution-data-server 2.32.0 + +* Tue Jun 29 2010 Automatic Build System 0.14.4-3mamba +- automatic rebuild by autodist + +* Thu May 21 2009 Automatic Build System 0.14.4-2mamba +- automatic rebuild by autodist + +* Wed May 06 2009 Automatic Build System 0.14.4-1mamba +- automatic update by autodist + +* Thu Jan 15 2009 Silvan Calarco 0.14.3-2mamba +- rebuild with libgda 3.0.4 + +* Tue Sep 30 2008 Silvan Calarco 0.14.3-1mamba +- update to 0.14.3 + +* Mon Sep 17 2007 Silvan Calarco 0.14.2-3mamba +- rebuild against current version of evolution-data-server + +* Tue Mar 06 2007 Silvan Calarco 0.14.2-1qilnx +- update to version 0.14.2 by autospec + +* Sun Feb 18 2007 Silvan Calarco 0.14-1qilnx +- update to version 0.14 by autospec + +* Mon Dec 19 2005 Silvan Calarco 0.13.cvs20051219-1qilnx +- upgraded to cvs snapshot + +* Mon Dec 12 2005 Silvan Calarco 0.13-1qilnx +- package created by autospec