lifelines/lifelines.spec

Fri, 11 Mar 2011 21:30:26 +0100

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

Import package vendor original specs for necessary manipulations.

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

mercurial