rpms/lua-rex/devel lrexlib-2.4.0-pmake.patch, NONE, 1.1 lua-rex.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Lubomir Rintel lkundrak at fedoraproject.org
Tue Dec 23 12:27:36 UTC 2008


Author: lkundrak

Update of /cvs/pkgs/rpms/lua-rex/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21838

Modified Files:
	.cvsignore sources 
Added Files:
	lrexlib-2.4.0-pmake.patch lua-rex.spec 
Log Message:
initial import

lrexlib-2.4.0-pmake.patch:

--- NEW FILE lrexlib-2.4.0-pmake.patch ---
Don't let build_* targets build common.o concurrently when
doing a Parallel make.

Lubomir Rintel <lkundrak at v3.sk>

diff -up lrexlib-2.4.0/Makefile.pmake lrexlib-2.4.0/Makefile
--- lrexlib-2.4.0/Makefile.pmake	2008-07-30 12:44:00.000000000 +0200
+++ lrexlib-2.4.0/Makefile	2008-12-17 19:09:13.000000000 +0100
@@ -14,6 +14,10 @@ test: test_pcre test_posix test_onig
 
 clean: clean_pcre clean_posix clean_onig
 
+build_pcre build_posix build_onig: build_common
+build_common:
+	make -C src -f common.mak common.o
+
 build_pcre:
 	make -C $(PCRE) -f rex_pcre.mak
 


--- NEW FILE lua-rex.spec ---
%define luaver %(pkg-config --variable=V lua || echo missing)
%define lualibdir %{_libdir}/lua/%{luaver}

Name:           lua-rex
Version:        2.4.0
Release:        2%{?dist}
Summary:        Regular expression handling library for Lua

Group:          Development/Libraries
License:        MIT
URL:            http://lrexlib.luaforge.net/
Source0:        http://luaforge.net/frs/download.php/3599/lrexlib-2.4.0.zip
Patch0:         lrexlib-2.4.0-pmake.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  oniguruma-devel
BuildRequires:  pcre-devel
BuildRequires:  lua-devel
BuildRequires:  pkgconfig
Requires:       lua = %{luaver}
Provides:       lrexlib = %{version}

%description
Lrexlib are bindings of three regular expression library APIs (POSIX, PCRE
and Oniguruma) to Lua.


%prep
%setup -q -n lrexlib-%{version}
%patch0 -p1 -b .pmake


%build
make %{?_smp_mflags} LD=cc MYCFLAGS="%{optflags}" build


%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{lualibdir}
cp -P */*/rex_{onig,pcre,posix}.so* $RPM_BUILD_ROOT%{lualibdir}


%check
make %{?_smp_mflags} test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%{lualibdir}/*
%doc ChangeLog LICENSE NEWS README doc


%changelog
* Wed Dec 17 2008 Lubomir Rintel <lkundrak at v3.sk> - 2.4.0-2
- Add doc directory to documentation
- Allow parallel make runs

* Tue Dec 16 2008 Lubomir Rintel <lkundrak at v3.sk> - 2.4.0-1
- Initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/lua-rex/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	21 Dec 2008 04:43:46 -0000	1.1
+++ .cvsignore	23 Dec 2008 12:27:06 -0000	1.2
@@ -0,0 +1 @@
+lrexlib-2.4.0.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/lua-rex/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 Dec 2008 04:43:46 -0000	1.1
+++ sources	23 Dec 2008 12:27:06 -0000	1.2
@@ -0,0 +1 @@
+c75d4164ac5036219eac87b488ded9b7  lrexlib-2.4.0.zip




More information about the fedora-extras-commits mailing list