gramps up
Krystian T
tomczyk w op.onet.pl
Nie, 23 Pa 2005, 14:17:15 CEST
Dnia 22-07-2005, pi o godzinie 08:19 +0200, Fryderyk Dziarmagowski
napisa(a):
...
> locale patch jest niepotrzebny (wystarczy usun no.po)
> desktop patch _powinnien_ by zaktualizowany (jeli jest pakowany)
> jeli desktop jest pakowany to dlaczego ikona jest zakomentowana?
> mime-types nie pakujemy, applications-registry nie pakujemy
co to za pliki i dlaczego ich nie chcemy?
> %{_datadir}/icons to %{_iconsdir}
> schematy gconfa powinny by %{_sysconfdir}/gconf
> schematy gconfa powinny by zarejestrowane
> %{_datadir}/omf to %{_omf_dest_dir}
> niektre BR s nadmiarowe (R prawdopodobnie te), niektrych BR wogle
> nie ma.
>
Troch poprawiem. Buduje si i dziaa.
Nie ruszaem BR i R (za mao wiem i nie chc bardziej popsu) i
tymczasem spakietowaem wszystko.
Czy rejestracja schematw gconfa to chodzi o to co cignem z
gnumeric.spec do post, postun i preun?
--
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 23 Oct 2005 11:58:14 -0000
@@ -1,13 +1,13 @@
-# $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
-Release: 1
+Version: 2.0.8
+Release: 0.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/
@@ -62,6 +62,8 @@
%{__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
%find_lang gramps
@@ -69,19 +71,37 @@
%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
+##%attr(755,root,root) %{_libdir}/gramps
%{_datadir}/gramps
%{_datadir}/omf/gramps
-%{_desktopdir}/*
+%{_datadir}/icons/gnome/48x48/mimetypes/*
+%{_datadir}/applications/*
+%{_datadir}/mime-info/*
+%{_datadir}/application-registry/gramps.applications
+%{_datadir}/mime/packages/gramps.xml
+%{_datadir}/mime/magic
+%{_datadir}/mime/globs
+%{_datadir}/mime/XMLnamespaces
+%{_datadir}/mime/application/*
%{_pixmapsdir}/gramps.png
%{_mandir}/man1/*
+%{_sysconfdir}/gconf/schemas/gramps.schemas
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
-------------- 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