diff --git a/README.md b/README.md index d887a1e..d013dd3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libwpe +General-purpose library specifically developed for the WPE-flavored port of WebKit. + diff --git a/libwpe.spec b/libwpe.spec new file mode 100644 index 0000000..eb995c1 --- /dev/null +++ b/libwpe.spec @@ -0,0 +1,70 @@ +Name: libwpe +Version: 1.6.0 +Release: 1mamba +Summary: General-purpose library specifically developed for the WPE-flavored port of WebKit +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/WebPlatformForEmbedded/libwpe +## GITSOURCE https://github.com/WebPlatformForEmbedded/libwpe.git 1.6.0 +Source: https://github.com/WebPlatformForEmbedded/libwpe.git/%{version}/libwpe-%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +BuildRequires: libxkbcommon-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +General-purpose library specifically developed for the WPE-flavored port of WebKit. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libwpe-1.0.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/wpe-1.0 +%dir %{_includedir}/wpe-1.0/wpe +%{_includedir}/wpe-1.0/wpe/*.h +%{_libdir}/libwpe-1.0.so +%{_libdir}/pkgconfig/wpe-1.0.pc +%doc NEWS + +%changelog +* Fri Mar 13 2020 Silvan Calarco 1.6.0-1mamba +- package created using the webbuild interface