update to 22.04.0 [release 22.04.0-1mamba;Sun Apr 24 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 01:15:48 +01:00
parent 45d72addf2
commit 95e600c11f

View File

@ -1,14 +1,14 @@
%define majver %(echo %version | cut -d . -f1-2)
Name: kdevelop
Version: 5.6.2
Release: 2mamba
Version: 22.04.0
Release: 1mamba
Summary: Integrated Development Environment for KDE
Group: Graphical Desktop/Applications/Development
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.kdevelop.org/
Source: http://download.kde.org/stable/kdevelop/%{version}/src/kdevelop-%{version}.tar.xz
Source: http://mirror.freedif.org/KDE/ftp/stable/release-service/%{version}/src/kdevelop-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -68,9 +68,7 @@ BuildRequires: qt5-qttools-devel
BuildRequires: subversion-devel
## AUTOBUILDREQ-END
BuildRequires: llvm-devel >= 13.0.0
BuildRequires: libksysguard-devel >= 5.19.0
BuildRequires: okteta-devel >= 1:0.26.4
#BuildRequires: kdevplatform >= %{majver}
Requires: make
Requires: cvs
Requires: git
@ -91,6 +89,7 @@ Group: Development/Applications
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: kdevelop4-devel
Obsoletes: kdevelop4-devel < 5.6.2
Obsoletes: kdevplatform < 22.04.0
%description devel
An integrated development environment (IDE) that allows you to develop, build and debug KDE/Qt, GNOME, plain C and C++ projects.
@ -110,44 +109,7 @@ This package contains development files for for %{name}.
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall -C build
# build the list of files for the main package
find %{buildroot} \( -type f -or -type l \) \
\( -path "%{buildroot}%{_kdebindir}/*" -or \
-path "%{buildroot}%{_kdedatadir}/*" -or \
-path "%{buildroot}%{_kdelibdir}/*.so.*" -or \
-path "%{buildroot}%{_kdelibdir}/kde3/*" \
\) | sed "s|^%{buildroot}||" > filelist.nodevel
find %{buildroot}%{_datadir} -type d \
\( -path "%{buildroot}%{_kdedatadir}/doc/HTML/en/*" -or \
-path "%{buildroot}%{_kdedatadir}/apps/*" \
\) | sed "s|^%{buildroot}|\%attr(-,root,root) \%dir |" >> filelist.nodevel
# build the list of header files
find %{buildroot}%{_kdeincludedir} -type f -or -type l -name "*.h" | \
sed "s|^%{buildroot}||" > filelist.devel
find %{buildroot}%{_kdeincludedir}/* -type d | \
sed "s|^%{buildroot}|\%attr(-,root,root) \%dir |" >> filelist.devel
# put the .so and .la library files in the right package
find %{buildroot}%{_kdelibdir} -maxdepth 1 \
\( -type f -or -type l \) -name "*.so" | \
sed "s|^%{buildroot}||" > libso.list
while read libso; do
if [ -L $libso ]; then
echo "$libso" >> filelist.devel
[ -e %{buildroot}${libso/\.so/.la} ] &&
echo "${libso/\.so/.la}" >> filelist.devel
else
echo "$libso" >> filelist.nodevel
[ -e %{buildroot}${libso/\.so/.la} ] &&
echo "${libso/\.so/.la}" >> filelist.nodevel
fi
done < libso.list
%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -207,8 +169,6 @@ done < libso.list
%{_datadir}/icons/hicolor/*/actions/*.png
%{_datadir}/icons/hicolor/scalable/actions/*.svg
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%dir %{_kde5_htmldir}/en/kdevelop
%{_kde5_htmldir}/en/kdevelop/*
%dir %{_libdir}/cmake/KDevelop
%{_libdir}/cmake/KDevelop/KDevelop*.cmake
@ -223,6 +183,9 @@ done < libso.list
%{_libdir}/cmake/KDevPlatform/KDevPlatform*.cmake
%changelog
* Sun Apr 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 22.04.0-1mamba
- update to 22.04.0
* Wed Nov 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.2-2mamba
- rebuilt with clang 13.0.0