Compare commits

...

3 Commits

Author SHA1 Message Date
Mattia Verga 64d4d97a2d
Merge 00450e96f1 into 0efc6cb6fc 2025-01-26 23:11:03 +00:00
Tom 0efc6cb6fc
Update FAQ links to new GitHub Pages URL (#97) 2025-01-23 10:26:08 -05:00
Mattia Verga 00450e96f1 Add desktop file 2022-09-01 08:54:13 +02:00
3 changed files with 22 additions and 3 deletions

View File

@ -522,11 +522,11 @@ using XEphem on my web site or publications?</b>
placed somewhere on each such page: placed somewhere on each such page:
<p> <p>
<pre> <pre>
&lt;a target="csiwin" href="https://www.ClearSkyInstitute.com/xephem/xephem.html"&gt;Created using &lt;b&gt;XEphem&lt;/b&gt;&lt;/a&gt; &lt;a target="csiwin" href="https://xephem.github.io/XEphem/Site/xephem.html"&gt;Created using &lt;b&gt;XEphem&lt;/b&gt;&lt;/a&gt;
</pre> </pre>
<p> <p>
It should look and work like this: 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>. Created using <b>XEphem</b></a>.
<p> <p>
Regarding publications, the Postscript files generated by XEphem already Regarding publications, the Postscript files generated by XEphem already

View File

@ -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

View File

@ -36,13 +36,23 @@ gzip -c %{name}.man > %{name}.1x.gz
mkdir -p %{buildroot}/%{_bindir} mkdir -p %{buildroot}/%{_bindir}
mkdir -p %{buildroot}/%{_mandir}/man1x/ mkdir -p %{buildroot}/%{_mandir}/man1x/
cd GUI/xephem pushd GUI/xephem
install -m 0755 %{name} %{buildroot}/%{_bindir} install -m 0755 %{name} %{buildroot}/%{_bindir}
install -m 0444 %{name}.1x.gz %{buildroot}/%{_mandir}/man1x/ 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 %files
%{_bindir}/%{name} %{_bindir}/%{name}
%{_mandir}/man1x/%{name}.1x.gz %{_mandir}/man1x/%{name}.1x.gz
%{_datadir}/applications/io.github.%{name}.desktop
%{_datadir}/icons/hicolor/128x128/apps/XEphem.png
%changelog %changelog
* Fri Mar 05 2021 Douglas Needham <cinnion+github@gmail.com> 4.0.1-1 * Fri Mar 05 2021 Douglas Needham <cinnion+github@gmail.com> 4.0.1-1