wpebackend-fdo/wpebackend-fdo.spec

94 lines
2.6 KiB
RPMSpec

Name: wpebackend-fdo
Version: 1.8.0
Release: 1mamba
Summary: fdo backend for libwpe
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/Igalia/WPEBackend-fdo.git
## GITSOURCE https://github.com/Igalia/WPEBackend-fdo.git 1.6.0
Source: https://github.com/Igalia/WPEBackend-fdo.git/%{version}/WPEBackend-fdo-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libGL-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libstdc++6-devel
BuildRequires: libwayland-devel
BuildRequires: libwayland-egl-devel
BuildRequires: libwpe-devel
BuildRequires: libxkbcommon-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
fdo backend for libwpe.
%package -n lib%{name}
Group: System/Libraries
Summary: fdo backend for libwpe.
%description -n lib%{name}
fdo backend for libwpe.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n WPEBackend-fdo-%{version}
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libWPEBackend-fdo-1.0.so.*
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/wpe-fdo-1.0
%dir %{_includedir}/wpe-fdo-1.0/wpe
%{_includedir}/wpe-fdo-1.0/wpe/*.h
%dir %{_includedir}/wpe-fdo-1.0/wpe/extensions
%{_includedir}/wpe-fdo-1.0/wpe/extensions/*.h
%dir %{_includedir}/wpe-fdo-1.0/wpe/unstable
%{_includedir}/wpe-fdo-1.0/wpe/unstable/*.h
%{_libdir}/libWPEBackend-fdo-1.0.so
%{_libdir}/pkgconfig/wpebackend-fdo-1.0.pc
%doc NEWS
%changelog
* Thu Sep 24 2020 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
- automatic version update by autodist
* Sat Jun 20 2020 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
- automatic version update by autodist
* Fri Mar 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-1mamba
- package created using the webbuild interface