]> git.pld-linux.org Git - packages/gramps.git/blame - gramps.spec
- up to 5.2.0
[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
abcc38a8 4Version: 5.2.0
2d834ce8 5Release: 1
1fbbc073 6License: GPL v2
9a2c0d03 7Group: Applications/Science
abcc38a8
KM
8Source0: https://downloads.sourceforge.net/gramps/%{name}-%{version}.tar.gz
9# Source0-md5: 3a3718e869381e2c8801b643fde43127
8099fac8 10Patch0: python-opt2.patch
abcc38a8 11URL: https://gramps-project.org/
8e691462 12BuildRequires: gettext-tools
1a8d7f1a 13BuildRequires: intltool
bedad4d7
JK
14BuildRequires: python3 >= 1:3.2
15BuildRequires: python3-setuptools
3e003a63 16BuildRequires: rpm-pythonprov
bedad4d7 17BuildRequires: rpmbuild(macros) >= 1.713
8099fac8 18Requires: python3-modules
30e86544 19Requires(post,postun): desktop-file-utils
30e86544 20Requires: hicolor-icon-theme
8099fac8
KM
21Requires: python3-gexiv2
22Requires: python3-pycairo
bedad4d7
JK
23Requires: python3-pygobject3 >= 3.12
24Requires: python3-pyicu
bedad4d7 25Requires: xdg-utils
a50dd4f2
JR
26Recommends: graphviz
27BuildArch: noarch
9a2c0d03 28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31gramps (Genealogical Research and Analysis Management Programming
32System) is a GNOME based genealogy program supporting a Python based
33plugin system.
34
138c7415 35%description -l pl.UTF-8
a2595cc2 36gramps (Genealogical Research and Analysis Management Programming
138c7415
JR
37System - system programowania do zarządzania badaniami i analizą
38genealogiczną) to oparty na GNOME program do genealogii obsługujący
a2595cc2
JB
39system wtyczek w Pythonie.
40
9a2c0d03 41%prep
42%setup -q
90b35e80 43%patch0 -p1
44
9a2c0d03 45%build
bedad4d7 46%py3_build
9a2c0d03 47
48%install
49rm -rf $RPM_BUILD_ROOT
a2595cc2 50
bedad4d7 51%py3_install
8e99b26e 52
bedad4d7 53echo -n "%{_datadir}" > $RPM_BUILD_ROOT%{py3_sitescriptdir}/gramps/gen/utils/resource-path
abde0e46 54
d2bddfc1
JR
55%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
56
8099fac8 57%{__mv} $RPM_BUILD_ROOT%{_localedir}/pt{_PT,}
abde0e46 58
abde0e46 59%find_lang gramps
9a2c0d03 60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
2e43f759 64%post
2e43f759 65%update_desktop_database_post
2e43f759 66
2e43f759
KT
67%postun
68%update_desktop_database_postun
a2595cc2 69
9a2c0d03 70%files -f gramps.lang
71%defattr(644,root,root,755)
8099fac8 72%doc AUTHORS FAQ NEWS README.md TODO example
9a2c0d03 73%attr(755,root,root) %{_bindir}/gramps
30e86544 74
1fbbc073 75%dir %{_datadir}/gramps
abde0e46
JR
76%{_datadir}/gramps/*.xml
77%{_datadir}/gramps/css
1fbbc073 78%{_datadir}/gramps/images
abcc38a8 79/usr/share/gramps/gramps.css
abde0e46 80
bedad4d7
JK
81%{py3_sitescriptdir}/gramps
82%{py3_sitescriptdir}/gramps-*.egg-info
1fbbc073 83
2e43f759 84%{_desktopdir}/*.desktop
1fbbc073 85%{_iconsdir}/hicolor/*/mimetypes/*
8099fac8
KM
86%{_datadir}/gramps/grampsxml.dtd
87%{_datadir}/gramps/grampsxml.rng
abcc38a8
KM
88%{_iconsdir}/hicolor/*x*/apps/org.gramps_project.Gramps.png
89%{_iconsdir}/hicolor/scalable/apps/org.gramps_project.Gramps.svg
90%{_datadir}/metainfo/org.gramps_project.Gramps.appdata.xml
91%{_datadir}/mime/packages/org.gramps_project.Gramps.xml
30e86544 92
a2595cc2 93%{_mandir}/man1/*
abde0e46 94%lang(cs) %{_mandir}/cs/man1/*
bb9955f7 95%lang(fr) %{_mandir}/fr/man1/*
f2613b03
AG
96%lang(nl) %{_mandir}/nl/man1/*
97%lang(pl) %{_mandir}/pl/man1/*
abde0e46 98%lang(pt_BR) %{_mandir}/pt_BR/man1/*
f2613b03 99%lang(sv) %{_mandir}/sv/man1/*
This page took 0.272121 seconds and 4 git commands to generate.