Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > fa2ffb974afc69128dc0b5fb403de2e6 > files > 5

gramps-2.2.6-1mdv2007.1.src.rpm

%define name	gramps
%define version 2.2.6
%define release %mkrel 1

Summary:	Genealogical Research and Analysis Management Programming System
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	GPL
Group:		Sciences/Other
Source0:	http://prdownloads.sourceforge.net/gramps/%{name}-%{version}.tar.bz2
Source11:	%{name}-48.png
Source12:	%{name}-32.png
Source13:	%{name}-16.png
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
URL:		http://gramps.sourceforge.net
BuildArch: noarch
BuildRequires:	scrollkeeper >= 0.1.4 docbook-utils
BuildRequires:  gnome-python-gconf 
BuildRequires:  gnome-python-canvas
BuildRequires:  gnome-python-gnomevfs
BuildRequires:  pygtk2.0-libglade
BuildRequires:  libpython-devel
BuildRequires:  libgnome-vfs2-devel
BuildRequires:  desktop-file-utils
BuildRequires:  gnome-doc-utils libxslt-proc
BuildRequires:  intltool gnome-common
Requires:       gnome-python-gconf 
Requires:	gnome-python-canvas
Requires:	gnome-python-gnomevfs
Requires:	pygtk2.0-libglade
Requires:	shared-mime-info 

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

%prep
%setup -q
./autogen.sh
sed -i 's/2\.2/2\.3/' configure

%build
./configure --prefix=%_prefix --mandir=%_mandir --sysconfdir=%_sysconfdir \
  --enable-packager-mode
%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
rm -fr $RPM_BUILD_ROOT/var

#menu
desktop-file-install --vendor="" \
  --remove-category="Application" \
  --remove-category="Genealogy" \
  --add-category="Science" \
  --add-category="X-MandrivaLinux-MoreApplications-Sciences-Other" \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications $RPM_BUILD_ROOT%{_datadir}/applications/*

#icons
install -m644 %{SOURCE11} -D $RPM_BUILD_ROOT%{_liconsdir}/%{name}.png
install -m644 %{SOURCE12} -D $RPM_BUILD_ROOT%{_iconsdir}/%{name}.png
install -m644 %{SOURCE13} -D $RPM_BUILD_ROOT%{_miconsdir}/%{name}.png

%find_lang %{name} --with-gnome

%clean
rm -rf $RPM_BUILD_ROOT

%post
%update_scrollkeeper
%update_mime_database
%update_menus
%post_install_gconf_schemas %{name}

%preun
%preun_uninstall_gconf_schemas %{name}

%postun
%clean_scrollkeeper
%{clean_menus}

%files -f %{name}.lang
%defattr(-, root, root)

%doc README TODO
%_sysconfdir/gconf/schemas/%{name}.schemas
%{_bindir}/%{name}
%{_datadir}/applications/*.desktop
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
%_datadir/mime/packages/%{name}.xml
%_datadir/icons/gnome/48x48/mimetypes/*
%_datadir/pixmaps/gramps.png
%_datadir/icons/gnome/scalable/mimetypes/*
%_datadir/application-registry/%{name}.applications
%_datadir/mime-info/*
%{_datadir}/omf/%{name}
%{_mandir}/man1/*
%{_liconsdir}/%{name}.png
%{_iconsdir}/%{name}.png
%{_miconsdir}/%{name}.png


%changelog
* 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

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

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

* Tue May 02 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

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

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

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

* Thu Jun 30 2005 Götz Waschk <waschk@mandriva.org> 2.0.4-1mdk
- New release 2.0.4

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

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

* Thu May 12 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  1 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0.8-1mdk
- fix file list
- New release 1.0.8

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

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

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

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

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

* Thu Feb 19 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0.1-1mdk
- new version

* Thu Feb 12 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0.0-1mdk
- fix deps
- spec fixes
- new version

* Mon Dec  8 2003 Götz Waschk <waschk@linux-mandrake.com> 0.98.0-1mdk
- new version

* Wed Oct  8 2003 Götz Waschk <waschk@linux-mandrake.com> 0.9.5-1mdk
- new version

* Mon Oct  6 2003 Götz Waschk <waschk@linux-mandrake.com> 0.9.4-1mdk
- update file list
- fix installation
- adapt python 2.3 fix
- new version

* Mon Sep 22 2003 Götz Waschk <waschk@linux-mandrake.com> 0.9.3-3mdk
- simplify requires and buildrequires
- fix build without X

* Sat Sep 20 2003 Pascal Terjan <CMoi@tuxfamily.org> 0.9.3-2mdk
- patch for python 2.3

* Tue Jul 15 2003 Götz Waschk <waschk@linux-mandrake.com> 0.9.3-1mdk
- new version

* Tue Jun  3 2003 Götz Waschk <waschk@linux-mandrake.com> 0.9.2-3mdk
- another buildrequires fix

* Tue Jun  3 2003 Götz Waschk <waschk@linux-mandrake.com> 0.9.2-2mdk
- fix buildrequires

* Mon Jun  2 2003 Götz Waschk <waschk@linux-mandrake.com> 0.9.2-1mdk
- drop patch
- new version

* Tue Apr 22 2003 Götz Waschk <waschk@linux-mandrake.com> 0.9.1-1mdk
- remove the docs from the file list, that are not shipped anymore
- new version

* Fri Feb 28 2003 Götz Waschk <waschk@linux-mandrake.com> 0.9.0-2mdk
- fix requires 

* Thu Feb 20 2003 Götz Waschk <waschk@linux-mandrake.com> 0.9.0-1mdk
- bzip2 the patch
- needs gnome-python for gnome2
- use the right configure macro
- new version

* Thu Jan 30 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.8.1-2mdk
- rebuild

* Thu Jan 16 2003 Austin Acton <aacton@yorku.ca> 0.8.1-1mdk
- requires pygnome
- rm /var from buildroot
- 0.8.1

* Tue Oct 15 2002 Lenny Cartier <lenny@mandrakesoft.com>  0.8.0-3mdk
- from Per Øyvind Karlsen <peroyvind@delonic.no> :
	- Cleanups
	- Added icons from Charles A Edwards <eslrahc@bellsouth.net>
	- fix illegal locale dir error and BuildRequires(from Götz Waschk)
	- Clean $RPM_BUILD_ROOT
	- define macros in top, ver -> version, etc.

* Mon Oct  7 2002 Per Øyvind Karlsen <peroyvind@delonic.no> 0.8.0-2mdk
- Cleanups 
- Fixed install

* Fri Oct  4 2002 Per Øyvind Karlsen <peroyvind@delonic.no> 0.8.0-1mdk
- Initial release