diff options
author | mjk <mjk@fedoraproject.org> | 2006-06-06 02:14:28 +0000 |
---|---|---|
committer | mjk <mjk@fedoraproject.org> | 2006-06-06 02:14:28 +0000 |
commit | 360b17c91f12d903e1ad0a62fbb221232afe30db (patch) | |
tree | c3694efcb8b9153c6721117d86e18b6d18ba98ea | |
parent | 5226d34add182cdb42f38d1f40f559223e3544d9 (diff) | |
download | lua-5_1-5_fc6.tar.gz lua-5_1-5_fc6.tar.xz lua-5_1-5_fc6.zip |
split out subpackage -devel.lua-5_1-5_fc6
added pkgconfig to -devel requires
-rw-r--r-- | lua.spec | 25 |
1 files changed, 21 insertions, 4 deletions
@@ -1,6 +1,6 @@ Name: lua Version: 5.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Powerful light-weight programming language Group: Development/Languages @@ -10,7 +10,6 @@ Source0: http://www.lua.org/ftp/lua-%{version}.tar.gz Patch0: lua-5.1-autotoolize-r1.patch.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: pkgconfig BuildRequires: readline-devel, ncurses-devel Provides: %{name}-devel = %{version}-%{release} @@ -24,6 +23,14 @@ is dynamically typed, interpreted from bytecodes, and has automatic memory management with garbage collection, making it ideal for configuration, scripting, and rapid prototyping. +%package devel +Summary: Development files for %{name} +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} +Requires: ncurses-devel, pkgconfig + +%description devel +This package contains development files for %{name}. %prep %setup -q @@ -43,6 +50,8 @@ make %{?_smp_mflags} rm -rf %{buildroot} %makeinstall +find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' + %clean rm -rf %{buildroot} @@ -51,14 +60,22 @@ rm -rf %{buildroot} %defattr(-,root,root,-) %doc COPYRIGHT HISTORY README doc/*.html doc/*.gif %{_bindir}/lua* +%{_libdir}/liblua-*.so +%{_mandir}/man1/lua*.1* + +%files devel +%defattr(-,root,root,-) %{_includedir}/l*.h %{_includedir}/l*.hpp -%{_libdir}/liblua*.* +%{_libdir}/liblua.so +%{_libdir}/*.a %{_libdir}/pkgconfig/*.pc -%{_mandir}/man1/lua*.1* %changelog +* Tue Jun 06 2006 Michael J. Knox <michael[AT]knox.net.nz> - 5.1-5 +- split out devel subpackage + * Thu Jun 01 2006 Michael J. Knox <michael[AT]knox.net.nz> - 5.1-4 - added Requires for pkgconfig BZ#193674 |