Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 6ab3126aecb2885c524cfb90c034ec43 > files > 6

nightfall-1.92-1.mga7.src.rpm

Name:           nightfall
Version:        1.92
Release:        %mkrel 1
Summary:        An astronomy application for emulating eclipsing stars

License:        GPLv2+
Group:          Sciences/Astronomy
URL:            http://www.hs.uni-hamburg.de/DE/Ins/Per/Wichmann/Nightfall.html
Source0:        http://www.la-samhna.de/%{name}/%{name}-%{version}.tar.gz
Source1:        nightfall.desktop

#need to get debug symbols
Patch0:         nightfall-1.82-optflags.patch
Patch1:         nightfall-1.82-makefile.patch
#fix buffer overflow
Patch2:         nightfall-1.82-buffoverflow.patch

#no longer supported
#BuildRequires: openmpi-devel
BuildRequires: libgomp-devel
BuildRequires: pkgconfig(freeglut)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(gtkgl-2.0)
BuildRequires: pkgconfig(ice)
BuildRequires: pkgconfig(libjpeg)

Requires:      gnuplot
Requires:      a2ps
Requires:      fortune-mod

%description
Nightfall is an astronomy application for fun, education, and science.
It can produce animated views of eclipsing binary stars,
calculate synthetic lightcurves and radial velocity curves,
and eventually determine the best-fit model for a given set of
observational data of an eclipsing binary star system.
It is, however, not able to fry your breakfast egg on your harddisk.

%prep
%setup -q
%autopatch -p1

# fix build on aarch64
cp -af %{_rpmconfigdir}/config.{guess,sub} .

%build
%configure2_5x \
   --with-gnuplot \
   --enable-opengl \
   --enable-openmp \
   --disable-rpath \
   --disable-gnome \
   --with-locale-prefix=%{_datadir}/locale
%make_build

%install
%make_install

desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE1}

%find_lang %{name}

%files -f %{name}.lang
%license COPYING
%doc UserManual.pdf UserManual.html README AUTHORS ChangeLog
%{_bindir}/nightfall
%{_datadir}/nightfall/
%{_datadir}/applications/nightfall.desktop
%{_mandir}/man1/nightfall.1*


%changelog
* Tue Dec 25 2018 wally <wally> 1.92-1.mga7
+ Revision: 1344928
- new version 1.92
- build without libgnomeui

* Sun Sep 23 2018 umeabot <umeabot> 1.88-3.mga7
+ Revision: 1299744
- Mageia 7 Mass Rebuild

* Sun Jul 22 2018 wally <wally> 1.88-2.mga7
+ Revision: 1244831
- fix build on aarch64
+ eatdirt <eatdirt>
- Upgrade to version 1.88

* Tue Feb 16 2016 umeabot <umeabot> 1.82-5.mga6
+ Revision: 961756
- Mageia 6 Mass Rebuild

* Sun Oct 25 2015 daviddavid <daviddavid> 1.82-4.mga6
+ Revision: 895296
- fix empty lang files adding '--with-locale-prefix=' configure option

* Wed Oct 15 2014 umeabot <umeabot> 1.82-3.mga5
+ Revision: 743032
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 1.82-2.mga5
+ Revision: 682887
- Mageia 5 Mass Rebuild

* Fri Jul 04 2014 eatdirt <eatdirt> 1.82-1.mga5
+ Revision: 643033
- Fix patch file and missing BR
- Upgrade to version 1.82

* Sat Oct 19 2013 umeabot <umeabot> 1.70-2.mga4
+ Revision: 530554
- Mageia 4 Mass Rebuild

* Sun Jun 23 2013 joequant <joequant> 1.70-1.mga4
+ Revision: 445919
- fix mandir
- remove patch3 comment
- clean spec
- add build requires for i586
- imported package nightfall