mirror of https://github.com/XEphem/XEphem.git
Compare commits
3 Commits
632a0df33a
...
64d4d97a2d
| Author | SHA1 | Date |
|---|---|---|
|
|
64d4d97a2d | |
|
|
0efc6cb6fc | |
|
|
00450e96f1 |
|
|
@ -522,11 +522,11 @@ using XEphem on my web site or publications?</b>
|
|||
placed somewhere on each such page:
|
||||
<p>
|
||||
<pre>
|
||||
<a target="csiwin" href="https://www.ClearSkyInstitute.com/xephem/xephem.html">Created using <b>XEphem</b></a>
|
||||
<a target="csiwin" href="https://xephem.github.io/XEphem/Site/xephem.html">Created using <b>XEphem</b></a>
|
||||
</pre>
|
||||
<p>
|
||||
It should look and work like this:
|
||||
<a target="csiwin" href="https://www.ClearSkyInstitute.com/xephem/xephem.html">
|
||||
<a target="csiwin" href="https://xephem.github.io/XEphem/Site/xephem.html">
|
||||
Created using <b>XEphem</b></a>.
|
||||
<p>
|
||||
Regarding publications, the Postscript files generated by XEphem already
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
[Desktop Entry]
|
||||
Version=1.4
|
||||
Type=Application
|
||||
Name=XEphem
|
||||
GenericName=Astronomical ephemeris calculator
|
||||
Exec=xephem
|
||||
Icon=XEphem
|
||||
Terminal=false
|
||||
Categories=Science;Astronomy
|
||||
12
xephem.spec
12
xephem.spec
|
|
@ -36,13 +36,23 @@ gzip -c %{name}.man > %{name}.1x.gz
|
|||
mkdir -p %{buildroot}/%{_bindir}
|
||||
mkdir -p %{buildroot}/%{_mandir}/man1x/
|
||||
|
||||
cd GUI/xephem
|
||||
pushd GUI/xephem
|
||||
install -m 0755 %{name} %{buildroot}/%{_bindir}
|
||||
install -m 0444 %{name}.1x.gz %{buildroot}/%{_mandir}/man1x/
|
||||
popd
|
||||
|
||||
# Provide a desktop entry
|
||||
mkdir -p %{buildroot}%{_datadir}/applications
|
||||
install -m 0644 system_integration/Linux/share/applications/io.github.%{name}.desktop %{buildroot}%{_datadir}/applications
|
||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/
|
||||
install -m 0644 GUI/xephem/XEphem.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/
|
||||
|
||||
|
||||
%files
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1x/%{name}.1x.gz
|
||||
%{_datadir}/applications/io.github.%{name}.desktop
|
||||
%{_datadir}/icons/hicolor/128x128/apps/XEphem.png
|
||||
|
||||
%changelog
|
||||
* Fri Mar 05 2021 Douglas Needham <cinnion+github@gmail.com> 4.0.1-1
|
||||
|
|
|
|||
Loading…
Reference in New Issue