update to 4.1.0 [release 4.1.0-1mamba;Sun Jan 09 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 19:36:52 +01:00
parent 687e352b03
commit eaabd78a7e

View File

@ -1,13 +1,13 @@
Name: xephem Name: xephem
Version: 3.7.3 Version: 4.1.0
Release: 2mamba Release: 1mamba
Summary: Astronomical Software Ephemeris Summary: Astronomical Software Ephemeris
Group: Graphical Desktop/Applications/Educational Group: Graphical Desktop/Applications/Educational
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.clearskyinstitute.com/xephem/ URL: https://xephem.github.io/XEphem/Site/xephem.html
Source: http://www.clearskyinstitute.com/xephem/%{name}-%{version}.tar.bz2 Source: https://github.com/XEphem/XEphem.git/%{version}/XEphem-%{version}.tar.bz2
Source1: XEphem.desktop Source1: XEphem.desktop
Source2: XEphem.kdelnk Source2: XEphem.kdelnk
Source3: XEphem.png Source3: XEphem.png
@ -19,139 +19,56 @@ Patch1: indi.patch
Patch2: %{name}-3.7.3-libXm.patch Patch2: %{name}-3.7.3-libXm.patch
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libjpeg-devel
BuildRequires: liblesstif-devel
BuildRequires: libpng-devel
BuildRequires: libX11-devel BuildRequires: libX11-devel
BuildRequires: libXext-devel BuildRequires: libXext-devel
BuildRequires: libXmu-devel BuildRequires: libXmu-devel
BuildRequires: libXp-devel
BuildRequires: libXt-devel BuildRequires: libXt-devel
BuildRequires: libz-devel BuildRequires: liblesstif-devel
BuildRequires: libopenssl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
License: Distributable License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
XEphem is an interactive astronomical ephemeris program for X Windows systems with OpenMotif. XEphem is an interactive astronomical ephemeris program for X Windows systems with OpenMotif.
%debug_package
%prep %prep
%setup -q -a6 %setup -q -n XEphem-%{version} -a6
%patch2 -p1 #%patch2 -p1
#%patch0 -p1
#%patch1 -p1
%build %build
cd GUI/xephem cd GUI/xephem
make MOTIFL=/usr/lib make MOTIFL=%{_libdir}
cd tools/lx200xed
make
cd ../indi
make
cd ../xedb
make
cd ../xephemdbd
make
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
cd GUI/xephem
install -D -m0755 xephem %{buildroot}/%{_bindir}/xephem
install -D -m0644 xephem.1 %{buildroot}/%{_mandir}/man1/xephem.1
XS=GUI/xephem install -d -m0755 %{buildroot}%{_datadir}/xephem/
XL=$RPM_BUILD_ROOT/usr/lib/xephem cp -R {auxil,catalogs,fifos,fits,gallery,help,lo} %{buildroot}%{_datadir}/xephem/
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/lib/xephem
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
mkdir -p $RPM_BUILD_ROOT%{_libdir}/X11/app-defaults
mkdir -p $RPM_BUILD_ROOT/usr/share/gnome/apps/Astro
mkdir -p $RPM_BUILD_ROOT/usr/share/applnk/Edutainment/Science/Edutainment/Science
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/mini
mkdir -p $RPM_BUILD_ROOT/usr/lib/xephem/tools/lx200xed
mkdir -p $RPM_BUILD_ROOT/usr/lib/xephem/tools/xephemdbd
mkdir -p $RPM_BUILD_ROOT/usr/lib/xephem/tools/xedb
mkdir -p $RPM_BUILD_ROOT/usr/lib/xephem/tools/indi
cp $RPM_SOURCE_DIR/XEphem.desktop $RPM_BUILD_ROOT/usr/share/gnome/apps/Astro/.
cp $RPM_SOURCE_DIR/XEphem.kdelnk $RPM_BUILD_ROOT/usr/share/applnk/Edutainment/Science/
cp $RPM_SOURCE_DIR/XEphem.png $RPM_BUILD_ROOT/usr/share/pixmaps/.
cp $RPM_SOURCE_DIR/XEphem.xpm $RPM_BUILD_ROOT/usr/share/icons/.
cp $RPM_SOURCE_DIR/mini-XEphem.xpm $RPM_BUILD_ROOT/usr/share/icons/mini/.
cp *.edb $XS/catalogs/
install -D -m 755 $XS/xephem $RPM_BUILD_ROOT/usr/bin/xephem
install -s -m 755 $XS/tools/lx200xed/lx200xed $XL/tools/lx200xed
install -s -m 755 $XS/tools/xedb/xedb $XL/tools/xedb
install -s -m 755 $XS/tools/xephemdbd/xephemdbd $XL/tools/xephemdbd
install -D -m 755 $XS/tools/xephemdbd/start-xephemdbd.pl $XL/tools/xephemdbd/start-xephemdbd.pl
install -D -m 755 $XS/tools/xephemdbd/xephemdbd.pl $XL/tools/xephemdbd/xephemdbd.pl
install -D -m 755 $XS/tools/xephemdbd/cgi-lib.pl $XL/tools/xephemdbd/cgi-lib.pl
cd $XS/tools
find . -name "*.[coh]" -exec rm -f \{\} \;
cd -
install -m 644 $XS/xephem.man $RPM_BUILD_ROOT%{_mandir}/man1/xephem.1x
gzip -v $RPM_BUILD_ROOT%{_mandir}/man1/xephem.1x
install -d -m 755 $XL/auxil
install -d -m 755 $XL/catalogs
install -d -m 755 $XL/fifos
install -d -m 755 $XL/fits
install -d -m 755 $XL/tools
install -d -m 755 $XL/tools/xephemdbd
install -d -m 755 $XL/tools/lx200xed
install -d -m 755 $XL/tools/xedb
install -d -m 755 $XL/tools/indi
install -m 644 $XS/auxil/* $XL/auxil
install -m 644 $XS/catalogs/* $XL/catalogs
install -m 644 $XS/fifos/* $XL/fifos
install -m 644 $XS/tools/indi/README $XL/tools/indi
install -m 644 $XS/tools/xedb/README $XL/tools/xedb
install -m 644 $XS/tools/xedb/sample.res $XL/tools/xedb
install -m 644 $XS/tools/lx200xed/README $XL/tools/lx200xed
install -m 644 $XS/tools/xephemdbd/* $XL/tools/xephemdbd
echo "XEphem.ShareDir: /usr/lib/xephem" > $RPM_BUILD_ROOT/%{_libdir}/X11/app-defaults/XEphem
install -d %{buildroot}%{_datadir}/X11/app-defaults
echo "XEphem.ShareDir: /usr/share/xephem" > %{buildroot}%{_datadir}/X11/app-defaults/XEphem
%clean %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc INSTALL README %{_bindir}/xephem
%{_libdir}/X11/app-defaults/XEphem %{_datadir}/X11/app-defaults/XEphem
%{_bindir}/* %dir %{_datadir}/xephem
%dir %{_libdir}/xephem/auxil %{_datadir}/xephem/*
%{_libdir}/xephem/auxil/* %{_mandir}/man1/xephem.1*
%dir %{_libdir}/xephem/catalogs %doc LICENSE
%{_libdir}/xephem/catalogs/*
%dir %{_libdir}/xephem/fifos/
%{_libdir}/xephem/fifos/*
%{_libdir}/xephem/tools/indi/README
%{_libdir}/xephem/tools/lx200xed/README
%{_libdir}/xephem/tools/lx200xed/lx200xed
%{_libdir}/xephem/tools/xedb/README
%{_libdir}/xephem/tools/xedb/sample.res
%{_libdir}/xephem/tools/xedb/xedb
%{_libdir}/xephem/tools/xephemdbd/INSTALL
%{_libdir}/xephem/tools/xephemdbd/Makefile
%{_libdir}/xephem/tools/xephemdbd/README
%{_libdir}/xephem/tools/xephemdbd/cgi-lib.pl
%{_libdir}/xephem/tools/xephemdbd/start-xephemdbd.pl
%{_libdir}/xephem/tools/xephemdbd/xephemdbd
%{_libdir}/xephem/tools/xephemdbd/xephemdbd.html
%{_libdir}/xephem/tools/xephemdbd/xephemdbd.pl
%{_datadir}/applnk/Edutainment/Science/XEphem.kdelnk
%{_datadir}/gnome/apps/Astro/XEphem.desktop
%{_datadir}/icons/XEphem.xpm
%{_datadir}/icons/mini/mini-XEphem.xpm
%{_datadir}/pixmaps/XEphem.png
%{_mandir}/man1/xephem.1x.gz
%changelog %changelog
* Sun Jan 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.0-1mamba
- update to 4.1.0
* Thu Jul 11 2013 Automatic Build System <autodist@mambasoft.it> 3.7.3-2mamba * Thu Jul 11 2013 Automatic Build System <autodist@mambasoft.it> 3.7.3-2mamba
- automatic rebuild by autodist - automatic rebuild by autodist