Репозиторий Sisyphus
Последнее обновление: 4 декабря 2021 | Пакетов: 17404 | Посещений: 22454002
en ru br
Репозитории ALT
S:4.2.8-alt2
5.1: 3.1.2-alt1
4.1: 2.2.10-alt2
4.0: 2.2.6-alt1
3.0: 1.0.11-alt2.1
www.altlinux.org/Changes

Группа :: Базы Данных
Пакет: gramps

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: gramps
Version: 1.0.11
Release: alt2.1

Summary: Genealogical Research and Analysis Management Programming System
Summary(ru_RU.KOI8-R): Программная система управления генеалогическими изысканиями и анализом

Packager: Vitaly Lipatov <lav at altlinux.ru>

License: GPL
Group: Databases
Url: http://gramps.sourceforge.net/

Source: http://download.sourceforge.net/%name/%name-%version.tar.bz2

# temporarely

Requires: python%__python_version(libglade)
Requires: python%__python_version(bonobo)
Requires: python%__python_version(gnomecanvas)
Requires: python%__python_version(gconf)


# Typical environment for GNOME program

Requires(post): GConf2
Requires(post,postun): scrollkeeper
Requires(post,postun): desktop-file-utils
BuildPreReq: GConf2
BuildPreReq: desktop-file-utils
BuildPreReq: menu-devel

# manually removed: eric hostinfo esound

# Automatically added by buildreq on Sun Nov 07 2004
BuildRequires: ORBit2-devel glib2-devel gnome-vfs2-devel libbonobo2-devel pkgconfig python-base python-dev python-module-pygnome-canvas python-module-pygnome-gconf python-module-pygtk-libglade python-modules-encodings scrollkeeper zip

#%add_python_lib_path %_datadir/%name %_datadir/%name/docgen %_datadir/%name/filters %_datadir/%name/plugins

# Skipped all internal modules
%add_python_req_skip grampslib AddMedia AutoComp BaseDoc Calendar Date Filter FrenchRepublic GedcomInfo GenericFilter GrampsCfg GraphLayout Gregorian Hebrew HtmlDoc ImgManip Julian ListModel MergeData OpenSpreadSheet Plugins QuestionDialog ReadXML RelLib Relationship Report SelectObject SelectPerson SpreadSheetDoc StyleEditor SubstKeywords TarFile WriteXML ansel_utf8 const latin_utf8 sort soundex Utils Errors DateDisplay DateHandler DateParser FontScale GrampsGconfKeys GrampsMime Sort

AutoProv: yes, nopython

%description
gramps (Genealogical Research and Analysis Management Programming
System) is a GNOME based genealogy program supporting a Python
based plugin system.

%description -l ru_RU.KOI8-R
GRAMPS (Программная система управления генеалогическими
изысканиями и анализом) - основанная на GNOME генеалогическая
программа, поддерживающая подключаемые модули на Питоне.

%prep
%setup -q
%__subst "s|update-mime-database|#update-mime-database|" src/data/Makefile.in

%build
%configure --disable-schemas-install
%make

%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=0

%__mkdir_p %buildroot%_menudir

freedesktop2menu.pl %name "Applications/Databases" \
%buildroot%_datadir/applications/%name.desktop \
%buildroot%_menudir/%name

%__mv %buildroot/%_datadir/%name/gnome %buildroot/%_datadir/gnome
%find_lang %name --with-gnome

%__rm -rf %buildroot%_localstatedir/scrollkeeper
# against Zope dependencies
%__rm -f %buildroot/%_datadir/%name/GrampsZODB*

%post
#%%gconf2_install %name
%update_menus
%update_scrollkeeper
#%%update_desktopdb

%preun
#if [ $1 = 0 ]; then
#%%gconf2_uninstall %name
#fi

%postun
%clean_menus
%clean_scrollkeeper
#%%clean_desktopdb


%files -f %name.lang
%doc AUTHORS ChangeLog FAQ INSTALL NEWS README TODO
%doc %_mandir/man1/*

%_bindir/%name
%_menudir/*
%_datadir/%name
%_libdir/%name
%_datadir/pixmaps/*
%_datadir/applications/*

#%_datadir/mime-info/*

#%_datadir/application-registry/*
#%config %_sysconfdir/gconf/schemas/*
#%_datadir/mime/packages/*
#%_datadir/icons/gnome/48x48/mimetypes/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin