Compare commits

..

3 commits

Author SHA1 Message Date
Fedora Release Engineering
76a7e815c3 dist-git conversion 2010-07-29 16:16:24 +00:00
Bill Nottingham
d92e675247 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:39:40 +00:00
Jesse Keating
cfc2384ab4 Initialize branch F-11 for xvarstar 2009-04-15 06:16:17 +00:00
5 changed files with 102 additions and 1 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
emyller_star.svg
xvarstar-0.9.tar.gz

View file

@ -1 +0,0 @@
Orphaned for 6+ weeks

2
sources Normal file
View file

@ -0,0 +1,2 @@
1502cba8cc7c570ec928d44573ff39cd emyller_star.svg
9d42b1516dc487e57e1d6a1c25fd8820 xvarstar-0.9.tar.gz

8
xvarstar.desktop Normal file
View file

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

90
xvarstar.spec Normal file
View file

@ -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) <lkundrak@v3.sk> - 0.9-6
- Fix summary
- Add icon
- Fix categories
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Oct 27 2008 Lubomir Rintel (Fedora Astronomy) <lkundrak@v3.sk> - 0.9-4
- Grab right Motif implementation
- Remove the broken patch, fix sysconfdir path with make option
- Honor optflags
* Sun Sep 7 2008 <mmahut@fedoraproject.org> - 0.9-3
- Fixing license tag at FUDCon Brno 2008
* Sat Jun 28 2008 <telimektar1er@gmail.com> - 0.9-2
- Removed encoding section from the .desktop and renaming of the patch
* Fri May 2 2008 <telimektar1er@gmail.com> - 0.9-1
- Initial Package