2024-01-05 23:24:52 +01:00
|
|
|
Name: gramps
|
2024-01-05 23:24:53 +01:00
|
|
|
Version: 4.2.4
|
2024-01-05 23:24:52 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: An open source genealogy program
|
|
|
|
Group: Graphical Desktop/Applications/Scientific
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://gramps-project.org/
|
|
|
|
Source: http://downloads.sourceforge.net/project/gramps/Stable/%{version}/gramps-%{version}.tar.gz
|
|
|
|
Patch0: gramps-4.0.1-validatedmaskedentry_no_attribute__block_changed.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 23:24:53 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-05 23:24:52 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Gramps, the open source genealogy program.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#%patch0 -p1
|
|
|
|
|
|
|
|
%build
|
2024-01-05 23:24:53 +01:00
|
|
|
%{__python3} setup.py build
|
2024-01-05 23:24:52 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 23:24:53 +01:00
|
|
|
%{__python3} setup.py install \
|
2024-01-05 23:24:52 +01:00
|
|
|
--root=%{buildroot}
|
|
|
|
|
|
|
|
%find_lang %{name} || touch %{name}.lang
|
|
|
|
|
2024-01-05 23:24:53 +01:00
|
|
|
sed -i "s|%{buildroot}||" %{buildroot}%{python3_sitelib}/gramps/gen/utils/resource-path
|
2024-01-05 23:24:52 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
|
|
|
%{_bindir}/update-mime-database %{_datadir}/mime 2>&1 > /dev/null
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
%{_bindir}/update-mime-database %{_datadir}/mime 2>&1 > /dev/null
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/gramps
|
2024-01-05 23:24:53 +01:00
|
|
|
%{_datadir}/metainfo/gramps.appdata.xml
|
2024-01-05 23:24:52 +01:00
|
|
|
%{_datadir}/applications/gramps.desktop
|
|
|
|
%dir %{_datadir}/gramps
|
|
|
|
%{_datadir}/gramps/*
|
2024-01-05 23:24:53 +01:00
|
|
|
%{_datadir}/icons/gnome/48x48/mimetypes/gnome-mime-application-x-*.png
|
|
|
|
%{_datadir}/icons/gnome/scalable/mimetypes/gnome-mime-application-x-*.svg
|
2024-01-05 23:24:52 +01:00
|
|
|
%{_datadir}/mime-info/gramps.keys
|
|
|
|
%{_datadir}/mime-info/gramps.mime
|
|
|
|
%{_datadir}/mime/packages/gramps.xml
|
2024-01-05 23:24:53 +01:00
|
|
|
%dir %{python3_sitelib}/gramps
|
|
|
|
%{python3_sitelib}/gramps/*
|
|
|
|
%{python3_sitelib}/gramps-%{version}-py%{python3_version}.egg-info
|
2024-01-05 23:24:52 +01:00
|
|
|
%{_datadir}/icons/gramps.png
|
2024-01-05 23:24:53 +01:00
|
|
|
%{_mandir}/cs/man1/gramps.1*
|
|
|
|
%{_mandir}/fr/man1/gramps.1*
|
|
|
|
%{_mandir}/man1/gramps.1*
|
|
|
|
%{_mandir}/nl/man1/gramps.1*
|
|
|
|
%{_mandir}/pl/man1/gramps.1*
|
|
|
|
%{_mandir}/pt_BR/man1/gramps.1*
|
|
|
|
%{_mandir}/sv/man1/gramps.1*
|
2024-01-05 23:24:52 +01:00
|
|
|
%dir %{_docdir}/gramps
|
|
|
|
%{_docdir}/gramps/*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:24:53 +01:00
|
|
|
* Thu Oct 06 2016 Automatic Build System <autodist@mambasoft.it> 4.2.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:24:53 +01:00
|
|
|
* Mon Apr 11 2016 Automatic Build System <autodist@mambasoft.it> 4.2.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:24:53 +01:00
|
|
|
* Thu Jan 07 2016 Automatic Build System <autodist@mambasoft.it> 4.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:24:53 +01:00
|
|
|
* Tue Oct 20 2015 Automatic Build System <autodist@mambasoft.it> 4.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:24:53 +01:00
|
|
|
* Tue Oct 06 2015 Automatic Build System <autodist@mambasoft.it> 4.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:24:53 +01:00
|
|
|
* Fri May 01 2015 Automatic Build System <autodist@mambasoft.it> 4.1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:24:53 +01:00
|
|
|
* Thu Mar 05 2015 Automatic Build System <autodist@mambasoft.it> 4.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:24:53 +01:00
|
|
|
* Mon Oct 27 2014 Automatic Build System <autodist@mambasoft.it> 4.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:24:53 +01:00
|
|
|
* Thu Jun 19 2014 Automatic Build System <autodist@mambasoft.it> 4.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:24:53 +01:00
|
|
|
* Mon May 26 2014 Automatic Build System <autodist@mambasoft.it> 4.0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:24:52 +01:00
|
|
|
* Wed Feb 05 2014 Automatic Build System <autodist@mambasoft.it> 4.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jul 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.1-2mamba
|
|
|
|
- upstream patch to fix a 'no attribute' error
|
|
|
|
|
|
|
|
* Tue Jul 16 2013 Automatic Build System <autodist@mambasoft.it> 4.0.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon May 27 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.5-1mamba
|
|
|
|
- package created by silvan using the webbuild interface
|