From a264151250fd236c8cca6843e827290677018335 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:09:06 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.6.0-1mamba;Fri Mar 13 2020] --- README.md | 2 ++ libwpe.spec | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 libwpe.spec 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