rpms/sgpio/F-11 sgpio-1.2-makefile.patch, NONE, 1.1 sgpio.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Jiří Moskovčák
jmoskovc at fedoraproject.org
Fri May 22 08:55:58 UTC 2009
- Previous message (by thread): rpms/ftgl/devel ftgl-2.1.3-rc5-ttf_font.patch, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.3, 1.4 ftgl.spec, 1.7, 1.8 sources, 1.3, 1.4 ftgl-2.1.2-Glyph-g++_41.patch, 1.1, NONE ftgl-2.1.2-destdir.patch, 1.1, NONE ftgl-2.1.2-pc_req.patch, 1.1, NONE ftgl-2.1.2-rpath_FTGLDemo.patch, 1.1, NONE ftgl-2.1.2-ttf_font.patch, 1.2, NONE
- Next message (by thread): rpms/me-tv/devel import.log,1.1,1.2 me-tv.spec,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jmoskovc
Update of /cvs/extras/rpms/sgpio/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4654
Modified Files:
.cvsignore sources
Added Files:
sgpio-1.2-makefile.patch sgpio.spec
Log Message:
Initial commit
sgpio-1.2-makefile.patch:
--- NEW FILE sgpio-1.2-makefile.patch ---
--- sgpio/Makefile.orig 2008-10-29 09:55:50.000000000 +0100
+++ sgpio/Makefile 2008-10-29 09:59:00.000000000 +0100
@@ -23,12 +23,15 @@
MANDIR ?= /usr/local/man
+SBIN_DIR = /sbin
+INSTALL =/usr/bin/install -c
ALL = sgpio
+CFLAGS = -g -Wall
all: $(ALL)
sgpio.o: sgpio.c
- gcc -g -Wall -c sgpio.c
+ gcc $(CFLAGS) -c sgpio.c
sgpio: sgpio.o
gcc -g sgpio.o -o sgpio
@@ -38,10 +41,10 @@ clean:
install: $(ALL)
for i in $(ALL); do \
- install $$i /sbin/$$i; \
+ $(INSTALL) -D $$i $(SBIN_DIR)/$$i; \
done
- install -d $(MANDIR)/man1
- install -m 0644 *.1 $(MANDIR)/man1
+ $(INSTALL) -d $(MANDIR)/man1
+ $(INSTALL) -m 0644 *.1 $(MANDIR)/man1
uninstall:
for i in $(ALL); do \
--- NEW FILE sgpio.spec ---
Summary: SGPIO captive backplane tool
Name: sgpio
Version: 1.2.0.10
Release: 2%{?dist}
License: GPLv2+
Group: System Environment/Base
URL: http://sources.redhat.com/lvm2/wiki/DMRAID_Eventing
Source: sgpio-1.2-0.10-src.tar.gz
# there is no official download link for the latest package
#Source: http://sources.redhat.com/lvm2/wiki/DMRAID_Eventing?action=AttachFile&do=get&target=sgpio-1.2.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Patch0: sgpio-1.2-makefile.patch
BuildRequires: dos2unix
%description
Intel SGPIO enclosure management utility
%prep
%setup -q -n sgpio
%patch0 -p1 -b .makefile
dos2unix --keepdate README
chmod a-x *
%build
#@@@ workaround for #474755 - remove with next update
make clean
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUILD_ROOT/sbin MANDIR=$RPM_BUILD_ROOT%{_mandir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root, -)
%doc README
/sbin/sgpio
%{_mandir}/man1/sgpio.*
%changelog
* Tue Apr 14 2009 Jiri Moskovcak <jmoskovc at redhat.com> 1.2.0.10-2
- move the EOL conversion and the removal of
executable bits from %%install to %%prep section
* Wed Dec 10 2008 Jiri Moskovcak <jmoskovc at redhat.com> 1.2.0_10-1
- initial Fedora release
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/sgpio/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 17 Apr 2009 21:41:11 -0000 1.1
+++ .cvsignore 22 May 2009 08:55:28 -0000 1.2
@@ -0,0 +1 @@
+sgpio-1.2-0.10-src.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/sgpio/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 17 Apr 2009 21:41:11 -0000 1.1
+++ sources 22 May 2009 08:55:28 -0000 1.2
@@ -0,0 +1 @@
+a417bf68da4e9bd79a4664c11d7debd1 sgpio-1.2-0.10-src.tar.gz
- Previous message (by thread): rpms/ftgl/devel ftgl-2.1.3-rc5-ttf_font.patch, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.3, 1.4 ftgl.spec, 1.7, 1.8 sources, 1.3, 1.4 ftgl-2.1.2-Glyph-g++_41.patch, 1.1, NONE ftgl-2.1.2-destdir.patch, 1.1, NONE ftgl-2.1.2-pc_req.patch, 1.1, NONE ftgl-2.1.2-rpath_FTGLDemo.patch, 1.1, NONE ftgl-2.1.2-ttf_font.patch, 1.2, NONE
- Next message (by thread): rpms/me-tv/devel import.log,1.1,1.2 me-tv.spec,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list