]> git.pld-linux.org Git - packages/gramps.git/blob - gramps.spec
- locale name fixes, rel. 2
[packages/gramps.git] / gramps.spec
1 Summary:        Genealogical Research and Analysis Management Programming System
2 Summary(pl):    System programowania do zarz±dzania badaniami i analiz± genealogiczn±
3 Name:           gramps
4 Version:        1.0.7
5 Release:        2
6 License:        GPL
7 Group:          Applications/Science
8 Source0:        http://dl.sourceforge.net/gramps/%{name}-%{version}.tar.gz
9 # Source0-md5:  54623af545bf591b898cf648be4a4155
10 Patch0:         %{name}-locale_names.patch
11 URL:            http://gramps.sourceforge.net/
12 BuildRequires:  desktop-file-utils >= 0.2.92
13 BuildRequires:  pkgconfig
14 BuildRequires:  python-devel >= 2.2
15 BuildRequires:  python-gnome-gconf
16 BuildRequires:  python-gnome-ui >= 1.99
17 BuildRequires:  python-gnome-vfs
18 BuildRequires:  python-pygtk-gtk >= 1.99
19 BuildRequires:  python-pygtk-glade >= 1.99
20 BuildRequires:  python-ReportLab
21 BuildRequires:  scrollkeeper >= 0.3.5
22 Requires:       python >= 2.2
23 Requires:       python-Imaging 
24 Requires:       python-gnome >= 1.99
25 Requires:       python-gnome-canvas >= 1.99
26 Requires:       python-gnome-gconf >= 1.99
27 Requires:       python-gnome-ui >= 1.99
28 Requires:       python-pygtk-gtk >= 1.99
29 Requires:       python-pygtk-glade >= 1.99
30 Requires:       python-ReportLab
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %define         _localstatedir  /var/lib
34
35 %description
36 gramps (Genealogical Research and Analysis Management Programming
37 System) is a GNOME based genealogy program supporting a Python based
38 plugin system.
39
40 %description -l pl
41 gramps (Genealogical Research and Analysis Management Programming
42 System - system programowania do zarz±dzania badaniami i analiz±
43 genealogiczn±) to oparty na GNOME program do genealogii obs³uguj±cy
44 system wtyczek w Pythonie.
45
46 %prep
47 %setup -q
48 %patch0 -p1
49
50 mv src/po/fr{_FR,}.po
51 rm -rf src/po/no.*
52
53 %build
54 %configure
55
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{_desktopdir}
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 desktop-file-install \
66         --vendor gramps \
67         --delete-original \
68         --dir $RPM_BUILD_ROOT%{_desktopdir} \
69         --add-category Application \
70         --add-category Utility \
71         $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Applications/gramps.desktop
72
73 rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
74
75 %find_lang gramps
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /usr/bin/scrollkeeper-update
81 %postun -p /usr/bin/scrollkeeper-update
82
83 %files -f gramps.lang
84 %defattr(644,root,root,755)
85 %doc AUTHORS ChangeLog FAQ NEWS README TODO
86 %attr(755,root,root) %{_bindir}/gramps
87 %attr(755,root,root) %{_libdir}/gramps
88 %{_datadir}/gramps
89 %{_datadir}/omf/gramps
90 %{_desktopdir}/*
91 %{_pixmapsdir}/gramps.png
92 %{_mandir}/man1/*
This page took 0.115581 seconds and 4 git commands to generate.