diff --git a/.cvsignore b/.cvsignore index e69de29..e9c9149 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +gkrellsun-1.0.0.tar.gz diff --git a/gkrellm-sun.spec b/gkrellm-sun.spec new file mode 100644 index 0000000..fecb01e --- /dev/null +++ b/gkrellm-sun.spec @@ -0,0 +1,50 @@ +%define gkplugindir %{_libdir}/gkrellm2/plugins + +Summary: Sun clock plugin for GKrellM +Name: gkrellm-sun +Version: 1.0.0 +Release: 2%{?dist} +License: GPL +Group: Applications/System +URL: http://gkrellsun.sourceforge.net/ +Source: http://dl.sf.net/gkrellsun/gkrellsun-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +Requires: gkrellm >= 2.2.0 +BuildRequires: gkrellm-devel >= 2.2.0 + +%description +A sun clock plugin for GKrellM which can display the sun's setting time, rising +time, path and current location and so on. + + +%prep +%setup -q -n gkrellsun-%{version} + + +%build +%{__make} FLAGS='%{optflags} -fPIC $(GTK_INCLUDE)' + + +%install +%{__rm} -rf %{buildroot} +%{__install} -D -m 0755 src20/gkrellsun.so \ + %{buildroot}%{gkplugindir}/gkrellsun.so + + +%clean +%{__rm} -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README +%{gkplugindir}/gkrellsun.so + + +%changelog +* Wed Feb 14 2007 Matthias Saou 1.0.0-2 +- Tweak defattr. + +* Mon Feb 12 2007 Matthias Saou 1.0.0-1 +- Initial RPM release as a single plugin. + diff --git a/sources b/sources index e69de29..f7c05f8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fbbf5c23a3966b2e16a2bab19a0885b7 gkrellsun-1.0.0.tar.gz