michael@0: # michael@0: # lifelines.spec - RPM configuration file for Lifelines michael@0: # michael@0: # To generate RPMs, place the tar.gz in /usr/src/packages/SOURCES/ and michael@0: # (or /usr/src/redhat/SOURCES as appropriate) michael@0: # then "rpm -ba lifelines.spec" michael@0: # or on newer systems, "rpmbuild -ba lifelines.spec" michael@0: # michael@0: # Add comment to top of comments at bottom if you revise this file. michael@0: # michael@0: michael@0: %define lifelines_version 3.0.62 michael@0: %define reports_dir /usr/local/share/lifelines-%{lifelines_version}/reports michael@0: %define tt_dir /usr/local/share/lifelines-%{lifelines_version}/tt michael@0: michael@0: Name: lifelines michael@0: Summary: lifelines genealogy program michael@0: Version: %{lifelines_version} michael@0: Release: 1 michael@0: License: X11 michael@0: Group: Utilities/System michael@0: Source: http://download.sourceforge.net/lifelines/lifelines-%{lifelines_version}.tar.gz michael@0: URL: http://lifelines.sourceforge.net/ michael@0: Packager: Marc Nozell michael@0: Provides: lifelines michael@0: BuildRoot: %{_tmppath}/%{name}-%{version}-root michael@0: BuildRequires: ncurses-devel bison michael@0: michael@0: %description michael@0: This program allows the tracking of genealogical information. The lifelines michael@0: reports are the power of the system. michael@0: michael@0: %prep michael@0: %setup michael@0: michael@0: %build michael@0: #make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" michael@0: sh -c ./configure michael@0: make michael@0: michael@0: %install michael@0: install -d -m 755 $RPM_BUILD_ROOT/usr/local/bin michael@0: install -s -m 755 src/liflines/llines $RPM_BUILD_ROOT/usr/local/bin michael@0: install -s -m 755 src/liflines/llexec $RPM_BUILD_ROOT/usr/local/bin michael@0: install -s -m 755 src/tools/dbverify $RPM_BUILD_ROOT/usr/local/bin michael@0: michael@0: install -d -m 755 $RPM_BUILD_ROOT/usr/local/share/locale/da/LC_MESSAGES michael@0: install -m 644 po/da.gmo $RPM_BUILD_ROOT/usr/local/share/locale/da/LC_MESSAGES/lifelines.mo michael@0: michael@0: install -d -m 755 $RPM_BUILD_ROOT/usr/local/share/locale/de/LC_MESSAGES michael@0: install -m 644 po/de.gmo $RPM_BUILD_ROOT/usr/local/share/locale/de/LC_MESSAGES/lifelines.mo michael@0: michael@0: install -d -m 755 $RPM_BUILD_ROOT/usr/local/share/locale/eo/LC_MESSAGES michael@0: install -m 644 po/eo.gmo $RPM_BUILD_ROOT/usr/local/share/locale/eo/LC_MESSAGES/lifelines.mo michael@0: michael@0: install -d -m 755 $RPM_BUILD_ROOT/usr/local/share/locale/es/LC_MESSAGES michael@0: install -m 644 po/es.gmo $RPM_BUILD_ROOT/usr/local/share/locale/es/LC_MESSAGES/lifelines.mo michael@0: michael@0: install -d -m 755 $RPM_BUILD_ROOT/usr/local/share/locale/fr/LC_MESSAGES michael@0: install -m 644 po/fr.gmo $RPM_BUILD_ROOT/usr/local/share/locale/fr/LC_MESSAGES/lifelines.mo michael@0: michael@0: install -d -m 755 $RPM_BUILD_ROOT/usr/local/share/locale/nl/LC_MESSAGES michael@0: install -m 644 po/nl.gmo $RPM_BUILD_ROOT/usr/local/share/locale/nl/LC_MESSAGES/lifelines.mo michael@0: michael@0: install -d -m 755 $RPM_BUILD_ROOT/usr/local/share/locale/pl/LC_MESSAGES michael@0: install -m 644 po/pl.gmo $RPM_BUILD_ROOT/usr/local/share/locale/pl/LC_MESSAGES/lifelines.mo michael@0: michael@0: install -d -m 755 $RPM_BUILD_ROOT/usr/local/share/locale/rw/LC_MESSAGES michael@0: install -m 644 po/rw.gmo $RPM_BUILD_ROOT/usr/local/share/locale/rw/LC_MESSAGES/lifelines.mo michael@0: michael@0: install -d -m 755 $RPM_BUILD_ROOT/usr/local/share/locale/sv/LC_MESSAGES michael@0: install -m 644 po/sv.gmo $RPM_BUILD_ROOT/usr/local/share/locale/sv/LC_MESSAGES/lifelines.mo michael@0: michael@0: install -d -m 755 $RPM_BUILD_ROOT%{reports_dir} michael@0: install -m 644 reports/*.ll $RPM_BUILD_ROOT%{reports_dir} michael@0: install -m 644 reports/*.li $RPM_BUILD_ROOT%{reports_dir} michael@0: install -m 644 reports/CREDIT reports/index.html $RPM_BUILD_ROOT%{reports_dir} michael@0: install -m 644 reports/boc.gif reports/ll.png $RPM_BUILD_ROOT%{reports_dir} michael@0: install -m 644 reports/*.c $RPM_BUILD_ROOT%{reports_dir} michael@0: install -m 644 reports/ps-pedigree.ps reports/tree.tex $RPM_BUILD_ROOT%{reports_dir} michael@0: michael@0: install -d -m 755 $RPM_BUILD_ROOT%{reports_dir}/novel michael@0: install -m 644 reports/novel/novel* $RPM_BUILD_ROOT%{reports_dir}/novel michael@0: michael@0: install -d -m 755 $RPM_BUILD_ROOT%{reports_dir}/pedtex michael@0: install -m 644 reports/pedtex/pedtex* $RPM_BUILD_ROOT%{reports_dir}/pedtex michael@0: install -m 644 reports/pedtex/*.tex $RPM_BUILD_ROOT%{reports_dir}/pedtex michael@0: michael@0: install -d -m 755 $RPM_BUILD_ROOT%{reports_dir}/ps-fan michael@0: install -m 644 reports/ps-fan/ps-fan* $RPM_BUILD_ROOT%{reports_dir}/ps-fan michael@0: michael@0: install -d -m 755 $RPM_BUILD_ROOT%{tt_dir} michael@0: install -m 644 tt/*.tt $RPM_BUILD_ROOT%{tt_dir} michael@0: install -d -m 755 $RPM_BUILD_ROOT/usr/local/man/man1 michael@0: install -m 644 docs/btedit.1 $RPM_BUILD_ROOT/usr/local/man/man1/btedit.1 michael@0: install -m 644 docs/dbverify.1 $RPM_BUILD_ROOT/usr/local/man/man1/dbverify.1 michael@0: install -m 644 docs/llines.1 $RPM_BUILD_ROOT/usr/local/man/man1/llines.1 michael@0: install -m 644 docs/llexec.1 $RPM_BUILD_ROOT/usr/local/man/man1/llexec.1 michael@0: michael@0: michael@0: %files michael@0: %defattr(-,root,root) michael@0: %doc README ChangeLog NEWS AUTHORS LICENSE michael@0: %doc README.AUTOCONF README.DEVELOPERS README.INTERNATIONAL README.LAYOUT michael@0: %doc README.MAINTAINERS README.MAINTAINERS.rpm README.MAINTAINERS.win32 michael@0: %doc .linesrc docs/lifelines.vim michael@0: %doc docs/ll-reportmanual.xml docs/ll-reportmanual.html docs/ll-reportmanual.pdf docs/ll-reportmanual.txt michael@0: %doc docs/ll-userguide.xml docs/ll-userguide.html docs/ll-userguide.pdf docs/ll-userguide.txt michael@0: michael@0: /usr/local/bin/llines michael@0: /usr/local/bin/llexec michael@0: /usr/local/bin/dbverify michael@0: /usr/local/share/locale/da/LC_MESSAGES/lifelines.mo michael@0: /usr/local/share/locale/de/LC_MESSAGES/lifelines.mo michael@0: /usr/local/share/locale/fr/LC_MESSAGES/lifelines.mo michael@0: /usr/local/share/locale/sv/LC_MESSAGES/lifelines.mo michael@0: /usr/local/share/locale/eo/LC_MESSAGES/lifelines.mo michael@0: /usr/local/share/locale/es/LC_MESSAGES/lifelines.mo michael@0: /usr/local/share/locale/nl/LC_MESSAGES/lifelines.mo michael@0: /usr/local/share/locale/pl/LC_MESSAGES/lifelines.mo michael@0: /usr/local/share/locale/rw/LC_MESSAGES/lifelines.mo michael@0: %{reports_dir} michael@0: %{tt_dir} michael@0: /usr/local/man/man1/btedit.1 michael@0: /usr/local/man/man1/dbverify.1 michael@0: /usr/local/man/man1/llines.1 michael@0: /usr/local/man/man1/llexec.1 michael@0: michael@0: %changelog michael@0: * Sun Apr 29 2007 Perry Rapp michael@0: - add llexec.1 man page to release michael@0: * Sun Apr 15 2007 Stephen Dum michael@0: - add README* files to release michael@0: * Wed Dec 21 2005 Stephen Dum michael@0: - add .tt files, .linesrc and new .mo files to release michael@0: * Tue Nov 15 2005 Perry Rapp michael@0: - Change "Copyright" to newer "License". michael@0: - Fix license name to clearer "X11". michael@0: - Add BuildRequires line. michael@0: * Thu Sep 29 2005 Perry Rapp michael@0: - Add eo, es, nl, pl, rw translations. Add *.li files. Add novel, pedtex, ps-fan reports. michael@0: * Sun Jan 30 2005 Perry Rapp michael@0: - Add comment about using rpmbuild on newer systems, and instruction about adding comments down here. michael@0: * Tue May 06 2003 Perry Rapp michael@0: - Add btedit.1 (& alphabetize man pages) michael@0: * Mon May 05 2003 Perry Rapp michael@0: - Add dbverify.1 michael@0: * Mon Nov 11 2002 Perry Rapp michael@0: - Add da.po michael@0: - (post lifelines-3.0.21) michael@0: * Mon Oct 07 2002 Perry Rapp michael@0: - Add new binary llexec michael@0: * Sun Sep 29 2002 Perry Rapp michael@0: - Implement patch by Karl DeBisschop: adds build root, list reports as group instead of individually michael@0: - Add dbverify, de.po, fr.po, sv.po michael@0: - (lifelines-3.0.19-1) michael@0: