]> git.pld-linux.org Git - packages/gramps.git/blame - gramps.spec
- updated gettext BR
[packages/gramps.git] / gramps.spec
CommitLineData
a2595cc2 1Summary: Genealogical Research and Analysis Management Programming System
fdd5ef0e 2Summary(pl.UTF-8): System programowania do zarządzania badaniami i analizą genealogiczną
9a2c0d03 3Name: gramps
abde0e46 4Version: 4.0.2
d2bddfc1 5Release: 2
1fbbc073 6License: GPL v2
9a2c0d03 7Group: Applications/Science
abde0e46
JR
8Source0: http://downloads.sourceforge.net/gramps/%{name}-%{version}.tar.gz
9# Source0-md5: 41d9ae797c2eb2da42474aca3cccb6b3
9cff0fc3 10Patch0: %{name}-icon_path.patch
1768e738 11URL: http://gramps-project.org/
f2613b03 12BuildRequires: GConf2-devel
2e43f759
KT
13BuildRequires: autoconf
14BuildRequires: automake
8e691462 15BuildRequires: gettext-tools
4b5b6cf6 16BuildRequires: gnome-doc-utils
30e86544 17BuildRequires: gtk+2-devel >= 2:2.8.0
1a8d7f1a 18BuildRequires: intltool
8e99b26e 19BuildRequires: pkgconfig
f2613b03 20BuildRequires: python >= 1:2.5
3e003a63 21BuildRequires: rpm-pythonprov
30e86544 22BuildRequires: rpmbuild(macros) >= 1.197
1a8d7f1a 23BuildRequires: scrollkeeper >= 0.3.5
30e86544 24%pyrequires_eq python-modules
30e86544 25Requires(post,postun): desktop-file-utils
26Requires(post,postun): scrollkeeper
f2613b03 27Requires(post,preun): GConf2
30e86544 28Requires: hicolor-icon-theme
29Requires: python-gnome-ui >= 2.12.2-2
0e0e2bcf
PG
30Suggests: graphviz
31Suggests: python-ReportLab
9a2c0d03 32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35gramps (Genealogical Research and Analysis Management Programming
36System) is a GNOME based genealogy program supporting a Python based
37plugin system.
38
138c7415 39%description -l pl.UTF-8
a2595cc2 40gramps (Genealogical Research and Analysis Management Programming
138c7415
JR
41System - system programowania do zarządzania badaniami i analizą
42genealogiczną) to oparty na GNOME program do genealogii obsługujący
a2595cc2
JB
43system wtyczek w Pythonie.
44
9a2c0d03 45%prep
46%setup -q
90b35e80 47%patch0 -p1
48
9a2c0d03 49%build
abde0e46
JR
50CC="%{__cc}" \
51CFLAGS="%{rpmcflags}" \
52%{__python} setup.py build
9a2c0d03 53
54%install
55rm -rf $RPM_BUILD_ROOT
a2595cc2 56
abde0e46
JR
57%{__python} setup.py \
58 install \
59 --root=$RPM_BUILD_ROOT \
60 --optimize=2
8e99b26e 61
2e43f759 62install -d $RPM_BUILD_ROOT%{_pixmapsdir}
abde0e46
JR
63install images/gramps.png $RPM_BUILD_ROOT%{_pixmapsdir}
64
65%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/mime-info
d2bddfc1
JR
66%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
67
68%{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
abde0e46
JR
69
70%py_postclean
a2595cc2 71
abde0e46 72%find_lang gramps
9a2c0d03 73
74%clean
75rm -rf $RPM_BUILD_ROOT
76
2e43f759 77%post
2e43f759 78%update_desktop_database_post
30e86544 79%scrollkeeper_update_post
2e43f759 80
2e43f759
KT
81%postun
82%update_desktop_database_postun
30e86544 83%scrollkeeper_update_postun
a2595cc2 84
9a2c0d03 85%files -f gramps.lang
86%defattr(644,root,root,755)
abde0e46 87%doc AUTHORS FAQ NEWS README TODO example
9a2c0d03 88%attr(755,root,root) %{_bindir}/gramps
30e86544 89
1fbbc073 90%dir %{_datadir}/gramps
abde0e46
JR
91%{_datadir}/gramps/*.xml
92%{_datadir}/gramps/css
1fbbc073 93%{_datadir}/gramps/images
abde0e46
JR
94
95%{py_sitescriptdir}/gramps
96%{py_sitescriptdir}/gramps-*.egg-info
1fbbc073 97
2e43f759 98%{_desktopdir}/*.desktop
1fbbc073 99%{_iconsdir}/hicolor/*/mimetypes/*
a2595cc2 100%{_pixmapsdir}/gramps.png
30e86544 101
abde0e46
JR
102%{_datadir}/appdata/gramps.appdata.xml
103
30e86544 104%{_datadir}/mime/packages/gramps.xml
30e86544 105
a2595cc2 106%{_mandir}/man1/*
abde0e46 107%lang(cs) %{_mandir}/cs/man1/*
bb9955f7 108%lang(fr) %{_mandir}/fr/man1/*
f2613b03
AG
109%lang(nl) %{_mandir}/nl/man1/*
110%lang(pl) %{_mandir}/pl/man1/*
abde0e46 111%lang(pt_BR) %{_mandir}/pt_BR/man1/*
f2613b03 112%lang(sv) %{_mandir}/sv/man1/*
This page took 0.165075 seconds and 4 git commands to generate.