lifelines/lifelines.spec

Fri, 11 Mar 2011 21:36:51 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 11 Mar 2011 21:36:51 +0100
changeset 1
4667f24fe848
parent 0
4f133201e207
permissions
-rw-r--r--

Adjust specification build configurations to port packages to MeeGo.

michael@0 1 #
michael@0 2 # lifelines.spec - RPM configuration file for Lifelines
michael@0 3 #
michael@1 4 Name: lifelines
michael@1 5 Summary: Lifelines genealogy program
michael@1 6 Vendor: Europalab Software
michael@1 7 Packager: Michael Schloh von Bennewitz
michael@1 8 Distribution: MeeGo Thirdparty
michael@1 9 Version: 3.0.62
michael@1 10 Release: 20101206
michael@1 11 License: X11
michael@1 12 Group: Utilities/System
michael@1 13 Source: http://download.sourceforge.net/lifelines/lifelines-%{version}.tar.gz
michael@0 14 URL: http://lifelines.sourceforge.net/
michael@0 15 Packager: Marc Nozell <marc@nozell.com>
michael@0 16 Provides: lifelines
michael@1 17 BuildRoot: %{_tmppath}/%{name}-%{version}-root
michael@1 18 BuildRequires: ncurses-devel bison
michael@0 19
michael@0 20 %description
michael@1 21 This program allows the tracking of genealogical information.
michael@1 22 The lifelines reports are the power of the system.
michael@0 23
michael@0 24 %prep
michael@1 25 %setup -q
michael@0 26
michael@0 27 %build
michael@1 28 %configure --datarootdir=%{_datadir}
michael@1 29 make %{?_smp_mflags}
michael@0 30
michael@0 31 %install
michael@1 32 rm -rf ${RPM_BUILD_ROOT}
michael@1 33 install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
michael@1 34 install -s -m 755 src/liflines/llines $RPM_BUILD_ROOT%{_bindir}
michael@1 35 install -s -m 755 src/liflines/llexec $RPM_BUILD_ROOT%{_bindir}
michael@1 36 install -s -m 755 src/tools/dbverify $RPM_BUILD_ROOT%{_bindir}
michael@0 37
michael@1 38 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/locale/da/LC_MESSAGES
michael@1 39 install -m 644 po/da.gmo $RPM_BUILD_ROOT%{_datadir}/locale/da/LC_MESSAGES/lifelines.mo
michael@0 40
michael@1 41 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES
michael@1 42 install -m 644 po/de.gmo $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/lifelines.mo
michael@0 43
michael@1 44 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/locale/eo/LC_MESSAGES
michael@1 45 install -m 644 po/eo.gmo $RPM_BUILD_ROOT%{_datadir}/locale/eo/LC_MESSAGES/lifelines.mo
michael@0 46
michael@1 47 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/locale/es/LC_MESSAGES
michael@1 48 install -m 644 po/es.gmo $RPM_BUILD_ROOT%{_datadir}/locale/es/LC_MESSAGES/lifelines.mo
michael@0 49
michael@1 50 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES
michael@1 51 install -m 644 po/fr.gmo $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/lifelines.mo
michael@0 52
michael@1 53 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/locale/nl/LC_MESSAGES
michael@1 54 install -m 644 po/nl.gmo $RPM_BUILD_ROOT%{_datadir}/locale/nl/LC_MESSAGES/lifelines.mo
michael@0 55
michael@1 56 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/locale/pl/LC_MESSAGES
michael@1 57 install -m 644 po/pl.gmo $RPM_BUILD_ROOT%{_datadir}/locale/pl/LC_MESSAGES/lifelines.mo
michael@0 58
michael@1 59 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/locale/rw/LC_MESSAGES
michael@1 60 install -m 644 po/rw.gmo $RPM_BUILD_ROOT%{_datadir}/locale/rw/LC_MESSAGES/lifelines.mo
michael@0 61
michael@1 62 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/locale/sv/LC_MESSAGES
michael@1 63 install -m 644 po/sv.gmo $RPM_BUILD_ROOT%{_datadir}/locale/sv/LC_MESSAGES/lifelines.mo
michael@0 64
michael@1 65 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/lifelines/reports
michael@1 66 install -m 644 reports/*.ll $RPM_BUILD_ROOT%{_datadir}/lifelines/reports
michael@1 67 install -m 644 reports/*.li $RPM_BUILD_ROOT%{_datadir}/lifelines/reports
michael@1 68 install -m 644 reports/CREDIT reports/index.html $RPM_BUILD_ROOT%{_datadir}/lifelines/reports
michael@1 69 install -m 644 reports/boc.gif reports/ll.png $RPM_BUILD_ROOT%{_datadir}/lifelines/reports
michael@1 70 install -m 644 reports/*.c $RPM_BUILD_ROOT%{_datadir}/lifelines/reports
michael@1 71 install -m 644 reports/ps-pedigree.ps reports/tree.tex $RPM_BUILD_ROOT%{_datadir}/lifelines/reports
michael@0 72
michael@1 73 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/lifelines/reports/novel
michael@1 74 install -m 644 reports/novel/novel* $RPM_BUILD_ROOT%{_datadir}/lifelines/reports/novel
michael@0 75
michael@1 76 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/lifelines/reports/pedtex
michael@1 77 install -m 644 reports/pedtex/pedtex* $RPM_BUILD_ROOT%{_datadir}/lifelines/reports/pedtex
michael@1 78 install -m 644 reports/pedtex/*.tex $RPM_BUILD_ROOT%{_datadir}/lifelines/reports/pedtex
michael@0 79
michael@1 80 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/lifelines/reports/ps-fan
michael@1 81 install -m 644 reports/ps-fan/ps-fan* $RPM_BUILD_ROOT%{_datadir}/lifelines/reports/ps-fan
michael@0 82
michael@1 83 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/lifelines/tt
michael@1 84 install -m 644 tt/*.tt $RPM_BUILD_ROOT%{_datadir}/lifelines/tt
michael@1 85 install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1
michael@1 86 install -m 644 docs/btedit.1 $RPM_BUILD_ROOT%{_mandir}/man1/btedit.1
michael@1 87 install -m 644 docs/dbverify.1 $RPM_BUILD_ROOT%{_mandir}/man1/dbverify.1
michael@1 88 install -m 644 docs/llines.1 $RPM_BUILD_ROOT%{_mandir}/man1/llines.1
michael@1 89 install -m 644 docs/llexec.1 $RPM_BUILD_ROOT%{_mandir}/man1/llexec.1
michael@0 90
michael@1 91 %clean
michael@1 92 rm -rf $RPM_BUILD_ROOT
michael@0 93
michael@0 94 %files
michael@0 95 %defattr(-,root,root)
michael@0 96 %doc README ChangeLog NEWS AUTHORS LICENSE
michael@0 97 %doc README.AUTOCONF README.DEVELOPERS README.INTERNATIONAL README.LAYOUT
michael@0 98 %doc README.MAINTAINERS README.MAINTAINERS.rpm README.MAINTAINERS.win32
michael@1 99 %doc docs/ll-reportmanual.xml docs/ll-reportmanual.html docs/ll-reportmanual.pdf
michael@1 100 %doc docs/ll-reportmanual.txt docs/ll-userguide.xml docs/ll-userguide.html
michael@1 101 %doc docs/ll-userguide.pdf docs/ll-userguide.txt docs/lifelines.vim .linesrc
michael@0 102
michael@1 103 %{_bindir}/llines
michael@1 104 %{_bindir}/llexec
michael@1 105 %{_bindir}/dbverify
michael@1 106 %{_datadir}/locale/da/LC_MESSAGES/lifelines.mo
michael@1 107 %{_datadir}/locale/de/LC_MESSAGES/lifelines.mo
michael@1 108 %{_datadir}/locale/fr/LC_MESSAGES/lifelines.mo
michael@1 109 %{_datadir}/locale/sv/LC_MESSAGES/lifelines.mo
michael@1 110 %{_datadir}/locale/eo/LC_MESSAGES/lifelines.mo
michael@1 111 %{_datadir}/locale/es/LC_MESSAGES/lifelines.mo
michael@1 112 %{_datadir}/locale/nl/LC_MESSAGES/lifelines.mo
michael@1 113 %{_datadir}/locale/pl/LC_MESSAGES/lifelines.mo
michael@1 114 %{_datadir}/locale/rw/LC_MESSAGES/lifelines.mo
michael@1 115 %{_datadir}/lifelines/reports
michael@1 116 %{_datadir}/lifelines/tt
michael@1 117 %{_mandir}/man1/btedit.1.gz
michael@1 118 %{_mandir}/man1/dbverify.1.gz
michael@1 119 %{_mandir}/man1/llines.1.gz
michael@1 120 %{_mandir}/man1/llexec.1.gz
michael@0 121
michael@0 122 %changelog
michael@1 123 * Mon Dec 6 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 3.0.62-20101206
michael@1 124 - Correct build configuration and default packaging
michael@1 125 * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 3.0.62-20101201
michael@1 126 - Repackage for MeeGo 1.1
michael@0 127 * Sun Apr 29 2007 Perry Rapp
michael@0 128 - add llexec.1 man page to release
michael@0 129 * Sun Apr 15 2007 Stephen Dum
michael@0 130 - add README* files to release
michael@0 131 * Wed Dec 21 2005 Stephen Dum
michael@0 132 - add .tt files, .linesrc and new .mo files to release
michael@0 133 * Tue Nov 15 2005 Perry Rapp
michael@0 134 - Change "Copyright" to newer "License".
michael@0 135 - Fix license name to clearer "X11".
michael@0 136 - Add BuildRequires line.
michael@0 137 * Thu Sep 29 2005 Perry Rapp
michael@0 138 - Add eo, es, nl, pl, rw translations. Add *.li files. Add novel, pedtex, ps-fan reports.
michael@0 139 * Sun Jan 30 2005 Perry Rapp
michael@0 140 - Add comment about using rpmbuild on newer systems, and instruction about adding comments down here.
michael@0 141 * Tue May 06 2003 Perry Rapp
michael@0 142 - Add btedit.1 (& alphabetize man pages)
michael@0 143 * Mon May 05 2003 Perry Rapp
michael@0 144 - Add dbverify.1
michael@0 145 * Mon Nov 11 2002 Perry Rapp
michael@0 146 - Add da.po
michael@0 147 - (post lifelines-3.0.21)
michael@0 148 * Mon Oct 07 2002 Perry Rapp
michael@0 149 - Add new binary llexec
michael@0 150 * Sun Sep 29 2002 Perry Rapp
michael@0 151 - Implement patch by Karl DeBisschop: adds build root, list reports as group instead of individually
michael@0 152 - Add dbverify, de.po, fr.po, sv.po
michael@0 153 - (lifelines-3.0.19-1)
michael@0 154

mercurial