]>
Commit | Line | Data |
---|---|---|
a2595cc2 | 1 | Summary: Genealogical Research and Analysis Management Programming System |
fdd5ef0e | 2 | Summary(pl.UTF-8): System programowania do zarządzania badaniami i analizą genealogiczną |
9a2c0d03 | 3 | Name: gramps |
abcc38a8 | 4 | Version: 5.2.0 |
2d834ce8 | 5 | Release: 1 |
1fbbc073 | 6 | License: GPL v2 |
9a2c0d03 | 7 | Group: Applications/Science |
abcc38a8 KM |
8 | Source0: https://downloads.sourceforge.net/gramps/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 3a3718e869381e2c8801b643fde43127 | |
8099fac8 | 10 | Patch0: python-opt2.patch |
abcc38a8 | 11 | URL: https://gramps-project.org/ |
8e691462 | 12 | BuildRequires: gettext-tools |
1a8d7f1a | 13 | BuildRequires: intltool |
bedad4d7 JK |
14 | BuildRequires: python3 >= 1:3.2 |
15 | BuildRequires: python3-setuptools | |
3e003a63 | 16 | BuildRequires: rpm-pythonprov |
bedad4d7 | 17 | BuildRequires: rpmbuild(macros) >= 1.713 |
8099fac8 | 18 | Requires: python3-modules |
30e86544 | 19 | Requires(post,postun): desktop-file-utils |
30e86544 | 20 | Requires: hicolor-icon-theme |
8099fac8 KM |
21 | Requires: python3-gexiv2 |
22 | Requires: python3-pycairo | |
bedad4d7 JK |
23 | Requires: python3-pygobject3 >= 3.12 |
24 | Requires: python3-pyicu | |
bedad4d7 | 25 | Requires: xdg-utils |
a50dd4f2 JR |
26 | Recommends: graphviz |
27 | BuildArch: noarch | |
9a2c0d03 | 28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
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 | ||
138c7415 | 35 | %description -l pl.UTF-8 |
a2595cc2 | 36 | gramps (Genealogical Research and Analysis Management Programming |
138c7415 JR |
37 | System - system programowania do zarządzania badaniami i analizą |
38 | genealogiczną) to oparty na GNOME program do genealogii obsługujący | |
a2595cc2 JB |
39 | system 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 | |
49 | rm -rf $RPM_BUILD_ROOT | |
a2595cc2 | 50 | |
bedad4d7 | 51 | %py3_install |
8e99b26e | 52 | |
bedad4d7 | 53 | echo -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 | |
62 | rm -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/* |