split out subpackage -devel.
added pkgconfig to -devel requires
This commit is contained in:
parent
5226d34add
commit
360b17c91f
25
lua.spec
25
lua.spec
@ -1,6 +1,6 @@
|
|||||||
Name: lua
|
Name: lua
|
||||||
Version: 5.1
|
Version: 5.1
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Powerful light-weight programming language
|
Summary: Powerful light-weight programming language
|
||||||
|
|
||||||
Group: Development/Languages
|
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
|
Patch0: lua-5.1-autotoolize-r1.patch.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
Requires: pkgconfig
|
|
||||||
BuildRequires: readline-devel, ncurses-devel
|
BuildRequires: readline-devel, ncurses-devel
|
||||||
Provides: %{name}-devel = %{version}-%{release}
|
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
|
memory management with garbage collection, making it ideal for
|
||||||
configuration, scripting, and rapid prototyping.
|
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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -43,6 +50,8 @@ make %{?_smp_mflags}
|
|||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
%makeinstall
|
%makeinstall
|
||||||
|
|
||||||
|
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
@ -51,14 +60,22 @@ rm -rf %{buildroot}
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYRIGHT HISTORY README doc/*.html doc/*.gif
|
%doc COPYRIGHT HISTORY README doc/*.html doc/*.gif
|
||||||
%{_bindir}/lua*
|
%{_bindir}/lua*
|
||||||
|
%{_libdir}/liblua-*.so
|
||||||
|
%{_mandir}/man1/lua*.1*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
%{_includedir}/l*.h
|
%{_includedir}/l*.h
|
||||||
%{_includedir}/l*.hpp
|
%{_includedir}/l*.hpp
|
||||||
%{_libdir}/liblua*.*
|
%{_libdir}/liblua.so
|
||||||
|
%{_libdir}/*.a
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_mandir}/man1/lua*.1*
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jun 01 2006 Michael J. Knox <michael[AT]knox.net.nz> - 5.1-4
|
||||||
- added Requires for pkgconfig BZ#193674
|
- added Requires for pkgconfig BZ#193674
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user