rpms/xvarstar/F-10 xvarstar-0.9-makefile.patch, NONE, 1.1 xvarstar.desktop, NONE, 1.1 xvarstar.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Lubomir Rintel
lkundrak at fedoraproject.org
Mon Oct 27 09:49:56 UTC 2008
- Previous message (by thread): rpms/xvarstar/F-9 xvarstar-0.9-makefile.patch, NONE, 1.1 xvarstar.desktop, NONE, 1.1 xvarstar.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/libv4l/devel .cvsignore, 1.9, 1.10 libv4l.spec, 1.8, 1.9 sources, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: lkundrak
Update of /cvs/pkgs/rpms/xvarstar/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29421/F-10
Modified Files:
.cvsignore sources
Added Files:
xvarstar-0.9-makefile.patch xvarstar.desktop xvarstar.spec
Log Message:
Add to branches
xvarstar-0.9-makefile.patch:
--- NEW FILE xvarstar-0.9-makefile.patch ---
--- ../Makefile.am 2008-05-17 23:43:29.000000000 +0200
+++ Makefile.am 2008-05-20 22:52:42.000000000 +0200
@@ -6,7 +6,7 @@
varcfg.c search.c constell.c
xvarstar_SOURCES = $(ALLSOURCES) xvarstar.c
-xvarstar_CFLAGS = -DXVS_CONF=\"$(sysconfdir)/xvarstar.conf\"
+xvarstar_CFLAGS = -DXVS_CONF=\"$(DESTDIR)$(sysconfdir)/xvarstar.conf\"
noinst_HEADERS = error.h variable.h radec.h varcfg.h
@@ -15,10 +15,8 @@
EXTRA_DIST = $(catalogue_DATA)
-CFLAGS=-Wall
-
install-data-local:
- @if [ ! -f $(sysconfdir)/xvarstar.conf ]; then \
- $(mkinstalldirs) $(sysconfdir); \
- echo \$$gcvs_database = $(cataloguedir)/gcvs.dat > $(sysconfdir)/xvarstar.conf ; \
+ @if [ ! -f $(DESTDIR)$(sysconfdir)/xvarstar.conf ]; then \
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir); \
+ echo \$$gcvs_database = $(cataloguedir)/gcvs.dat > $(DESTDIR)$(sysconfdir)/xvarstar.conf ; \
fi
--- NEW FILE xvarstar.desktop ---
[Desktop Entry]
Name=XVarStar
Comment=Search through GCVS Catalogue
Exec=xvarstar
Terminal=false
Type=Application
Categories=Education;Science;
--- NEW FILE xvarstar.spec ---
Name: xvarstar
Version: 0.9
Release: 3%{?dist}
Summary: XVarStar is an 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
Patch0: %{name}-%{version}-makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: lesstif-devel desktop-file-utils
%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
%patch0 -p0 -b .patch
aclocal
automake-1.10 --no-force
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1} --vendor=fedora
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING README
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/fedora-%{name}.desktop
%config(noreplace) %{_sysconfdir}/%{name}.conf
%changelog
* Sun Sep 7 2008 <mmahut at fedoraproject.org> - 0.9-3
- Fixing license tag at FUDCon Brno 2008
* Sat Jun 28 2008 <telimektar1er at gmail.com> - 0.9-2
- Removed encoding section from the .desktop and renaming of the patch
* Fri May 2 2008 <telimektar1er at gmail.com> - 0.9-1
- Initial Package
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/xvarstar/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 27 Oct 2008 04:15:26 -0000 1.1
+++ .cvsignore 27 Oct 2008 09:49:26 -0000 1.2
@@ -0,0 +1 @@
+xvarstar-0.9.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/xvarstar/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 27 Oct 2008 04:15:26 -0000 1.1
+++ sources 27 Oct 2008 09:49:26 -0000 1.2
@@ -0,0 +1 @@
+9d42b1516dc487e57e1d6a1c25fd8820 xvarstar-0.9.tar.gz
- Previous message (by thread): rpms/xvarstar/F-9 xvarstar-0.9-makefile.patch, NONE, 1.1 xvarstar.desktop, NONE, 1.1 xvarstar.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/libv4l/devel .cvsignore, 1.9, 1.10 libv4l.spec, 1.8, 1.9 sources, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list