package created using the webbuild interface [release 1.0.0-1mamba;Sun Mar 10 2024]
This commit is contained in:
parent
50f56b7b8a
commit
f4616e0e36
@ -1,2 +1,4 @@
|
|||||||
# mpvqt
|
# mpvqt
|
||||||
|
|
||||||
|
MpvQt is a libmpv wrapper for QtQuick2 and QML.
|
||||||
|
|
||||||
|
84
mpvqt.spec
Normal file
84
mpvqt.spec
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
%define framework %(echo %name | sed "s|^kf6-||")
|
||||||
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
|
|
||||||
|
Name: mpvqt
|
||||||
|
Version: 1.0.0
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A libmpv wrapper for QtQuick2 and QML.
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://kde.org
|
||||||
|
Source: https://download.kde.org/stable/mpvqt/mpvqt-%{version}.tar.xz
|
||||||
|
License: LGPL, MIT, BSD
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libglvnd-devel
|
||||||
|
BuildRequires: libmpv-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: qt6-qtbase-devel
|
||||||
|
BuildRequires: qt6-qtdeclarative-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: kf6-rpm-macros
|
||||||
|
BuildRequires: extra-cmake-modules
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description
|
||||||
|
MpvQt is a libmpv wrapper for QtQuick2 and QML.
|
||||||
|
|
||||||
|
%package -n lib%{name}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: A libmpv wrapper for QtQuick2 and QML.
|
||||||
|
|
||||||
|
%description -n lib%{name}
|
||||||
|
MpvQt is a libmpv wrapper for QtQuick2 and QML.
|
||||||
|
This package contains shared libraries for %{name}.
|
||||||
|
|
||||||
|
%package -n lib%{name}-devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n lib%{name}-devel
|
||||||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake_kf6
|
||||||
|
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%cmake_install
|
||||||
|
|
||||||
|
%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}/libMpvQt.so.*
|
||||||
|
%doc LICENSES
|
||||||
|
|
||||||
|
%files -n lib%{name}-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/MpvQt
|
||||||
|
%{_includedir}/MpvQt/*
|
||||||
|
%{_libdir}/libMpvQt.so
|
||||||
|
%dir %{_libdir}/cmake/MpvQt
|
||||||
|
%{_libdir}/cmake/MpvQt/FindLibmpv.cmake
|
||||||
|
%{_libdir}/cmake/MpvQt/MpvQt*.cmake
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Mar 10 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user