rpms/gkrellm-timestamp/F-8 gkrellm-timestamp-0.1.4-makefile.patch, NONE, 1.1 gkrellm-timestamp.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Nikolay Vladimirov (turki) fedora-extras-commits at redhat.com
Sat Apr 19 08:34:32 UTC 2008


Author: turki

Update of /cvs/pkgs/rpms/gkrellm-timestamp/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7739/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	gkrellm-timestamp-0.1.4-makefile.patch gkrellm-timestamp.spec 
Log Message:


gkrellm-timestamp-0.1.4-makefile.patch:

--- NEW FILE gkrellm-timestamp-0.1.4-makefile.patch ---
--- Makefile.orig	2004-10-21 13:42:00.000000000 +0300
+++ Makefile	2008-02-26 00:03:44.000000000 +0200
@@ -4,8 +4,8 @@
 GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
 PLUGIN_DIR = $(HOME)/.gkrellm2/plugins
 
-CC = gcc
-CFLAGS = -Wall -O2 -fPIC $(GKRELLM_INCLUDE) $(GTK_INCLUDE)
+CC = gcc $(FLAGS)
+FLAGS = -fPIC $(GKRELLM_INCLUDE) $(GTK_INCLUDE)
 LFLAGS = -shared -Wl
 INSTALL = install -c
 


--- NEW FILE gkrellm-timestamp.spec ---
Name:           gkrellm-timestamp
Version:        0.1.4 
Release:        4%{?dist}
Summary:        UNIX timestamp clock plugin for GKrellM
Group:          Applications/System
License:        GPLv2+
URL:            http://arnhold.org/~thomas/projects/gkrellm-timestamp/
Source0:        http://arnhold.org/~thomas/projects/gkrellm-timestamp/%{name}-%{version}.tar.bz2
Patch0:         gkrellm-timestamp-0.1.4-makefile.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gkrellm-devel
Requires:       gkrellm 

%description
GkrellM Timestamp is a GkrellM plugin that
shows the current UNIX timestamp like the default clock.

%prep
%setup -q

touch -r Makefile Makefile.stamp
%patch0
touch -r Makefile.stamp Makefile

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


%install
rm -rf $RPM_BUILD_ROOT
install -Dpm 0755 timestamp.so  \
        $RPM_BUILD_ROOT%{_libdir}/gkrellm2/plugins/timestamp.so

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root, -)
%doc CHANGELOG LICENSE
%{_libdir}/gkrellm2/plugins/timestamp.so

%changelog
* Thu Feb 28 2008 Nikolay Vladimirov <nikolay at vladimiroff.com> 0.1.4-4
- Added SMP flags on build

* Mon Feb 25 2008 Nikolay Vladimirov <nikolay at vladimiroff.com> 0.1.4-3
- Added patch to fix Makefile(ignored optimization flags)

* Sun Aug 5 2007 Nikolay Vladimirov <nikolay at vladimiroff.com> 0.1.4-2
- Upstream added LICENSE

* Mon Jul 30 2007 Nikolay Vladimirov <nikolay at vladimiroff.com> 0.1.4-1
- initial rpm release


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gkrellm-timestamp/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	29 Mar 2008 18:41:16 -0000	1.1
+++ .cvsignore	19 Apr 2008 08:33:54 -0000	1.2
@@ -0,0 +1 @@
+gkrellm-timestamp-0.1.4.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gkrellm-timestamp/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	29 Mar 2008 18:41:16 -0000	1.1
+++ sources	19 Apr 2008 08:33:54 -0000	1.2
@@ -0,0 +1 @@
+155fe2f5d74bf6df7d5439b0b406e914  gkrellm-timestamp-0.1.4.tar.bz2




More information about the fedora-extras-commits mailing list