Eric Tanguy 55daa79
Summary: Interactive educational geometry software
Eric Tanguy 55daa79
Name: drgeo
Eric Tanguy 55daa79
Version: 1.1.0
3158887
Release: 29%{?dist}
85ef133
License: GPLv2+
Eric Tanguy 55daa79
Group: Applications/Engineering
Eric Tanguy 55daa79
URL: http://www.ofset.org/drgeo
Eric Tanguy 55daa79
acb32c5
Source: http://downloads.sf.net/ofset/%{name}-%{version}.tar.gz
Eric Tanguy f27e833
Patch0: drgeo-1.1.0-htmlview.patch
Eric Tanguy 4f9e184
Patch1: drgeo.patch
Jonathan Dieter c1f7a45
Patch2: drgeo-1.1.0-anonymous-type.patch
acb32c5
Patch4: drgeo-1.1.0-format-security.patch
acb32c5
acb32c5
#The following are necessary if using Guile 1.9 or later
acb32c5
#Patch3: drgeo-1.1.0-guile-fixups.patch
acb32c5
#Patch5: drgeo-1.1.0-guile2-runtime.patch
Eric Tanguy 55daa79
Eric Tanguy 55daa79
BuildRequires: flex, bison, gmp-devel >= 2.0.2, desktop-file-utils
acb32c5
BuildRequires: libglade2-devel, intltool, gettext
acb32c5
acb32c5
# Despite the two patches above, drgeo still doesn't work with
acb32c5
# Guile 1.9 or later, giving a runtime error.  See
acb32c5
#   https://bugzilla.redhat.com/show_bug.cgi?id=1037042#c4
acb32c5
#BuildRequires: guile-devel
acb32c5
BuildRequires: compat-guile18-devel
Eric Tanguy 55daa79
Eric Tanguy 55daa79
%description
Eric Tanguy 55daa79
Dr. Geo is an interactive geometry GUI application. It allows one to create
Eric Tanguy 55daa79
geometric figures plus the interactive manipulation of such figure in
Eric Tanguy 55daa79
respect with their geometric constraints. It is usable in teaching
Eric Tanguy 55daa79
situation with students from primary or secondary level.
Eric Tanguy 55daa79
Eric Tanguy 55daa79
%prep
Eric Tanguy 55daa79
%setup -q
acb32c5
%patch0 -p1 -b .htmlview
acb32c5
%patch1 -p1 -b .general
acb32c5
%patch2 -p1 -b .anonymous-type
acb32c5
%patch4 -p1 -b .format-security
acb32c5
acb32c5
# patches for Guile 2 compatibility:
acb32c5
# compile time:
acb32c5
#%patch3 -p1 -b .guile-fixups
acb32c5
# run time:
acb32c5
#   http://bhattigurjot.wordpress.com/2014/05/23/23-may-2014/
acb32c5
#   http://git.savannah.gnu.org/cgit/dr-geo.git/commit/?h=upgrade&id=4c4a75a77bf91c6840cfa9101f3eaabd8fee7dbd
acb32c5
#%patch5 -p1 -b .guile2
Eric Tanguy 55daa79
Eric Tanguy 55daa79
%build
acb32c5
export GUILE=/usr/bin/guile1.8
acb32c5
export GUILE_CONFIG=/usr/bin/guile1.8-config
acb32c5
export GUILE_TOOLS=/usr/bin/guile1.8-tools
Eric Tanguy 55daa79
%configure
Eric Tanguy 55daa79
make %{?_smp_mflags}
Eric Tanguy 55daa79
Eric Tanguy 55daa79
%install
a7015b1
%make_install
Eric Tanguy 55daa79
%find_lang %{name}
a7015b1
perl -pi -e 's/^Icon=gnome-drgenius.png/Icon=drgeo/g' %{buildroot}%{_datadir}/applications/drgeo.desktop
Eric Tanguy 55daa79
desktop-file-install \
Eric Tanguy 55daa79
   --dir %{buildroot}%{_datadir}/applications \
Eric Tanguy 55daa79
   %{buildroot}%{_datadir}/applications/drgeo.desktop
Eric Tanguy 55daa79
Eric Tanguy 55daa79
install -D -m0644 glade/drgeo.png %{buildroot}%{_datadir}/pixmaps/drgeo.png
Eric Tanguy 55daa79
mkdir %{buildroot}%{_datadir}/TeXmacs/
Eric Tanguy 55daa79
mv %{buildroot}%{_datadir}/texmacs/TeXmacs/plugins/ %{buildroot}%{_datadir}/TeXmacs/.
Eric Tanguy 55daa79
rmdir %{buildroot}%{_datadir}/texmacs/TeXmacs/
Eric Tanguy 55daa79
rmdir %{buildroot}%{_datadir}/texmacs/
Eric Tanguy 55daa79
Eric Tanguy 55daa79
%files -f %{name}.lang
Eric Tanguy 55daa79
%doc AUTHORS ChangeLog COPYING NEWS README TODO
Eric Tanguy 55daa79
%{_bindir}/drgeo
Eric Tanguy 55daa79
%{_bindir}/tm_drgeo
Eric Tanguy 55daa79
%{_datadir}/drgeo/
Eric Tanguy 55daa79
%{_datadir}/pixmaps/*.png
Eric Tanguy 55daa79
%{_datadir}/TeXmacs/plugins/drgeo
a7015b1
%{_datadir}/applications/drgeo.desktop
Eric Tanguy 55daa79
Eric Tanguy 4dd6e25
%changelog
3158887
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.1.0-29
3158887
- Rebuilt for GCC 5 C++11 ABI change
3158887
b7c2cb0
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-28
b7c2cb0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b7c2cb0
acb32c5
* Thu Jun 12 2014 Eric Smith <brouhaha@fedoraproject.org> - 1.1.0-27
acb32c5
- Updated Source tag
acb32c5
- Added format security patch from Yaakov Selkowitz <yselkowi@redhat.com>
acb32c5
  (#1037024, #1106158)
acb32c5
- Added patch for runtime compatibility with Guile 2.x, which still isn't
acb32c5
  adequate.
acb32c5
- Rather than using guile 2.0, build to use compat-guile18.
acb32c5
312737c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-26
312737c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
312737c
c01f7c3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-25
c01f7c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c01f7c3
a7015b1
* Sat Feb 23 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 1.1.0-24
a7015b1
- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
a7015b1
- clean up spec to follow current guidelines
a7015b1
5737ba9
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-23
5737ba9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5737ba9
c875a1a
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-22
c875a1a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c875a1a
Jonathan Dieter ed158fd
* Thu Apr 19 2012 Jonathan Dieter <jdieter@lesbg.com> - 1.1.0-21
Jonathan Dieter ed158fd
- Apply patch from Jan Synacek which allows us to build against guile-2.0.x
Jonathan Dieter ed158fd
0797244
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-20
0797244
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0797244
3c6335a
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.1.0-19
3c6335a
- Rebuild for new libpng
3c6335a
Jonathan Dieter c1f7a45
* Tue Feb 08 2011 Jonathan Dieter <jdieter@lesbg.com> - 1.1.0-18
Jonathan Dieter c1f7a45
- Fix FTBFS (bug #631320) for GCC 4.5 using patch from openSUSE
Jonathan Dieter c1f7a45
ae03b26
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-17
ae03b26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ae03b26
822d1f2
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-16
822d1f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
822d1f2
4023701
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-15
4023701
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4023701
85ef133
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1.0-14
85ef133
- fix license tag
85ef133
Eric Tanguy 4f9e184
* Tue Jul 08 2008 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.1.0-13
Eric Tanguy 4f9e184
- BZ 454045
Eric Tanguy 4f9e184
80ba6bf
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.0-12
80ba6bf
- Autorebuild for GCC 4.3
80ba6bf
Eric Tanguy 0f02ebb
* Mon Aug 28 2006 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.1.0-11
Eric Tanguy 0f02ebb
- Rebuild for Fedora Extras 6
Eric Tanguy 0f02ebb
Eric Tanguy 4dd6e25
* Tue Jul 04 2006 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.1.0-10
Eric Tanguy 4dd6e25
- Modify changelog
Eric Tanguy 4dd6e25
Eric Tanguy 4dd6e25
* Tue Jul 04 2006 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.1.0-9
Eric Tanguy a5cbfe1
- Modify BR to build in mock with the minimal build group
Eric Tanguy a5cbfe1
Eric Tanguy 94db459
* Tue May 18 2006 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.1.0-8
Eric Tanguy 94db459
- Rebuild for devel
Eric Tanguy 94db459
Eric Tanguy 91ad5fa
* Tue Feb 14 2006 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.1.0-7
Eric Tanguy 91ad5fa
- Rebuild for FC5
Eric Tanguy 91ad5fa
Eric Tanguy eebf773
* Fri Feb 10 2006 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.1.0-6
Eric Tanguy eebf773
- Rebuild for FC5
Eric Tanguy eebf773
Eric Tanguy 29a0351
* Fri Feb 10 2006 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.1.0-5
Eric Tanguy 29a0351
- Rebuild for FC5
Eric Tanguy 29a0351
Eric Tanguy 0bdc8f1
* Sun Oct 23 2005 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.1.0-4
Eric Tanguy f27e833
- Modify the default doc reader to htmlview
Eric Tanguy f27e833
Eric Tanguy 0bdc8f1
* Sun Oct 23 2005 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.1.0-3
Eric Tanguy 0bdc8f1
- Modify the default doc reader to firefox
Eric Tanguy 0bdc8f1
Eric Tanguy 55daa79
* Sun Oct 23 2005 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.1.0-2
Eric Tanguy 55daa79
- Modify spec file
Eric Tanguy 55daa79
Eric Tanguy 55daa79
* Sun Oct 23 2005 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.1.0-1
Eric Tanguy 55daa79
- Updated to release 1.1.0.
Eric Tanguy 55daa79
- Modify spec file
Eric Tanguy 55daa79
Eric Tanguy 55daa79
* Sun Mar 06 2005 Dag Wieers <dag@wieers.com> - 1.0.0-1
Eric Tanguy 55daa79
- Updated to release 1.0.0.
Eric Tanguy 55daa79
Eric Tanguy 55daa79
* Fri Sep 24 2004 Dag Wieers <dag@wieers.com> - 0.9.14-1
Eric Tanguy 55daa79
- Updated to release 0.9.14.
Eric Tanguy 55daa79
Eric Tanguy 55daa79
* Tue Jun 08 2004 Dag Wieers <dag@wieers.com> - 0.9.13-1
Eric Tanguy 55daa79
- Updated to release 0.9.13.
Eric Tanguy 55daa79
Eric Tanguy 55daa79
* Sun Jun 06 2004 Dag Wieers <dag@wieers.com> - 0.9.12-1
Eric Tanguy 55daa79
- Add improved desktop file.
Eric Tanguy 55daa79
Eric Tanguy 55daa79
* Sun Jan 31 2004 Dag Wieers <dag@wieers.com> - 0.9.12-0
Eric Tanguy 55daa79
- Updated to release 0.9.12.
Eric Tanguy 55daa79
Eric Tanguy 55daa79
* Fri Oct 24 2003 Dag Wieers <dag@wieers.com> - 0.9.10-0
Eric Tanguy 55daa79
- Updated to release 0.9.10.
Eric Tanguy 55daa79
Eric Tanguy 55daa79
* Tue Sep 23 2003 Dag Wieers <dag@wieers.com> - 0.9.9-0
Eric Tanguy 55daa79
- Updated to release 0.9.9.
Eric Tanguy 55daa79
Eric Tanguy 55daa79
* Sun Sep 07 2003 Dag Wieers <dag@wieers.com> - 0.9.8-0
Eric Tanguy 55daa79
- Updated to release 0.9.8.
Eric Tanguy 55daa79
Eric Tanguy 55daa79
* Wed Aug 13 2003 Dag Wieers <dag@wieers.com> - 0.9.7-0
Eric Tanguy 55daa79
- Package renamed to drgeo.
Eric Tanguy 55daa79
- Updated to release 0.9.7.
Eric Tanguy 55daa79
Eric Tanguy 55daa79
* Sun Mar 16 2003 Dag Wieers <dag@wieers.com> - 0.8.4-0
Eric Tanguy 55daa79
- Updated to release 0.8.4.
Eric Tanguy 55daa79
Eric Tanguy 55daa79
* Mon Feb 24 2003 Dag Wieers <dag@wieers.com> - 0.8.3-0
Eric Tanguy 55daa79
- Updated to release 0.8.3.
Eric Tanguy 55daa79
Eric Tanguy 55daa79
* Tue Jan 07 2003 Dag Wieers <dag@wieers.com> - 0.7.2-0
Eric Tanguy 55daa79
- Initial package. (using DAR)