rpms/gkrellm-moon/FC-5 gkrellm-moon.spec, NONE, 1.1 gkrellmoon-0.6-strcpy.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Matthias Saou (thias) fedora-extras-commits at redhat.com
Mon Mar 5 15:09:22 UTC 2007


Author: thias

Update of /cvs/extras/rpms/gkrellm-moon/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10192/FC-5

Modified Files:
	.cvsignore sources 
Added Files:
	gkrellm-moon.spec gkrellmoon-0.6-strcpy.patch 
Log Message:
Initial import.



--- NEW FILE gkrellm-moon.spec ---
%define gkplugindir %{_libdir}/gkrellm2/plugins

Summary: Moon clock plugin for GKrellM
Name: gkrellm-moon
Version: 0.6
Release: 2%{?dist}
License: GPL
Group: Applications/System
URL: http://gkrellmoon.sourceforge.net/
Source: http://dl.sf.net/gkrellmoon/gkrellmoon-%{version}.tar.gz
Patch0: gkrellmoon-0.6-strcpy.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: gkrellm >= 2.2.0
BuildRequires: gkrellm-devel >= 2.2.0

%description
A moon clock plugin for GKrellM.


%prep
%setup -q -n gkrellmoon-%{version}
%patch0 -p1 -b .strcpy


%build
%{__make} FLAGS='%{optflags} -fPIC $(GTK_INCLUDE)'


%install
%{__rm} -rf %{buildroot}
%{__install} -D -m 0755 gkrellmoon.so %{buildroot}%{gkplugindir}/gkrellmoon.so


%clean
%{__rm} -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%{gkplugindir}/gkrellmoon.so


%changelog
* Wed Feb 14 2007 Matthias Saou <http://freshrpms.net/> 0.6-2
- Tweak defattr.

* Mon Feb 12 2007 Matthias Saou <http://freshrpms.net/> 0.6-1
- Initial RPM release as a single plugin.
- Include trivial patch to remove strcpy related warnings.


gkrellmoon-0.6-strcpy.patch:

--- NEW FILE gkrellmoon-0.6-strcpy.patch ---
diff -Naupr gkrellmoon-0.6.orig/CalcEphem.h gkrellmoon-0.6/CalcEphem.h
--- gkrellmoon-0.6.orig/CalcEphem.h	2002-12-11 04:36:06.000000000 +0100
+++ gkrellmoon-0.6/CalcEphem.h	2007-02-12 15:10:03.000000000 +0100
@@ -13,6 +13,7 @@
 #include <glib.h>
 
 #include <stdio.h>
+#include <string.h>
 #include <math.h>
 
 #define DegPerRad       57.29577951308232087680


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gkrellm-moon/FC-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	3 Mar 2007 03:53:19 -0000	1.1
+++ .cvsignore	5 Mar 2007 15:08:49 -0000	1.2
@@ -0,0 +1 @@
+gkrellmoon-0.6.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gkrellm-moon/FC-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Mar 2007 03:53:19 -0000	1.1
+++ sources	5 Mar 2007 15:08:49 -0000	1.2
@@ -0,0 +1 @@
+0e30da51526d68cbce146ea2bdd9b685  gkrellmoon-0.6.tar.gz




More information about the fedora-extras-commits mailing list