gramps/gramps.spec

151 lines
5.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: gramps
Version: 5.2.1
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: https://gramps-project.org/
Source: http://downloads.sourceforge.net/project/gramps/Stable/%{version}/gramps-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel
## AUTOBUILDREQ-END
%description
Gramps, the open source genealogy program.
%prep
%setup -q
%build
%{__python3} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python3} setup.py install \
--root=%{buildroot}
%find_lang %{name} --with-man || touch %{name}.lang
#sed -i "s|%{buildroot}||" %{buildroot}%{python3_sitelib}/gramps/gen/utils/resource-path
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%{_bindir}/update-mime-database -n %{_datadir}/mime 2>&1 > /dev/null
:
%postun
if [ $1 -eq 0 ]; then
%{_bindir}/update-mime-database -n %{_datadir}/mime 2>&1 > /dev/null
fi
:
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/gramps
%{_datadir}/applications/org.gramps_project.Gramps.desktop
%{_metainfodir}/org.gramps_project.Gramps.metainfo.xml
%{_datadir}/mime/packages/org.gramps_project.Gramps.xml
%dir %{_datadir}/gramps
%{_datadir}/gramps/*
%dir %{python3_sitelib}/gramps
%{python3_sitelib}/gramps/*
%{python3_sitelib}/gramps-%{version}-py%{python3_version}.egg-info
%{_datadir}/icons/hicolor/*/apps/org.gramps_project.Gramps.png
%{_datadir}/icons/hicolor/scalable/apps/org.gramps_project.Gramps.svg
%{_datadir}/icons/hicolor/48x48/mimetypes/application-x-*.png
%{_datadir}/icons/hicolor/scalable/mimetypes/application-x-*.svg
%{_mandir}/man1/gramps.1*
%dir %{_docdir}/gramps
%{_docdir}/gramps/*
%doc AUTHORS COPYING
%changelog
* Tue Mar 26 2024 Automatic Build System <autodist@openmamba.org> 5.2.1-1mamba
- automatic version update by autodist
* Wed Feb 28 2024 Automatic Build System <autodist@openmamba.org> 5.2.0-1mamba
- automatic version update by autodist
* Fri Jun 30 2023 Automatic Build System <autodist@mambasoft.it> 5.1.6-1mamba
- automatic version update by autodist
* Tue Feb 08 2022 Automatic Build System <autodist@mambasoft.it> 5.1.5-1mamba
- automatic version update by autodist
* Thu Jul 29 2021 Automatic Build System <autodist@mambasoft.it> 5.1.4-1mamba
- automatic version update by autodist
* Sat Oct 17 2020 Automatic Build System <autodist@mambasoft.it> 5.1.3-1mamba
- automatic version update by autodist
* Mon Jan 13 2020 Automatic Build System <autodist@mambasoft.it> 5.1.2-1mamba
- automatic version update by autodist
* Sat Oct 05 2019 Automatic Build System <autodist@mambasoft.it> 5.1.1-1mamba
- automatic version update by autodist
* Mon Sep 16 2019 Automatic Build System <autodist@mambasoft.it> 5.1.0-1mamba
- automatic version update by autodist
* Sat Dec 22 2018 Automatic Build System <autodist@mambasoft.it> 5.0.1-1mamba
- automatic version update by autodist
* Sun Aug 19 2018 Automatic Build System <autodist@mambasoft.it> 5.0.0-1mamba
- automatic version update by autodist
* Sat Mar 24 2018 Automatic Build System <autodist@mambasoft.it> 4.2.8-1mamba
- automatic version update by autodist
* Tue Aug 22 2017 Automatic Build System <autodist@mambasoft.it> 4.2.6-1mamba
- automatic version update by autodist
* Sun Dec 18 2016 Automatic Build System <autodist@mambasoft.it> 4.2.5-1mamba
- automatic version update by autodist
* Thu Oct 06 2016 Automatic Build System <autodist@mambasoft.it> 4.2.4-1mamba
- automatic version update by autodist
* Mon Apr 11 2016 Automatic Build System <autodist@mambasoft.it> 4.2.3-1mamba
- automatic version update by autodist
* Thu Jan 07 2016 Automatic Build System <autodist@mambasoft.it> 4.2.2-1mamba
- automatic version update by autodist
* Tue Oct 20 2015 Automatic Build System <autodist@mambasoft.it> 4.2.1-1mamba
- automatic version update by autodist
* Tue Oct 06 2015 Automatic Build System <autodist@mambasoft.it> 4.2.0-1mamba
- automatic version update by autodist
* Fri May 01 2015 Automatic Build System <autodist@mambasoft.it> 4.1.3-1mamba
- automatic version update by autodist
* Thu Mar 05 2015 Automatic Build System <autodist@mambasoft.it> 4.1.2-1mamba
- automatic version update by autodist
* Mon Oct 27 2014 Automatic Build System <autodist@mambasoft.it> 4.1.1-1mamba
- automatic version update by autodist
* Thu Jun 19 2014 Automatic Build System <autodist@mambasoft.it> 4.1.0-1mamba
- automatic version update by autodist
* Mon May 26 2014 Automatic Build System <autodist@mambasoft.it> 4.0.4-1mamba
- automatic version update by autodist
* 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