forked from pool/lua-luasocket
Accepting request 684689 from home:mnhauke:branches:devel:languages:lua
- Create subpackage -devel * Package header files - Drop lua52-luasocket to obsolete lua52 from distribution - Create subpackage -devel * Package header files - Drop lua52-luasocket to obsolete lua52 from distribution - Create subpackage -devel * Package header files OBS-URL: https://build.opensuse.org/request/show/684689 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luasocket?expand=0&rev=16
This commit is contained in:
committed by
Git OBS Bridge
parent
70391ee0a8
commit
923508069e
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 12 20:27:47 UTC 2019 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Create subpackage -devel
|
||||
* Package header files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 31 14:06:18 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
- Drop lua52-luasocket to obsolete lua52 from distribution
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 16 08:39:37 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lua-luasocket
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@@ -46,6 +46,15 @@ that deal with the Internet.
|
||||
Among the support modules, the most commonly used implement the SMTP, HTTP
|
||||
and FTP. In addition there are modules for MIME, URL handling and LTN12.
|
||||
|
||||
%package devel
|
||||
Summary: Header files for %{flavor}-%{mod_name}
|
||||
Group: Development/Languages/Other
|
||||
Requires: %{flavor}-%{mod_name} = %{version}
|
||||
|
||||
%description devel
|
||||
This subpackage contains header files for developing applications that
|
||||
want to make use of %{flavor}-%{mod_name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{mod_name}-%{version}
|
||||
%patch0 -p1
|
||||
@@ -58,9 +67,14 @@ make %{?_smp_mflags} OPTFLAGS="%{optflags} -fPIC -I%{lua_incdir}" linux
|
||||
%install
|
||||
make install-unix OPTFLAGS="%{optflags}" INSTALL_TOP=%{buildroot} INSTALL_TOP_CDIR=%{buildroot}%{lua_archdir} INSTALL_TOP_LDIR=%{buildroot}%{lua_noarchdir}
|
||||
|
||||
# install development files
|
||||
install -d %{buildroot}%{lua_incdir}
|
||||
install -p -m 0644 src/*.h %{buildroot}%{lua_incdir}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc doc/*
|
||||
%doc README LICENSE
|
||||
%doc README
|
||||
%{lua_archdir}/mime
|
||||
%{lua_archdir}/socket
|
||||
%{lua_noarchdir}/ltn12.lua
|
||||
@@ -68,4 +82,7 @@ make install-unix OPTFLAGS="%{optflags}" INSTALL_TOP=%{buildroot} INSTALL_TOP_CD
|
||||
%{lua_noarchdir}/socket.lua
|
||||
%{lua_noarchdir}/socket/
|
||||
|
||||
%files devel
|
||||
%{lua_incdir}/*.h
|
||||
|
||||
%changelog
|
||||
|
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 12 20:27:47 UTC 2019 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Create subpackage -devel
|
||||
* Package header files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 31 14:06:18 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
- Drop lua52-luasocket to obsolete lua52 from distribution
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 16 08:39:37 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lua51-luasocket
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@@ -46,6 +46,15 @@ that deal with the Internet.
|
||||
Among the support modules, the most commonly used implement the SMTP, HTTP
|
||||
and FTP. In addition there are modules for MIME, URL handling and LTN12.
|
||||
|
||||
%package devel
|
||||
Summary: Header files for %{flavor}-%{mod_name}
|
||||
Group: Development/Languages/Other
|
||||
Requires: %{flavor}-%{mod_name} = %{version}
|
||||
|
||||
%description devel
|
||||
This subpackage contains header files for developing applications that
|
||||
want to make use of %{flavor}-%{mod_name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{mod_name}-%{version}
|
||||
%patch0 -p1
|
||||
@@ -58,9 +67,14 @@ make %{?_smp_mflags} OPTFLAGS="%{optflags} -fPIC -I%{lua_incdir}" linux
|
||||
%install
|
||||
make install-unix OPTFLAGS="%{optflags}" INSTALL_TOP=%{buildroot} INSTALL_TOP_CDIR=%{buildroot}%{lua_archdir} INSTALL_TOP_LDIR=%{buildroot}%{lua_noarchdir}
|
||||
|
||||
# install development files
|
||||
install -d %{buildroot}%{lua_incdir}
|
||||
install -p -m 0644 src/*.h %{buildroot}%{lua_incdir}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc doc/*
|
||||
%doc README LICENSE
|
||||
%doc README
|
||||
%{lua_archdir}/mime
|
||||
%{lua_archdir}/socket
|
||||
%{lua_noarchdir}/ltn12.lua
|
||||
@@ -68,4 +82,7 @@ make install-unix OPTFLAGS="%{optflags}" INSTALL_TOP=%{buildroot} INSTALL_TOP_CD
|
||||
%{lua_noarchdir}/socket.lua
|
||||
%{lua_noarchdir}/socket/
|
||||
|
||||
%files devel
|
||||
%{lua_incdir}/*.h
|
||||
|
||||
%changelog
|
||||
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 12 20:27:47 UTC 2019 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Create subpackage -devel
|
||||
* Package header files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 31 14:06:18 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lua53-luasocket
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@@ -46,6 +46,15 @@ that deal with the Internet.
|
||||
Among the support modules, the most commonly used implement the SMTP, HTTP
|
||||
and FTP. In addition there are modules for MIME, URL handling and LTN12.
|
||||
|
||||
%package devel
|
||||
Summary: Header files for %{flavor}-%{mod_name}
|
||||
Group: Development/Languages/Other
|
||||
Requires: %{flavor}-%{mod_name} = %{version}
|
||||
|
||||
%description devel
|
||||
This subpackage contains header files for developing applications that
|
||||
want to make use of %{flavor}-%{mod_name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{mod_name}-%{version}
|
||||
%patch0 -p1
|
||||
@@ -58,9 +67,14 @@ make %{?_smp_mflags} OPTFLAGS="%{optflags} -fPIC -I%{lua_incdir}" linux
|
||||
%install
|
||||
make install-unix OPTFLAGS="%{optflags}" INSTALL_TOP=%{buildroot} INSTALL_TOP_CDIR=%{buildroot}%{lua_archdir} INSTALL_TOP_LDIR=%{buildroot}%{lua_noarchdir}
|
||||
|
||||
# install development files
|
||||
install -d %{buildroot}%{lua_incdir}
|
||||
install -p -m 0644 src/*.h %{buildroot}%{lua_incdir}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc doc/*
|
||||
%doc README LICENSE
|
||||
%doc README
|
||||
%{lua_archdir}/mime
|
||||
%{lua_archdir}/socket
|
||||
%{lua_noarchdir}/ltn12.lua
|
||||
@@ -68,4 +82,7 @@ make install-unix OPTFLAGS="%{optflags}" INSTALL_TOP=%{buildroot} INSTALL_TOP_CD
|
||||
%{lua_noarchdir}/socket.lua
|
||||
%{lua_noarchdir}/socket/
|
||||
|
||||
%files devel
|
||||
%{lua_incdir}/*.h
|
||||
|
||||
%changelog
|
||||
|
@@ -2,7 +2,6 @@
|
||||
name="luasocket"
|
||||
variants=(
|
||||
"lua51"
|
||||
"lua52"
|
||||
"lua53"
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user