planner/planner.spec

216 lines
6.6 KiB
RPMSpec

%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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.14.6-4mamba
- python 2.7 mass rebuild
* Tue Oct 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.6-3mamba
- rebuilt without evolution (incompatible since 3.6)
* Sun Aug 05 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.6-2mamba
- rebuilt with libevolution-data-server 3.4
* Thu Jun 14 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.6-1mamba
- update to 0.14.6
* Sun Jul 24 2011 Automatic Build System <autodist@mambasoft.it> 0.14.5-1mamba
- automatic version update by autodist
* Wed Nov 10 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.4-4mamba
- rebuilt with libevolution-data-server 2.32.0
* Tue Jun 29 2010 Automatic Build System <autodist@mambasoft.it> 0.14.4-3mamba
- automatic rebuild by autodist
* Thu May 21 2009 Automatic Build System <autodist@mambasoft.it> 0.14.4-2mamba
- automatic rebuild by autodist
* Wed May 06 2009 Automatic Build System <autodist@mambasoft.it> 0.14.4-1mamba
- automatic update by autodist
* Thu Jan 15 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.3-2mamba
- rebuild with libgda 3.0.4
* Tue Sep 30 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.3-1mamba
- update to 0.14.3
* Mon Sep 17 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.2-3mamba
- rebuild against current version of evolution-data-server
* Tue Mar 06 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.2-1qilnx
- update to version 0.14.2 by autospec
* Sun Feb 18 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14-1qilnx
- update to version 0.14 by autospec
* Mon Dec 19 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.cvs20051219-1qilnx
- upgraded to cvs snapshot
* Mon Dec 12 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13-1qilnx
- package created by autospec