%define name lifelines %define version 3.0.62 %define release %mkrel 5 %define summary A terminal based genealogy program %define fversion %version Summary: %{summary} Name: %{name} Version: %{version} Release: %{release} License: MIT Group: Databases Source: http://prdownloads.sourceforge.net/lifelines/%{name}-%{fversion}.tar.bz2 Patch: lifelines-3.0.62-format-strings.patch URL: http://lifelines.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildRequires: libncursesw-devel openjade >= 1.3.2-2mdk BuildRequires: bison %description This program allows the tracking of genealogical information. The lifelines reports are the power of the system. %prep %setup -q %patch -p1 %build %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/reports install -m 644 reports/CREDIT reports/README reports/boc.gif reports/*.ll reports/tree.* reports/index.html reports/ll.png reports/st/*.ll $RPM_BUILD_ROOT%{_datadir}/%{name}/reports install -d -m 755 $RPM_BUILD_ROOT/%{_mandir}/man1 install -m 644 docs/llines.1 $RPM_BUILD_ROOT/%{_mandir}/man1/llines.1 %find_lang %name rm -rf %buildroot/%_datadir/doc/lifelines rm -f %buildroot/%_libdir/libarch.a %clean #m -rf $RPM_BUILD_ROOT %files -f %name.lang %defattr(-,root,root) %doc README* ChangeLog NEWS AUTHORS LICENSE docs/*.txt docs/*.pdf docs/*.html %{_mandir}/man1/* %{_bindir}/btedit %{_bindir}/llines %{_bindir}/llexec %{_bindir}/dbverify %{_datadir}/%{name} %changelog * Thu Jan 07 2010 Götz Waschk <waschk@mandriva.org> 3.0.62-5mdv2010.1 + Revision: 487242 - build with ncursesw instead of ncurses * Tue Jul 28 2009 Götz Waschk <waschk@mandriva.org> 3.0.62-4mdv2010.0 + Revision: 401492 - fix format strings * Mon Jul 28 2008 Thierry Vignaud <tvignaud@mandriva.com> 3.0.62-3mdv2009.0 + Revision: 250763 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Sat Oct 06 2007 Götz Waschk <waschk@mandriva.org> 3.0.62-1mdv2008.1 + Revision: 95655 - new version * Wed Aug 15 2007 Götz Waschk <waschk@mandriva.org> 3.0.61-1mdv2008.0 + Revision: 63640 - new version * Wed Aug 01 2007 Götz Waschk <waschk@mandriva.org> 3.0.60-1mdv2008.0 + Revision: 57397 - new version - update file list - Import lifelines * Mon Jul 31 2006 Götz Waschk <waschk@mandriva.org> 3.0.50-1mdv2007.0 - Rebuild * Wed Jan 18 2006 Götz Waschk <waschk@mandriva.org> 3.0.50-1mdk - update file list - New release 3.0.50 - use mkrel * Mon Jun 27 2005 Götz Waschk <waschk@mandriva.org> 3.0.46.1-1mdk - New release 3.0.46.1 * Wed Jun 22 2005 Götz Waschk <waschk@mandriva.org> 3.0.46-1mdk - New release 3.0.46 * Mon Jun 13 2005 Götz Waschk <waschk@mandriva.org> 3.0.45-1mdk - fix source URL - New release 3.0.45 * Tue Apr 26 2005 Götz Waschk <waschk@mandriva.org> 3.0.44-2mdk - fix buildrequires * Mon Apr 25 2005 Götz Waschk <waschk@mandriva.org> 3.0.44-1mdk - drop patch - New release 3.0.44 * Fri Nov 5 2004 Götz Waschk <waschk@linux-mandrake.com> 3.0.38-2mdk - patch to fix build - remove packager tag * Fri Nov 5 2004 Götz Waschk <waschk@linux-mandrake.com> 3.0.38-1mdk - New release 3.0.38 * Sat Oct 11 2003 Götz Waschk <waschk@linux-mandrake.com> 3.0.37-1mdk - new version * Fri Aug 15 2003 Charles A Edwards <eslrahc@bellsouth.net> 3.0.29-1mdk - 3.0.29 * Wed Jun 25 2003 Charles A Edwards <eslrahc@bellsouth.net> 3.0.28-3mdk - more missing reports * Wed Jun 25 2003 Charles A Edwards <eslrahc@bellsouth.net> 3.0.28-2mdk - add missing /reports files (thanks to Jim Smilanich <jsmilan@tiny.net>) - BuildRequires * Sun May 11 2003 Götz Waschk <waschk@linux-mandrake.com> 3.0.28-1mdk - new version * Tue Mar 11 2003 Götz Waschk <waschk@linux-mandrake.com> 3.0.27-2mdk - fix buildrequires * Sat Mar 8 2003 Götz Waschk <waschk@linux-mandrake.com> 3.0.27-1mdk - fix doc file list - new version * Wed Mar 5 2003 Götz Waschk <waschk@linux-mandrake.com> 3.0.26-1mdk - new version * Mon Feb 24 2003 Götz Waschk <waschk@linux-mandrake.com> 3.0.25-1mdk - add missing files - new version * Fri Dec 27 2002 Götz Waschk <waschk@linux-mandrake.com> 3.0.24-1mdk - clean unpackaged files - new version * Fri Oct 4 2002 Götz Waschk <waschk@linux-mandrake.com> 3.0.20-1mdk - s/Copyright/License/ - use macros - fix typo in description - 3.0.20 - adapted package from Charles A Edwards <eslrahc@bellsouth.net> * Wed Oct 2 2002 Charles A Edwards <eslrahc@bellsouth.net> 3.0.19-1mdk - 1st Mdk pkg - Adapt RH spec