71 lines
1.8 KiB
RPMSpec
71 lines
1.8 KiB
RPMSpec
|
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 <silvan.calarco@mambasoft.it>
|
||
|
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 <silvan.calarco@mambasoft.it> 1.6.0-1mamba
|
||
|
- package created using the webbuild interface
|