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