2002-04-18 13:52:40 +00:00
|
|
|
%define ver 0.7.3
|
2002-05-07 03:18:15 +00:00
|
|
|
%define rel 2
|
2001-05-13 01:56:57 +00:00
|
|
|
%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 00:35:45 +00:00
|
|
|
Requires: python >= 1.5.2
|
2001-05-13 01:56:57 +00:00
|
|
|
Requires: pygnome >= 1.0.53
|
2002-04-24 12:59:15 +00:00
|
|
|
Requires: _gladegnomemodule.so
|
2001-11-26 00:35:45 +00:00
|
|
|
Requires: pyexpat.so
|
2001-05-13 01:56:57 +00:00
|
|
|
|
|
|
|
%description
|
2001-08-04 03:28:21 +00:00
|
|
|
gramps (Genealogical Research and Analysis Management Programming
|
|
|
|
System) is a GNOME based genealogy program supporting a Python
|
|
|
|
based plugin system.
|
2001-05-13 01:56:57 +00:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
%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)
|
|
|
|
|
|
|
|
%doc README COPYING TODO
|
2001-09-21 13:20:50 +00:00
|
|
|
%{prefix}/share/gnome/help/gramps-manual/C/*
|
|
|
|
%{prefix}/share/gnome/help/extending-gramps/C/*
|
2001-05-13 01:56:57 +00:00
|
|
|
%{prefix}/bin/gramps
|
|
|
|
%{prefix}/share/gnome/apps/Applications/gramps.desktop
|
|
|
|
%{prefix}/share/pixmaps/gramps.png
|
|
|
|
%{prefix}/share/locale/*/LC_MESSAGES/gramps.mo
|
2001-11-04 03:36:23 +00:00
|
|
|
%{prefix}/share/gramps/*.py
|
2001-12-05 02:02:14 +00:00
|
|
|
%{prefix}/share/gramps/data/*.xml
|
2002-04-18 13:52:40 +00:00
|
|
|
%{prefix}/share/gramps/data/templates/*
|
2001-05-13 01:56:57 +00:00
|
|
|
%{prefix}/share/gramps/*.pyo
|
2001-05-19 14:30:36 +00:00
|
|
|
%{prefix}/share/gramps/*.so
|
2001-05-13 01:56:57 +00:00
|
|
|
%{prefix}/share/gramps/*.glade
|
|
|
|
%{prefix}/share/gramps/*.xpm
|
|
|
|
%{prefix}/share/gramps/*.jpg
|
2001-11-11 00:55:56 +00:00
|
|
|
%{prefix}/share/gramps/*.png
|
2002-05-07 03:18:15 +00:00
|
|
|
%{prefix}/share/gramps/docgen/*.py
|
|
|
|
%{prefix}/share/gramps/docgen/*.pyo
|
2001-11-04 03:14:57 +00:00
|
|
|
%{prefix}/share/gramps/filters/*.py
|
2001-05-19 14:11:46 +00:00
|
|
|
%{prefix}/share/gramps/filters/*.pyo
|
2001-11-04 03:14:57 +00:00
|
|
|
%{prefix}/share/gramps/plugins/*.py
|
2001-06-12 23:24:46 +00:00
|
|
|
%{prefix}/share/gramps/plugins/*.glade
|
2001-05-19 14:11:46 +00:00
|
|
|
%{prefix}/share/gramps/plugins/*.pyo
|
|
|
|
|