gramps up
Krystian T
tomczyk w op.onet.pl
Wto, 1 Lis 2005, 13:23:24 CET
Dnia 01-11-2005, wto o godzinie 09:34 +0100, Andrzej Krzysztofowicz
napisał(a):
> Krystian T wrote:
> > Proszę o uaktualnienie
> [...]
> > Index: gramps.spec
> [...]
>
>
> > +%{_datadir}/applications/*
> [...]
> > -%{_desktopdir}/*
>
> To chyba nie jest dobry pomysl...
>
Jakoś tak automatycznie wpisywałem i nie zwróciłem uwagi, że może być
inaczej (lepiej). Poprawiłem.
> > +Name[pl]=GRAMPS
>
> Dodawanie takiej nic nie mowiacej nazwy jest IMO bez sensu.
> Chyba sensowniej uzywac w tym przypadku fallbacku do C.
>
A to wzorowałem na poprzedniej wersji - sortowanie alfabetyczne.
--
Pozdrawiam
Krystian T
"errare humanum est..."
-------------- następna 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 1 Nov 2005 12:19:33 -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 zarządzania 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}/gramps
+%{_datadir}/mime/packages/gramps.xml
+%{_datadir}/mime/magic
+%{_datadir}/mime/globs
+%{_datadir}/mime/XMLnamespaces
+%{_datadir}/mime/application/*
%{_datadir}/omf/gramps
-%{_desktopdir}/*
+%{_desktopdir}/*.desktop
+%{_iconsdir}/gnome/48x48/mimetypes/*
%{_pixmapsdir}/gramps.png
%{_mandir}/man1/*
Więcej informacji o liście dyskusyjnej pld-devel-pl