gramps up

Krystian T tomczyk w op.onet.pl
Pon, 24 Pa 2005, 21:47:53 CEST


Dnia 23-10-2005, nie o godzinie 20:30 +0200, Fryderyk Dziarmagowski
napisa(a):
>  --- Krystian T <tomczyk w op.onet.pl> wrote:
> 
Ile mogem to zrobiem. Buduje si i dziaa.
Do sprawdzenia przez kogo mdrzejszego R i BR (w rdach jest spec do
fedory i tam jest ich mniej, ale ze wzgldu na rozdrobnienie pakietw w
PLD wolaem nie usuwa) i nie dziaa u mnie scrollkeeper - przy
odkomentowanym podczas instalacji mam
/var/tmp/rpm-tmp.56462[9]: %scrollkeeper-update_post: not found
bd: %post(gramps-2.0.8-1.i686) skryptlet nie powid si, status
wyjcia 127
Wystpiy bdy podczas instalacji
-- 
Pozdrawiam
Krystian T

        "errare humanum est..."
-------------- nastpna cz ---------
Index: gramps.spec
===================================================================
RCS file: /cvsroot/SPECS/gramps.spec,v
retrieving revision 1.28
diff -u -r1.28 gramps.spec
--- gramps.spec	28 Mar 2005 10:17:22 -0000	1.28
+++ gramps.spec	24 Oct 2005 19:32:34 -0000
@@ -1,33 +1,35 @@
-# $Revision: 1.28 $, $Date: 2005/03/28 10:17:22 $
+# $Revision: 1.29 $, $Date: 2005/03/28 10:17:22 $
 Summary:	Genealogical Research and Analysis Management Programming System
 Summary(pl):	System programowania do zarzdzania badaniami i analiz genealogiczn
 Name:		gramps
-Version:	1.0.11
+Version:	2.0.8
 Release:	1
 License:	GPL
 Group:		Applications/Science
 Source0:	http://dl.sourceforge.net/gramps/%{name}-%{version}.tar.gz
-# Source0-md5:	f934e3cc4e12cce272e24611b143e728
+# Source0-md5:	84f2659b292b5e2abc92a8d56148495b
 Patch0:		%{name}-locale_names.patch
 Patch1:		%{name}-desktop.patch
 URL:		http://gramps.sourceforge.net/
+BuildRequires:	autoconf
+BuildRequires:	automake
 BuildRequires:	pkgconfig
-BuildRequires:	python-devel >= 2.2
+BuildRequires:	python-devel >= 2.3
 BuildRequires:	python-gnome-gconf
-BuildRequires:	python-gnome-ui >= 1.99
+BuildRequires:	python-gnome-ui >= 2.6.0
 BuildRequires:	python-gnome-vfs
-BuildRequires:	python-pygtk-gtk >= 1.99
-BuildRequires:	python-pygtk-glade >= 1.99
+BuildRequires:	python-pygtk-gtk >= 2.5.0
+BuildRequires:	python-pygtk-glade >= 2.5.0
 BuildRequires:	python-ReportLab
 BuildRequires:	scrollkeeper >= 0.3.5
-Requires:	python >= 2.2
+Requires:	python >= 2.3
 Requires:	python-Imaging 
-Requires:	python-gnome >= 1.99
-Requires:	python-gnome-canvas >= 1.99
-Requires:	python-gnome-gconf >= 1.99
-Requires:	python-gnome-ui >= 1.99
-Requires:	python-pygtk-gtk >= 1.99
-Requires:	python-pygtk-glade >= 1.99
+Requires:	python-gnome >= 2.6.0
+Requires:	python-gnome-canvas >= 2.6.0
+Requires:	python-gnome-gconf >= 2.6.0 
+Requires:	python-gnome-ui >= 2.6.0
+Requires:	python-pygtk-gtk >= 2.5.0
+Requires:	python-pygtk-glade >= 2.5.0
 Requires:	python-ReportLab
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -62,24 +64,43 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT%{_pixmapsdir}
+cp src/gramps.png $RPM_BUILD_ROOT%{_pixmapsdir}
 rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
+rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
+rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
 
 %find_lang gramps
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p /usr/bin/scrollkeeper-update
-%postun	-p /usr/bin/scrollkeeper-update
+%post
+%gconf_schema_install gramps.schemas
+%update_desktop_database_post
+##%scrollkeeper-update_post
+
+%preun
+%gconf_schema_uninstall gramps.schemas
+
+%postun
+%update_desktop_database_postun
+##%scrollkeeper-update_postun
 
 %files -f gramps.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog FAQ NEWS README TODO
 %attr(755,root,root) %{_bindir}/gramps
-%attr(755,root,root) %{_libdir}/gramps
+%{_sysconfdir}/gconf/schemas/gramps.schemas
+%{_datadir}/applications/*
 %{_datadir}/gramps
+%{_datadir}/mime/packages/gramps.xml
+%{_datadir}/mime/magic
+%{_datadir}/mime/globs
+%{_datadir}/mime/XMLnamespaces
+%{_datadir}/mime/application/*
 %{_datadir}/omf/gramps
-%{_desktopdir}/*
+%{_iconsdir}/gnome/48x48/mimetypes/*
 %{_pixmapsdir}/gramps.png
 %{_mandir}/man1/*
 
-------------- nastpna cz ---------
diff -urN gramps-2.0.8.org/src/data/gramps.desktop gramps-2.0.8/src/data/gramps.desktop
--- gramps-2.0.8.org/src/data/gramps.desktop	2005-10-22 22:17:30.358171000 +0200
+++ gramps-2.0.8/src/data/gramps.desktop	2005-10-23 12:57:08.399314000 +0200
@@ -1,28 +1,29 @@
 [Desktop Entry]
 Encoding=UTF-8
 Name=GRAMPS Genealogy System
-Name[sv]=GRAMPS
-Name[no]=GRAMPS
-Name[nb]=GRAMPS
-Name[ru]=GRAMPS
 Name[de]=GRAMPS
+Name[fi]=GRAMPS sukututkimusohjelma
 Name[hu]=GRAMPS
+Name[nb]=GRAMPS
 Name[nl]=GRAMPS genealogie
-Name[fi]=GRAMPS sukututkimusohjelma
+Name[pl]=GRAMPS
+Name[ru]=GRAMPS
+Name[sv]=GRAMPS
 Comment=Manage genealogical information, perform genealogical research and analysis
-Comment[nl]=Een programma voor genealogie infomatie beheer en genealogisch onderzoek en analyse
-Comment[sv]=Ett släktforskningsprogram
-Comment[no]=Et slektsforskningsprogram
-Comment[nb]=Et slektsforskningsprogram
-Comment[ru]=Система исследования и анализа генеалогической информации
 Comment[de]=Ein Programm zur Ahnenforschung
-Comment[hu]=Örökléskutató és elemző program
 Comment[fi]=Hallinnoi, tutki ja analysoi sukutietoa
+Comment[hu]=Örökléskutató és elemző program
+Comment[nb]=Et slektsforskningsprogram
+Comment[nl]=Een programma voor genealogie infomatie beheer en genealogisch onderzoek en analyse
+Comment[pl]=Zarządzanie informacjami genealogicznymi, przeprowadzanie badań i analiz genealogicznych
+Comment[ru]=Система исследования и анализа генеалогической информации
+Comment[sv]=Ett släktforskningsprogram
 Icon=gramps.png
 Terminal=false
 Type=Application
 StartupNotify=true
-Categories=Application;Genealogy;
+Categories=GTK;GNOME;Education;Science;
 X-GNOME-DocPath=gramps/gramps-manual.xml
 MimeType=application/x-gramps
 Exec=gramps %F
+# vi: encoding=utf-8
-------------- nastpna cz ---------
diff -urN gramps-2.0.8.org/configure gramps-2.0.8/configure
--- gramps-2.0.8.org/configure	2005-10-22 22:17:30.428171000 +0200
+++ gramps-2.0.8/configure	2005-10-22 22:20:48.248171000 +0200
@@ -2023,7 +2023,7 @@
    { (exit 1); exit 1; }; }
 fi
 
-LANGUAGES="hu zh_CN cs da de es fr it nb nl no pl pt_BR ro ru sv eo fi"
+LANGUAGES="hu zh_CN cs da de es fr it nb nl pl pt_BR ro ru sv eo fi"
 
 
 DISTLANGS=
diff -urN gramps-2.0.8.org/configure.in gramps-2.0.8/configure.in
--- gramps-2.0.8.org/configure.in	2005-10-22 22:17:30.428171000 +0200
+++ gramps-2.0.8/configure.in	2005-10-22 22:21:09.598171000 +0200
@@ -41,7 +41,7 @@
   AC_MSG_ERROR(Couldn't find iconv program.)
 fi
 
-LANGUAGES="hu zh_CN cs da de es fr it nb nl no pl pt_BR ro ru sv eo fi"
+LANGUAGES="hu zh_CN cs da de es fr it nb nl pl pt_BR ro ru sv eo fi"
 AC_SUBST(LANGUAGES)
 
 DISTLANGS=


Wicej informacji o licie dyskusyjnej pld-devel-pl