2002-07-02 00:25:23 +05:30
|
|
|
%define ver 0.8.0
|
|
|
|
%define rel pre
|
2001-05-13 07:26:57 +05:30
|
|
|
%define prefix /usr
|
|
|
|
|
|
|
|
Summary: Genealogical Research and Analysis Management Programming System.
|
|
|
|
Name: gramps
|
|
|
|
Version: %ver
|
|
|
|
Release: %rel
|
|
|
|
Copyright: GPL
|
|
|
|
Group: Applications/Genealogy
|
|
|
|
Source: http://download.sourceforge.net/gramps/gramps-%{ver}.tar.gz
|
|
|
|
BuildRoot: /var/tmp/%{name}-%{version}-root
|
|
|
|
|
|
|
|
URL: http://gramps.sourceforge.net
|
|
|
|
|
2001-11-26 06:05:45 +05:30
|
|
|
Requires: python >= 1.5.2
|
2001-05-13 07:26:57 +05:30
|
|
|
Requires: pygnome >= 1.0.53
|
2002-04-24 18:29:15 +05:30
|
|
|
Requires: _gladegnomemodule.so
|
2001-11-26 06:05:45 +05:30
|
|
|
Requires: pyexpat.so
|
2001-05-13 07:26:57 +05:30
|
|
|
|
2002-07-02 00:25:23 +05:30
|
|
|
%define skreq 0.1.4
|
|
|
|
BuildRequires: scrollkeeper >= %skreq
|
|
|
|
|
2001-05-13 07:26:57 +05:30
|
|
|
%description
|
2001-08-04 08:58:21 +05:30
|
|
|
gramps (Genealogical Research and Analysis Management Programming
|
|
|
|
System) is a GNOME based genealogy program supporting a Python
|
|
|
|
based plugin system.
|
2001-05-13 07:26:57 +05:30
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
|
|
|
if [ ! -f configure ]; then
|
|
|
|
CFLAGS="$MYCFLAGS" ./autogen.sh $MYARCH_FLAGS --prefix=%prefix
|
|
|
|
else
|
|
|
|
CFLAGS="$MYCFLAGS" ./configure $MYARCH_FLAGS --prefix=%prefix
|
|
|
|
fi
|
|
|
|
|
|
|
|
make
|
|
|
|
|
2002-07-02 00:25:23 +05:30
|
|
|
|
2001-05-13 07:26:57 +05:30
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
make GNOME_DATADIR=$RPM_BUILD_ROOT%{prefix}/share prefix=$RPM_BUILD_ROOT%{prefix} install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
|
2002-07-02 00:25:23 +05:30
|
|
|
%doc README COPYING TODO INSTALL
|
|
|
|
|
2001-05-13 07:26:57 +05:30
|
|
|
%{prefix}/bin/gramps
|
2001-05-19 19:41:46 +05:30
|
|
|
|
2002-07-02 00:25:23 +05:30
|
|
|
%{_datadir}/gnome/help/gramps-manual/C/*
|
|
|
|
%{_datadir}/gnome/help/extending-gramps/C/*
|
|
|
|
|
|
|
|
%{_datadir}/gnome/apps/Applications/gramps.desktop
|
|
|
|
%{_datadir}/pixmaps/gramps.png
|
|
|
|
%{_datadir}/locale/*/LC_MESSAGES/gramps.mo
|
|
|
|
|
|
|
|
%{_datadir}/gramps/*.xpm
|
|
|
|
%{_datadir}/gramps/*.jpg
|
|
|
|
%{_datadir}/gramps/*.png
|
|
|
|
%{_datadir}/gramps/*.py
|
|
|
|
%{_datadir}/gramps/*.pyo
|
|
|
|
%{_datadir}/gramps/*.glade
|
|
|
|
%{_datadir}/gramps/*.so
|
|
|
|
%{_datadir}/gramps/docgen/*.py
|
|
|
|
%{_datadir}/gramps/docgen/*.pyo
|
|
|
|
%{_datadir}/gramps/filters/*.py
|
|
|
|
%{_datadir}/gramps/filters/*.pyo
|
|
|
|
%{_datadir}/gramps/plugins/*.py
|
|
|
|
%{_datadir}/gramps/plugins/*.pyo
|
|
|
|
%{_datadir}/gramps/plugins/*.glade
|
|
|
|
%{_datadir}/gramps/data/gedcom.xml
|
|
|
|
%{_datadir}/gramps/data/templates/*.tpkg
|
|
|
|
%{_datadir}/gramps/data/templates/*.xml
|
|
|
|
|
|
|
|
%{prefix}/man/man1/gramps.1*
|
|
|
|
|
|
|
|
%{_datadir}/omf/gramps
|
|
|
|
|
|
|
|
%post
|
|
|
|
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Fri Jun 14 2002 Donald Peterson <dpeterso@engr.ors.edu>
|
|
|
|
- add scrollkeeper dependencies and some file cleanup
|