diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c1f3e48 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +emyller_star.svg +xvarstar-0.9.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/sources b/sources new file mode 100644 index 0000000..d61abbd --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +1502cba8cc7c570ec928d44573ff39cd emyller_star.svg +9d42b1516dc487e57e1d6a1c25fd8820 xvarstar-0.9.tar.gz diff --git a/xvarstar.desktop b/xvarstar.desktop new file mode 100644 index 0000000..98942f4 --- /dev/null +++ b/xvarstar.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=XVarStar +Comment=Search through GCVS Catalogue +Exec=xvarstar +Icon=xvarstar +Terminal=false +Type=Application +Categories=Education;Astronomy;Science; diff --git a/xvarstar.spec b/xvarstar.spec new file mode 100644 index 0000000..a9c5bbf --- /dev/null +++ b/xvarstar.spec @@ -0,0 +1,90 @@ +Name: xvarstar +Version: 0.9 +Release: 6%{?dist} +Summary: Astronomical program used for searching GCVS + +Group: Applications/Engineering +License: GPLv2+ +URL: http://virtus.freeshell.org/%{name}/ +Source0: http://virtus.freeshell.org/%{name}/%{name}-%{version}.tar.gz +Source1: %{name}.desktop +# Public Domain icon +Source2: http://openclipart.org/people/emyller/emyller_star.svg +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: desktop-file-utils +%if 0%{?rhel} +BuildRequires: openmotif-devel +%else +BuildRequires: lesstif-devel +%endif + +%description +XVarStar is a astronomical program written for variable star observers, and is + used for searching GCVS catalogue. It allows searching by following criteria: +-star name +-magnitude +-type +-constellation +-amplitude +-This searching criteria can be combined so one can search for example all +variable stars located in Andromeda constellation and with magnitude +brighter than 5.00. + + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} CFLAGS="%{optflags}" + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/ +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" \ + sysconfdir="$RPM_BUILD_ROOT%{_sysconfdir}" + +mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications +desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1} --vendor=fedora +install -Dpm 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps/xvarstar.svg + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc COPYING README +%{_bindir}/%{name} +%{_datadir}/%{name} +%{_datadir}/pixmaps/xvarstar.svg +%{_datadir}/applications/fedora-%{name}.desktop + +%config(noreplace) %{_sysconfdir}/%{name}.conf + +%changelog +* Tue Mar 24 2009 Lubomir Rintel (Fedora Astronomy) - 0.9-6 +- Fix summary +- Add icon +- Fix categories + +* Thu Feb 26 2009 Fedora Release Engineering - 0.9-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Oct 27 2008 Lubomir Rintel (Fedora Astronomy) - 0.9-4 +- Grab right Motif implementation +- Remove the broken patch, fix sysconfdir path with make option +- Honor optflags + +* Sun Sep 7 2008 - 0.9-3 +- Fixing license tag at FUDCon Brno 2008 + +* Sat Jun 28 2008 - 0.9-2 +- Removed encoding section from the .desktop and renaming of the patch + +* Fri May 2 2008 - 0.9-1 +- Initial Package + +