summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2006-07-23 09:40:17 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitdb624cf675e3d70563a4b7b0948f087718dfb5d4 (patch)
treed032a9256fc72c49c5fd49947def79ed1c10ea4d
parent1ea66791c7a57ea7f26e41ff446b784694e1011a (diff)
downloadlua50-db624cf675e3d70563a4b7b0948f087718dfb5d4.zip
lua50-db624cf675e3d70563a4b7b0948f087718dfb5d4.tar.gz
- updated Makefile patch to install lua,luac manualsauto/th/lua50-5_0_3-2
- renamed .pc file to lua50.pc - release 2 Changed files: lua50.spec -> 1.28
-rw-r--r--lua50.spec17
1 files changed, 9 insertions, 8 deletions
diff --git a/lua50.spec b/lua50.spec
index 88d3aee..d42d768 100644
--- a/lua50.spec
+++ b/lua50.spec
@@ -6,7 +6,7 @@ Summary: A simple lightweight powerful embeddable programming language
Summary(pl): Prosty, lekki ale potężny, osadzalny język programowania
Name: lua50
Version: 5.0.3
-Release: 1
+Release: 2
License: MIT
Group: Development/Languages
Source0: http://www.lua.org/ftp/lua-%{version}.tar.gz
@@ -86,18 +86,16 @@ Static Lua libraries.
%description static -l pl
Biblioteki statyczne Lua.
-%if %{with luastatic}
%package luastatic
-Summary: Static Lua
+Summary: Static Lua interpreter
Summary(pl): Statycznie skonsolidowany interpreter lua
Group: Development/Languages
%description luastatic
-Static lua
+Static lua interpreter.
%description luastatic -l pl
Statycznie skonsolidowany interpreter lua.
-%endif
%prep
%setup -q -n lua-%{version}
@@ -149,7 +147,7 @@ install bin.static/luac $RPM_BUILD_ROOT%{_bindir}/luac50.static
# create pkgconfig file
install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
-cat > $RPM_BUILD_ROOT%{_pkgconfigdir}/lua.pc <<'EOF'
+cat > $RPM_BUILD_ROOT%{_pkgconfigdir}/lua50.pc <<'EOF'
prefix=%{_prefix}
exec_prefix=%{_exec_prefix}
includedir=%{_includedir}/%{name}
@@ -172,7 +170,10 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/lua*50
+%attr(755,root,root) %{_bindir}/lua50
+%attr(755,root,root) %{_bindir}/luac50
+%{_mandir}/man1/lua50.1*
+%{_mandir}/man1/luac50.1*
%files libs
%defattr(644,root,root,755)
@@ -184,7 +185,7 @@ rm -rf $RPM_BUILD_ROOT
%doc refman.ps.gz doc test
%attr(755,root,root) %{_libdir}/lib*.so
%{_includedir}/lua50
-%{_pkgconfigdir}/*.pc
+%{_pkgconfigdir}/lua50.pc
%files static
%defattr(644,root,root,755)