diff --git a/duktape.spec b/duktape.spec index 168a2b7..1df9c39 100644 --- a/duktape.spec +++ b/duktape.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define sover 201 Name: duktape Version: 2.1.0 @@ -29,13 +30,12 @@ BuildRequires: gcc BuildRequires: pkgconfig %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. %package -n lib%{name}%{sover} Summary: The core library for %{name} Group: System/Libraries -Provides: libduktaped%{sover} = %{version} %description -n lib%{name}%{sover} 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 %files -n lib%{name}%{sover} +%defattr(-,root,root) %doc AUTHORS.rst LICENSE.txt %{_libdir}/libduktape.so.* %{_libdir}/libduktaped.so.* %files devel +%defattr(-,root,root) %{_includedir}/duk_config.h %{_includedir}/duktape.h %{_libdir}/libduktape.so