This commit is contained in:
parent
436082f4e0
commit
3945e2050b
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define sover 201
|
%define sover 201
|
||||||
Name: duktape
|
Name: duktape
|
||||||
Version: 2.1.0
|
Version: 2.1.0
|
||||||
@ -29,13 +30,12 @@ BuildRequires: gcc
|
|||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Duktape is an embeddable Javascript engine, with a focus on portability and
|
Duktape is an embeddable Javascript engine, with a focus on portability and
|
||||||
compact footprint.
|
compact footprint.
|
||||||
|
|
||||||
%package -n lib%{name}%{sover}
|
%package -n lib%{name}%{sover}
|
||||||
Summary: The core library for %{name}
|
Summary: The core library for %{name}
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: libduktaped%{sover} = %{version}
|
|
||||||
|
|
||||||
%description -n lib%{name}%{sover}
|
%description -n lib%{name}%{sover}
|
||||||
Embeddable Javascript engine.
|
Embeddable Javascript engine.
|
||||||
@ -79,11 +79,13 @@ install -Dm0644 %{name}.pc.in %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
|
|||||||
%postun -n lib%{name}%{sover} -p /sbin/ldconfig
|
%postun -n lib%{name}%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n lib%{name}%{sover}
|
%files -n lib%{name}%{sover}
|
||||||
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS.rst LICENSE.txt
|
%doc AUTHORS.rst LICENSE.txt
|
||||||
%{_libdir}/libduktape.so.*
|
%{_libdir}/libduktape.so.*
|
||||||
%{_libdir}/libduktaped.so.*
|
%{_libdir}/libduktaped.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
%{_includedir}/duk_config.h
|
%{_includedir}/duk_config.h
|
||||||
%{_includedir}/duktape.h
|
%{_includedir}/duktape.h
|
||||||
%{_libdir}/libduktape.so
|
%{_libdir}/libduktape.so
|
||||||
|
Loading…
Reference in New Issue
Block a user