rpms/wxapt/F-10 wxapt.makefile.patch, NONE, 1.1 wxapt.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Randy Berry dp67 at fedoraproject.org
Fri Jan 16 04:04:04 UTC 2009


Author: dp67

Update of /cvs/pkgs/rpms/wxapt/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6372

Modified Files:
	.cvsignore sources 
Added Files:
	wxapt.makefile.patch wxapt.spec 
Log Message:

Second build F10


wxapt.makefile.patch:

--- NEW FILE wxapt.makefile.patch ---
diff -up wxapt/Makefile.orig wxapt/Makefile
--- wxapt/Makefile.orig	2007-11-23 02:18:31.000000000 -0500
+++ wxapt/Makefile	2009-01-14 10:29:28.000000000 -0500
@@ -2,10 +2,12 @@
 
 SHELL   = /bin/sh
 PROJECT = wxapt
-BINDIR  = /usr/local/bin
-DOCDIR  = /usr/local/share/doc/
+BINDIR  = /usr/bin
+DOCDIR  = /usr/share/doc/
 CC      = gcc -Wall -O2 -march=native
 
+DESTDIR= 
+
 objects = image.o sound.o wxapt.o
 
 $(PROJECT) : $(objects)
@@ -14,13 +16,10 @@ $(PROJECT) : $(objects)
 $(objects) : $(PROJECT).h
 
 install : $(PROJECT)
-	install -m 755 --strip $(PROJECT) $(BINDIR)
-	install -m 644 doc/$(PROJECT).html $(DOCDIR)
-
+	install -D -m 755 $(PROJECT) $(DESTDIR)$(BINDIR)/$(PROJECT)
 uninstall :
-	rm $(BINDIR)/$(PROJECT)
-	rm $(DOCDIR)/$(PROJECT).html
-
+	rm $(DESTDIR)$(BINDIR)/$(PROJECT)
+	rm $(DESTDIR)$(DOCDIR)/$(PROJECT).html
 clean :
 	rm -f *.o *~
 


--- NEW FILE wxapt.spec ---
Name:           wxapt
Version:        1.3
Release:        3%{?dist}
Summary:        Console application for decoding and saving weather images

Group:          Applications/Communications
License:        GPLv2+
URL:            http://5b4az.chronos.org.uk/pages/apt.html
Source0:        http://5b4az.chronos.org.uk/pkg/apt/wxapt/%{name}-%{version}.tar.gz
Patch0:		wxapt.makefile.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  ncurses-devel
#Requires:   
#ExcludeArch:	PPC
#ExcludeArch:	PPC64    

%description
wxapt is a console application for decoding and saving weather images
transmitted in the APT format of NOAA and METEOR satellites.

%prep
%setup -qn %{name}
%patch0 -p1 -b makefile.patch
#fix CFLAG from upstream
sed -i -e 's/-march=native//g' Makefile

%build
make CFLAGS="%{optflags}" %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
#skip make install and do manual install, it's just one file
install -D -m 0755 wxapt $RPM_BUILD_ROOT%{_bindir}/%{name}
#skip .desktop file as this is a command line application

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS README
%{_bindir}/*


%changelog
* Wed Jan 14 2009 Randall J. Berry 'Dp67' <dp67 at fedoraproject.org> 1.3-3
- Makefile patch change dir from /usr/local to /usr
- Build for ppc and ppc64 previously failed

* Wed Jan 14 2009 Randall J. Berry 'Dp67' <dp67 at fedoraproject.org> 1.3-2
- mock build F9/10/devel
- rpmlint 3 packages and 1 specfiles checked; 0 errors, 0 warnings.
- Submit for review

* Sun Sep 21 2008 Randall J. Berry 'Dp67' <dp67 at fedoraproject.org> 1.3-1
- Build test for f9

* Sun Mar 02 2008 Sindre Pedersen Bjordal <sindrepb at fedoraproject.org> - 1.3-1
- Initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/wxapt/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	15 Jan 2009 20:45:58 -0000	1.1
+++ .cvsignore	16 Jan 2009 04:03:34 -0000	1.2
@@ -0,0 +1 @@
+wxapt-1.3.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/wxapt/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	15 Jan 2009 20:45:58 -0000	1.1
+++ sources	16 Jan 2009 04:03:34 -0000	1.2
@@ -0,0 +1 @@
+04bc342743af558cd7f95c62ce4a84bc  wxapt-1.3.tar.gz




More information about the scm-commits mailing list