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