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