fix
This commit is contained in:
@@ -14,8 +14,10 @@ Release: %autorelease
|
||||
Summary: KDE version of xdialog
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://apps.kde.org/kdialog
|
||||
VCS: git:https://invent.kde.org/utilities/kdialog
|
||||
#!RemoteAsset
|
||||
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version}
|
||||
|
||||
@@ -26,16 +26,9 @@ BuildRequires: qt6-linguist
|
||||
%description
|
||||
Attica is a library to access Open Collaboration Service servers.
|
||||
|
||||
%package -n libKF6Attica6
|
||||
Summary: Open Collaboration Service client library
|
||||
Requires: kf6-attica >= %{version}
|
||||
|
||||
%description -n libKF6Attica6
|
||||
Attica is a library to access Open Collaboration Service servers.
|
||||
|
||||
%package devel
|
||||
Summary: Open Collaboration Service client library - development files
|
||||
Requires: libKF6Attica6 = %{version}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: cmake(Qt6Core) >= %{qt6_version}
|
||||
Requires: cmake(Qt6Network) >= %{qt6_version}
|
||||
|
||||
@@ -55,15 +48,21 @@ Development files for attica, a library to access Open Collaboration Service ser
|
||||
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%ldconfig_scriptlets -n libKF6Attica6
|
||||
# todo: fix the name error.
|
||||
# Avoid illegal package names
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@*
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en_GB/
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en/
|
||||
# Use langpacks macro to auto-split translations
|
||||
%find_lang %{name} --with-qt --all-name --generate-subpackages
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%license LICENSES/*
|
||||
%doc README.md
|
||||
%{_kf6_debugdir}/attica.categories
|
||||
%{_kf6_debugdir}/attica.renamecategories
|
||||
|
||||
%files -n libKF6Attica6
|
||||
%license LICENSES/*
|
||||
%{_kf6_libdir}/libKF6Attica.so.*
|
||||
|
||||
%files devel
|
||||
|
||||
@@ -31,6 +31,7 @@ BuildRequires: pkgconfig(vulkan)
|
||||
BuildSystem: meson
|
||||
BuildOption: -Dglslang=disabled
|
||||
BuildOption: -Dd3d11=disabled
|
||||
BuildOption: -Ddovi=disabled
|
||||
|
||||
%description
|
||||
This library contains GPU-accelerated video/image rendering
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
%define pythons python3
|
||||
|
||||
Name: python-glad2
|
||||
Version: 2.0.8
|
||||
Release: 0
|
||||
Summary: Command line utility to load/generate multi-language GL/GLES/EGL/GLX/WGL code
|
||||
License: MIT
|
||||
URL: https://github.com/Dav1dde/glad
|
||||
|
||||
Source0: https://files.pythonhosted.org/packages/source/g/glad2/glad2-%{version}.tar.gz
|
||||
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-setuptools > 61.0
|
||||
BuildRequires: python3-wheel
|
||||
Requires: python3-Jinja2
|
||||
Provides: glad
|
||||
Obsoletes: python311-glad2 < %{version}
|
||||
Obsoletes: python312-glad2 < %{version}
|
||||
Obsoletes: python313-glad2 < %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
|
||||
%description
|
||||
Glad is a command line utility to generate GL/GLES/EGL/GLX/WGL loader code
|
||||
based on the official specifications for using as bundled source code with
|
||||
apps.
|
||||
|
||||
%prep
|
||||
%autosetup -n glad2-%{version}
|
||||
sed -Ei "1{\@%{_bindir}/env python@d}" glad/__main__.py
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%fdupes %{buildroot}%{python3_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/glad
|
||||
%{python3_sitelib}/glad/
|
||||
%{python3_sitelib}/glad2-%{version}*.*-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user