rpms/logserial/devel logserial-makefile.patch, NONE, 1.1 logserial.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Manuel Wolfshant (wolfy) fedora-extras-commits at redhat.com
Mon Nov 13 22:47:03 UTC 2006


Author: wolfy

Update of /cvs/extras/rpms/logserial/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21968/devel

Modified Files:
	.cvsignore sources 
Added Files:
	logserial-makefile.patch logserial.spec 
Log Message:
auto-import logserial-0.4.2-3 on branch devel from logserial-0.4.2-3.src.rpm

logserial-makefile.patch:

--- NEW FILE logserial-makefile.patch ---
--- Makefile	2003-04-12 19:41:07.000000000 +0300
+++ Makefile.new	2006-11-13 14:26:51.000000000 +0200
@@ -15,7 +15,8 @@ OBJS= logserial.o sysdep1.o
 OPTIMIZE= -O3 -m486 -Wall -D_POSIX -D_SYSV -D_SELECT -D_HAVE_MACROS
 DEBUG_FLAGS= #-g 
 
-CFLAGS= $(DEBUG_FLAGS) $(OPTIMIZE)
+#CFLAGS= $(DEBUG_FLAGS) $(OPTIMIZE)
+CFLAGS= -D_POSIX $(RPM_OPT_FLAGS)
 
 all: $(NAME)
 


--- NEW FILE logserial.spec ---
Name:           logserial
Version:        0.4.2 
Release:        3%{?dist}
Summary:        Package for logging incoming bytes on asynchronous serial ports

Group:          Applications/Communications
License:        GPL
URL:            http://www.ibiblio.org/pub/Linux/system/serial/logserial-0.4.2.lsm
Source0:        http://www.ibiblio.org/pub/Linux/system/serial/logserial-0.4.2.tar.gz
Patch0:         logserial-makefile.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
Package for logging incoming bytes on asynchronous serial ports.
It was written for loging calls on our telephone central, but
you can use it for any devices connected to serial ports. From
version 0.4 it can be used to send data through serial line.

%prep
%setup -q
%patch -p0


%build

echo $RPM_OPT_FLAGS
echo $CFLAGS
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
install -p -D -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc CHANGELOG README
%{_bindir}/%{name}




%changelog
* Mon Nov 13 2006 lonely wolf <wolfy at pcnet.ro> 0.4.2-3
- corrected the patch to make use of $RPM_OPT_FLAGS

* Sun Nov 12 2006 lonely wolf <wolfy at pcnet.ro> 0.4.2-2
- Modify the Makefile to make use of $RPM_OPT_FLAGS

* Mon Nov 07 2006 lonely wolf <wolfy at pcnet.ro> 0.4.2-1
- Initial Fedora package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/logserial/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	13 Nov 2006 22:45:19 -0000	1.1
+++ .cvsignore	13 Nov 2006 22:46:32 -0000	1.2
@@ -0,0 +1 @@
+logserial-0.4.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/logserial/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Nov 2006 22:45:19 -0000	1.1
+++ sources	13 Nov 2006 22:46:32 -0000	1.2
@@ -0,0 +1 @@
+833fff07602e4a21f447aa194d14ecd8  logserial-0.4.2.tar.gz




More information about the scm-commits mailing list