|
@@ -1,8 +1,9 @@
|
|
%define name lua
|
|
%define name lua
|
|
%define version 5.1.4
|
|
%define version 5.1.4
|
|
-%define release 5%{?_dist_release}
|
|
|
|
|
|
+%define release 6%{?_dist_release}
|
|
|
|
|
|
Summary: Lua is a powerful, light-weight programming language designed for extending applications.
|
|
Summary: Lua is a powerful, light-weight programming language designed for extending applications.
|
|
|
|
+Summary(ja): アプリケーション拡張向けに設計された強力かつ軽量なプログラミング言語
|
|
Name: %{name}
|
|
Name: %{name}
|
|
Version: %{version}
|
|
Version: %{version}
|
|
Release: %{release}
|
|
Release: %{release}
|
|
@@ -13,7 +14,8 @@ Group: Development/Languages
|
|
URL: http://www.lua.org/
|
|
URL: http://www.lua.org/
|
|
|
|
|
|
#Requires:
|
|
#Requires:
|
|
-BuildRequires: readline-devel, ncurses-devel
|
|
|
|
|
|
+BuildRequires: readline-devel
|
|
|
|
+BuildRequires: ncurses-devel
|
|
# apt-get remove readline-devel
|
|
# apt-get remove readline-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
@@ -36,30 +38,33 @@ Luaは拡張プログラミング言語である。データ記述機能を持
|
|
データ駆動型プログラミングもサポートしている。
|
|
データ駆動型プログラミングもサポートしている。
|
|
Luaは、パワフルで軽いコンフィギュレーション言語としての意図もあり、
|
|
Luaは、パワフルで軽いコンフィギュレーション言語としての意図もあり、
|
|
コンフィギュレーションが必要なあらゆるプログラムに使うことができる。
|
|
コンフィギュレーションが必要なあらゆるプログラムに使うことができる。
|
|
-Luaは クリーンな C (つまり、ANSI C と C++ の共通のサブセット) で書かれ、
|
|
|
|
|
|
+Luaはクリーンな C (つまり、ANSI C と C++ の共通のサブセット) で書かれ、
|
|
ライブラリとして実装されている。
|
|
ライブラリとして実装されている。
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
%package devel
|
|
Summary: Libraries and include files for Lua.
|
|
Summary: Libraries and include files for Lua.
|
|
-Group: Development/Languages
|
|
|
|
|
|
+Summary(ja): Lua の開発用ファイル
|
|
|
|
+Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
-Requires: ncurses-devel, pkgconfig
|
|
|
|
|
|
+Requires: ncurses-devel
|
|
|
|
+Requires: pkgconfig
|
|
|
|
|
|
%description devel
|
|
%description devel
|
|
Libraries and include files for Lua.
|
|
Libraries and include files for Lua.
|
|
|
|
|
|
%package static
|
|
%package static
|
|
-Summary: Static library for %{name}
|
|
|
|
-Group: System Environment/Libraries
|
|
|
|
-Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
+Summary: Static library for Lua
|
|
|
|
+Summary(ja): Lua の静的ライブラリ
|
|
|
|
+Group: Development/Libraries
|
|
|
|
+Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
|
|
%description static
|
|
%description static
|
|
This package contains the static version of liblua for %{name}.
|
|
This package contains the static version of liblua for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
-rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
+rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%setup -q
|
|
%setup -q
|
|
%patch0 -p1 -E
|
|
%patch0 -p1 -E
|
|
@@ -81,13 +86,17 @@ sed -i 's/-lreadline -lncurses //g' etc/lua.pc
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
-rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
|
|
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/lua/5.1
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/lua/5.1
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/lua/5.1
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/lua/5.1
|
|
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
-rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
+rm -rf $RPM_BUILD_ROOT
|
|
|
|
+
|
|
|
|
+%post -p /sbin/ldconfig
|
|
|
|
+
|
|
|
|
+%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
%files
|
|
@@ -114,6 +123,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Dec 30 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 5.1.4-6
|
|
|
|
+- added Japanese summary
|
|
|
|
+- moved devel and static subpackages to Development/Libraries Group
|
|
|
|
+
|
|
* Mon Dec 30 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 5.1.4-5
|
|
* Mon Dec 30 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 5.1.4-5
|
|
- build with current VineSeed
|
|
- build with current VineSeed
|
|
|
|
|