2002-04-18 19:22:40 +05:30
|
|
|
%define ver 0.7.3
|
2001-10-02 06:14:49 +05:30
|
|
|
%define rel 1
|
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
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
%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 18:50:50 +05:30
|
|
|
%{prefix}/share/gnome/help/gramps-manual/C/*
|
|
|
|
%{prefix}/share/gnome/help/extending-gramps/C/*
|
2001-05-13 07:26:57 +05:30
|
|
|
%{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 09:06:23 +05:30
|
|
|
%{prefix}/share/gramps/*.py
|
2001-12-05 07:32:14 +05:30
|
|
|
%{prefix}/share/gramps/data/*.xml
|
2002-04-18 19:22:40 +05:30
|
|
|
%{prefix}/share/gramps/data/templates/*
|
2001-05-13 07:26:57 +05:30
|
|
|
%{prefix}/share/gramps/*.pyo
|
2001-05-19 20:00:36 +05:30
|
|
|
%{prefix}/share/gramps/*.so
|
2001-05-13 07:26:57 +05:30
|
|
|
%{prefix}/share/gramps/*.glade
|
|
|
|
%{prefix}/share/gramps/*.xpm
|
|
|
|
%{prefix}/share/gramps/*.jpg
|
2001-11-11 06:25:56 +05:30
|
|
|
%{prefix}/share/gramps/*.png
|
2001-11-04 08:44:57 +05:30
|
|
|
%{prefix}/share/gramps/filters/*.py
|
2001-05-19 19:41:46 +05:30
|
|
|
%{prefix}/share/gramps/filters/*.pyo
|
2001-11-04 08:44:57 +05:30
|
|
|
%{prefix}/share/gramps/plugins/*.py
|
2001-06-13 04:54:46 +05:30
|
|
|
%{prefix}/share/gramps/plugins/*.glade
|
2001-05-19 19:41:46 +05:30
|
|
|
%{prefix}/share/gramps/plugins/*.pyo
|
|
|
|
|