Sophie

Sophie

distrib > Mageia > 9 > armv7hl > by-pkgid > 6b3cf351a84e4dbff47cd096a1f5d22e > files > 5

gramps-5.1.6-1.mga9.src.rpm

%define __python %{__python3}

%global __requires_exclude  typelib\\(GtkosxApplication|Gtkspell|Glib\\)

Summary:	Genealogical Research and Analysis Management Programming System
Name:		gramps
Version:	5.1.6
Release:	%mkrel 1
License:	GPLv2+
Group:		Sciences/Other
Source0:	https://prdownloads.sourceforge.net/gramps/%{name}-%{version}.tar.gz
Source11:	%{name}-48.png
Source12:	%{name}-32.png
Source13:	%{name}-16.png
URL:		https://www.gramps-project.org/
BuildArch:	noarch
BuildRequires:	desktop-file-utils
BuildRequires:	intltool
BuildRequires:	python3-gobject3
# ovitters: pkgconfig(gobject-introspection-1.0) includes script to determine typelib() auto buildrequires
BuildRequires:	pkgconfig(gobject-introspection-1.0)
Requires:	graphviz
Requires:	python3-bsddb3
Requires:	python3-icu
Requires:	python3-gobject3
Requires:	typelib(GConf)
Requires:	typelib(WebKit2)
Requires:	shared-mime-info
Requires:	xdg-utils
Recommends:	fonts-ttf-freefont

%description
gramps (Genealogical Research and Analysis Management Programming
System) is a GNOME based genealogy program supporting a Python
based plugin system.

%prep
%setup -q
%autopatch -p1

%build
python3 setup.py build

%install
python3 setup.py install --root %{buildroot}
# fix it:
perl -pi -e "s@%{buildroot}@@" %buildroot/%{python3_sitelib}/gramps/gen/utils/resource-path

#cleaning
rm -rf %{buildroot}/var

#menu
perl -pi -e 's,%{name}.png,%{name},g' %{buildroot}%{_datadir}/applications/*
desktop-file-install --vendor="" \
  --remove-category="Application" \
  --add-category="Science" \
  --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/*

#icons
install -m644 %{SOURCE11} -D %{buildroot}%{_iconsdir}/hicolor/48x48/apps/%{name}.png
install -m644 %{SOURCE12} -D %{buildroot}%{_iconsdir}/hicolor/32x32/apps/%{name}.png
install -m644 %{SOURCE13} -D %{buildroot}%{_iconsdir}/hicolor/16x16/apps/%{name}.png

%find_lang %{name} --with-gnome --with-man

rm -fr %{buildroot}%{python3_sitelib}/gramps-*.egg-info
rm -fr %buildroot/%_docdir/%name

%files -f %{name}.lang
%doc README.md TODO COPYING example/
%{_bindir}/%{name}
%{_datadir}/metainfo/gramps.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}
%{_datadir}/mime/packages/%{name}.xml
#{_iconsdir}/%{name}.png
%{_datadir}/mime-info/%{name}.*
%{_mandir}/man1/%{name}.1*
%{_iconsdir}/hicolor/*/apps/%{name}.*
%{_iconsdir}/hicolor/*/mimetypes/*
%{python3_sitelib}/%name/


%changelog
* Fri Jun 30 2023 bcornec <bcornec> 5.1.6-1.mga9
+ Revision: 1963320
- Update to upstream gramps 5.1.6

* Wed Aug 03 2022 tv <tv> 5.1.5-4.mga9
+ Revision: 1874870
- Fix build

* Thu Mar 31 2022 umeabot <umeabot> 5.1.5-3.mga9
+ Revision: 1836345
- Mageia 9 Mass Rebuild

* Sat Feb 12 2022 tv <tv> 5.1.5-2.mga9
+ Revision: 1773516
- Rebuild for python-3.10

* Mon Feb 07 2022 bcornec <bcornec> 5.1.5-1.mga9
+ Revision: 1772585
- update to upstream gramps 5.1.5

* Thu Jul 29 2021 tv <tv> 5.1.4-1.mga9
+ Revision: 1738151
- 5.1.4

* Sat Mar 20 2021 tv <tv> 5.1.3-2.mga9
+ Revision: 1705560
- rebuild for python-3.9.2

* Sun Oct 25 2020 bcornec <bcornec> 5.1.3-1.mga8
+ Revision: 1639332
- Update to upstream gramps 5.1.3

* Wed Apr 15 2020 bcornec <bcornec> 5.1.2-1.mga8
+ Revision: 1567555
- update to upstream gramps 5.1.2

* Tue Feb 18 2020 umeabot <umeabot> 5.1.1-2.mga8
+ Revision: 1539663
- Mageia 8 Mass Rebuild

* Thu Dec 12 2019 joequant <joequant> 5.1.1-1.mga8
+ Revision: 1465999
- upgrade to 5.1.1

* Wed Sep 11 2019 tv <tv> 5.0.1-3.mga8
+ Revision: 1439622
- rebuild for python-3.8

* Tue Jan 08 2019 tv <tv> 5.0.1-2.mga7
+ Revision: 1351709
- rebuild with python 3.7

* Sun Dec 30 2018 tv <tv> 5.0.1-1.mga7
+ Revision: 1347006
- new release

* Thu Sep 20 2018 umeabot <umeabot> 5.0.0-2.mga7
+ Revision: 1278637
- Mageia 7 Mass Rebuild

* Wed Aug 01 2018 tv <tv> 5.0.0-1.mga7
+ Revision: 1246514
- fix filelist
- new release

* Mon Feb 12 2018 tv <tv> 4.2.8-1.mga7
+ Revision: 1200671
- new release

* Fri Feb 09 2018 tv <tv> 4.2.7-1.mga7
+ Revision: 1199798
- new release

* Tue Sep 05 2017 tv <tv> 4.2.6-1.mga7
+ Revision: 1151302
- new release

* Fri Aug 04 2017 tv <tv> 4.2.5-3.mga7
+ Revision: 1134535
- rebuild for new python

* Sat Dec 31 2016 tv <tv> 4.2.5-2.mga6
+ Revision: 1078920
- do not manually requires typelib that are already auto required

* Tue Dec 20 2016 tv <tv> 4.2.5-1.mga6
+ Revision: 1076200
- new release

* Sun Sep 11 2016 tv <tv> 4.2.4-1.mga6
+ Revision: 1051467
- new version

* Wed Apr 13 2016 tv <tv> 4.2.3-1.mga6
+ Revision: 1001075
- new release

* Sun Jan 10 2016 tv <tv> 4.2.2-1.mga6
+ Revision: 920916
- new release

* Tue Oct 27 2015 tv <tv> 4.2.1-1.mga6
+ Revision: 895806
- new release

* Thu Oct 08 2015 tv <tv> 4.2.0-2.mga6
+ Revision: 887256
- rebuild for python 3.5

* Mon Aug 31 2015 tv <tv> 4.2.0-1.mga6
+ Revision: 871602
- new release

* Sat Aug 29 2015 tv <tv> 4.1.3-3.mga6
+ Revision: 870979
- include example
- package COPYING so that license dialog works

* Sat Aug 29 2015 tv <tv> 4.1.3-2.mga6
+ Revision: 870937
- switch to python3 again

* Wed Aug 05 2015 barjac <barjac> 4.1.3-1.mga6
+ Revision: 861249
- new version fixes mga#16528
- Mga5 Gramps causes problems for users coming from Ubuntu, because the data structures of their vs 4.1.3 cannot be reverted to our vs 4.1.1

* Mon Feb 09 2015 shlomif <shlomif> 4.1.1-2.mga5
+ Revision: 814237
- move /usr/share/icons/gnome to /usr/share/icons/Adwaita.

* Fri Nov 21 2014 barjac <barjac> 4.1.1-1.mga5
+ Revision: 798088
- new version 4.1.1

* Thu Oct 16 2014 luigiwalser <luigiwalser> 4.1.0-7.mga5
+ Revision: 767548
- revert incorrect change to python3
+ umeabot <umeabot>
- Second Mageia 5 Mass Rebuild
- Mageia 5 Mass Rebuild
+ tv <tv>
- use %%global for req/prov exclude
- autoconvert to new prov/req excludes
- s/uggests:/Recommends:/
- try building with python3
+ ovitters <ovitters>
- add gobject-introspection BR for typelib auto BR

* Tue Jun 24 2014 tv <tv> 4.1.0-3.mga5
+ Revision: 639478
- drop requires on gtk2 era python-gnome modules

* Tue Jun 24 2014 tv <tv> 4.1.0-2.mga5
+ Revision: 639372
- drop requires on pygtk2.0; add exception for typelib(Glib)

* Tue Jun 24 2014 tv <tv> 4.1.0-1.mga5
+ Revision: 639358
- new release

* Sat May 31 2014 pterjan <pterjan> 4.0.3-2.mga5
+ Revision: 628237
- Rebuild for new Python

* Wed Feb 05 2014 tv <tv> 4.0.3-1.mga5
+ Revision: 583635
- adjust file list
- new release

* Sat Oct 19 2013 umeabot <umeabot> 4.0.1-7.mga4
+ Revision: 529025
- Mageia 4 Mass Rebuild

* Mon Jul 01 2013 tv <tv> 4.0.1-6.mga4
+ Revision: 448725
- readd exit fix that upstream missed

* Mon Jul 01 2013 tv <tv> 4.0.1-5.mga4
+ Revision: 448721
- use upstreal fixes rather than our own

* Sun Jun 30 2013 neoclust <neoclust> 4.0.1-4.mga4
+ Revision: 448554
- add missing requires on python-gobject-cairo (mga #10656)

* Fri Jun 28 2013 tv <tv> 4.0.1-3.mga4
+ Revision: 448149
- patch: fix gtk/unicode usage

* Fri Jun 28 2013 tv <tv> 4.0.1-2.mga4
+ Revision: 448143
- patch: fix errors on startup (mga#10322)

* Fri Jun 28 2013 tv <tv> 4.0.1-1.mga4
+ Revision: 448134
- new release
- requires python-icu
- no need for python-osmgpsmap since gramps now use gir

* Tue May 28 2013 tv <tv> 4.0.0-2.mga4
+ Revision: 429493
- further adjust require exceptions

* Fri May 24 2013 tv <tv> 4.0.0-1.mga4
+ Revision: 426310
- remove most req exceptions

* Fri May 24 2013 tv <tv> 4.0.0-0.2.mga4
+ Revision: 425952
- new release
- add requires exceptions
- fix run
- adjust file list

* Sat Apr 06 2013 wally <wally> 3.4.3-1.mga3
+ Revision: 408488
- new version 3.4.3

* Sun Mar 17 2013 lmenut <lmenut> 3.4.2-3.mga3
+ Revision: 403604
- rebuild for new rpm-mageia-setup
  do not own man lang directories (mga #9055)

* Sat Jan 12 2013 umeabot <umeabot> 3.4.2-2.mga3
+ Revision: 352561
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Oct 30 2012 tv <tv> 3.4.2-1.mga3
+ Revision: 311592
- new release

* Sun Nov 27 2011 tv <tv> 3.3.1-1.mga2
+ Revision: 172534
- new release

* Tue Sep 13 2011 wally <wally> 3.3.0-3.mga2
+ Revision: 143040
- clean BRs
- clean reqs
- add missing reqs
- convert some reqs to suggests
- suggest more optional packages

* Wed Jun 29 2011 wally <wally> 3.3.0-2.mga2
+ Revision: 115579
- handle localized man pages with find_lang macro
- clean .spec a bit
+ kharec <kharec>
- allow change on compression of manpage for futures rebuilt

* Mon Jun 27 2011 kharec <kharec> 3.3.0-1.mga2
+ Revision: 114362
- update version
- update file list

* Sun May 08 2011 kharec <kharec> 3.2.6-1.mga1
+ Revision: 96478
- new bugfix release

* Wed Mar 16 2011 tv <tv> 3.2.5-1.mga1
+ Revision: 72831
- imported package gramps


* Sat Nov 27 2010 Sandro Cazzaniga <kharec@mandriva.org> 3.2.5-1mdv2011.0
+ Revision: 601783
- update to new version 3.2.5

* Fri Oct 15 2010 Sandro Cazzaniga <kharec@mandriva.org> 3.2.4-1mdv2011.0
+ Revision: 585740
- update to 3.2.4

* Sun Jul 11 2010 Sandro Cazzaniga <kharec@mandriva.org> 3.2.3-1mdv2011.0
+ Revision: 551173
- update to 3.2.3

* Sun May 30 2010 Thierry Vignaud <tv@mandriva.org> 3.2.2-3mdv2010.1
+ Revision: 546596
- bump release

* Sun Apr 25 2010 Sandro Cazzaniga <kharec@mandriva.org> 3.2.2-1mdv2010.1
+ Revision: 538533
- update to 3.2.2

* Thu Apr 01 2010 Sandro Cazzaniga <kharec@mandriva.org> 3.2.0-1mdv2010.1
+ Revision: 530573
- update to 3.2.0

* Sat Dec 26 2009 Funda Wang <fwang@mandriva.org> 3.1.3-1mdv2010.1
+ Revision: 482398
- new version 3.1.3

* Sat Nov 07 2009 Frederik Himpe <fhimpe@mandriva.org> 3.1.2-1mdv2010.1
+ Revision: 462335
- update to new version 3.1.2

* Fri Sep 11 2009 Thierry Vignaud <tv@mandriva.org> 3.1.1-2mdv2010.0
+ Revision: 437810
- rebuild

* Wed Mar 11 2009 Frederik Himpe <fhimpe@mandriva.org> 3.1.1-1mdv2009.1
+ Revision: 353923
- update to new version 3.1.1

* Sun Mar 08 2009 Frederik Himpe <fhimpe@mandriva.org> 3.1.0-1mdv2009.1
+ Revision: 353012
- Update to new version 3.1.0
- Don't run autogen.sh: it's not needed and does not even work with 3.1.0

* Sun Jan 04 2009 Jérôme Soyer <saispo@mandriva.org> 3.0.4-1mdv2009.1
+ Revision: 324428
- New upstream release

* Fri Nov 28 2008 Götz Waschk <waschk@mandriva.org> 3.0.3-1mdv2009.1
+ Revision: 307466
- new version
- add missing dep on gnome-python-gtkspell

* Thu Aug 07 2008 Thierry Vignaud <tv@mandriva.org> 3.0.1-2mdv2009.0
+ Revision: 266948
- rebuild early 2009.0 package (before pixel changes)

  + Pixel <pixel@mandriva.com>
    - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas

* Sun Jun 01 2008 Funda Wang <fwang@mandriva.org> 3.0.1-1mdv2009.0
+ Revision: 213893
- add missing files
- New version 3.0.1

* Tue Apr 15 2008 Thierry Vignaud <tv@mandriva.org> 3.0.0-1mdv2009.0
+ Revision: 193495
- further adjust file list
- adjust file list
- disable --enable-packager-mode (which just remove schemas)
- new release
- new release
- kill dead sources
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Tue Oct 23 2007 Jérôme Soyer <saispo@mandriva.org> 2.2.9-1mdv2008.1
+ Revision: 101473
- New release 2.2.9

* Thu Sep 06 2007 Adam Williamson <awilliamson@mandriva.org> 2.2.8-2mdv2008.0
+ Revision: 80865
- fd.o icons
- fix errors in the .desktop file
- use configure macro
- drop the bogus sed command which was changing the app version...
- use Fedora license policy

* Sun Jun 24 2007 Funda Wang <fwang@mandriva.org> 2.2.8-1mdv2008.0
+ Revision: 43564
- New version


* Sun Feb 18 2007 Jérôme Soyer <saispo@mandriva.org> 2.2.6-1mdv2007.0
+ Revision: 122509
- New release 2.2.6

* Mon Jan 29 2007 Götz Waschk <waschk@mandriva.org> 2.2.5-1mdv2007.1
+ Revision: 115010
- fix build with new gnome-doc-utils
- new version

* Fri Jan 05 2007 Nicolas Lécureuil <neoclust@mandriva.org> 2.2.4-1mdv2007.1
+ Revision: 104391
- New Version 2.2.4

* Mon Nov 27 2006 Götz Waschk <waschk@mandriva.org> 2.2.3-1mdv2007.1
+ Revision: 87350
- new version
- update file list

* Fri Nov 03 2006 Götz Waschk <waschk@mandriva.org> 2.2.2-1mdv2007.1
+ Revision: 76106
- new version

* Tue Oct 31 2006 Götz Waschk <waschk@mandriva.org> 2.2.1-2mdv2007.1
+ Revision: 74767
- fix buildrequires
- Import gramps

* Mon Oct 30 2006 Götz Waschk <waschk@mandriva.org> 2.2.1-1mdv2007.1
- New version 2.2.1

* Sat Sep 16 2006 Emmanuel Andry <eandry@mandriva.org> 2.0.11-3mdv2007.0
- Oops ! Moved desktop-file-utils from requires to buildrequires

* Sat Sep 16 2006 Emmanuel Andry <eandry@mandriva.org> 2.0.11-2mdv2007.0
- xdg menu
- gconf, mime and scrollkeeper macros
- fix Xvfb path

* Wed May 03 2006 Götz Waschk <waschk@mandriva.org> 2.0.11-1mdk
- New release 2.0.11

* Tue Mar 07 2006 Götz Waschk <waschk@mandriva.org> 2.0.10-1mdk
- New release 2.0.10

* Wed Dec 14 2005 Götz Waschk <waschk@mandriva.org> 2.0.9-1mdk
- New release 2.0.9
- use mkrel

* Fri Sep 09 2005 Götz Waschk <waschk@mandriva.org> 2.0.8-1mdk
- New release 2.0.8

* Wed Aug 17 2005 Götz Waschk <waschk@mandriva.org> 2.0.6-1mdk
- New release 2.0.6

* Fri Jul 08 2005 Götz Waschk <waschk@mandriva.org> 2.0.5-1mdk
- New release 2.0.5

* Fri Jul 01 2005 Götz Waschk <waschk@mandriva.org> 2.0.4-1mdk
- New release 2.0.4

* Mon Jun 06 2005 Götz Waschk <waschk@mandriva.org> 2.0.3-1mdk
- New release 2.0.3

* Thu May 26 2005 Götz Waschk <waschk@mandriva.org> 2.0.1-1mdk
- replace patch by packager mode
- New release 2.0.1

* Fri May 13 2005 Götz Waschk <waschk@mandriva.org> 2.0.0-1mdk
- make the package noarch
- handle gconf stuff
- handle mime stuff
- add new files
- fix source URL
- new version

* Wed Mar 23 2005 Lenny Cartier <lenny@mandrakesoft.com> 1.0.11-1mdk
- from Emmanuel Andry <eandry@free.fr> : 
	- New release 1.0.11

* Wed Mar 09 2005 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.0.10-1mdk
- cosmetics
- fix summary-ended-with-dot
- from Emmanuel Andry <eandry@free.fr> :
	o New release 1.0.10

* Mon Nov 01 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0.8-1mdk
- fix file list
- New release 1.0.8

* Wed Aug 18 2004 Pascal Terjan <pterjan@mandrake.org> 1.0.7-1mdk
- New release 1.0.7

* Tue Aug 03 2004 Goetz Waschk <waschk@linux-mandrake.com> 1.0.5-1mdk
- New release 1.0.5

* Fri Jun 18 2004 Goetz Waschk <waschk@linux-mandrake.com> 1.0.4-1mdk
- New release 1.0.4

* Sat Apr 24 2004 Goetz Waschk <waschk@linux-mandrake.com> 1.0.3-1mdk
- New release 1.0.3

* Tue Apr 06 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0.2-1mdk
- new version