automatic version update by autodist [release 24.02.1-1mamba;Mon Mar 25 2024]
This commit is contained in:
parent
48a950bd0a
commit
4677039242
52
kompare.spec
52
kompare.spec
@ -1,5 +1,5 @@
|
||||
Name: kompare
|
||||
Version: 23.08.5
|
||||
Version: 24.02.1
|
||||
Release: 1mamba
|
||||
Summary: A program to view the differences between files
|
||||
Group: Graphical Desktop/Applications/Utilities
|
||||
@ -7,7 +7,7 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://kde.org/
|
||||
Source: http://download.kde.org/stable/release-service/%{version}/src/kompare-%{version}.tar.xz
|
||||
Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/kompare-%{version}.tar.xz
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
@ -60,14 +60,16 @@ This package contains libraries and header files for developing applications tha
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake_kde5 -d build
|
||||
%make
|
||||
%cmake_kf6 \
|
||||
-DBUILD_WITH_QT6=OFF
|
||||
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall -C build
|
||||
%cmake_install
|
||||
|
||||
%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang
|
||||
%find_lang %{name} --with-qt --with-man --with-html --all-name || touch %{name}.lang
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -80,46 +82,48 @@ exit 0
|
||||
%posttrans
|
||||
/sbin/ldconfig
|
||||
update-desktop-database -q >/dev/null 2>&1
|
||||
update-mime-database -n %{_kde5_mimedir} >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||
update-mime-database -n %{_kf6_mimedir} >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kf6_icondir}/hicolor >/dev/null 2>&1
|
||||
exit 0
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
if [ $1 -eq 0 ]; then
|
||||
update-desktop-database -q >/dev/null 2>&1
|
||||
update-mime-database -n %{_kde5_mimedir} >/dev/null 2>&1
|
||||
touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||
update-mime-database -n %{_kf6_mimedir} >/dev/null 2>&1
|
||||
touch --no-create %{_kf6_icondir}/hicolor >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kf6_icondir}/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%files -f %{name}5_qt.lang
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_kde5_bindir}/kompare
|
||||
%{_kde5_libdir}/libkomparedialogpages.so.*
|
||||
%{_kde5_libdir}/libkompareinterface.so.*
|
||||
%{_libdir}/qt5/plugins/kf5/parts/komparenavtreepart.so
|
||||
%{_libdir}/qt5/plugins/kf5/parts/komparepart.so
|
||||
%{_kf6_bindir}/kompare
|
||||
%{_kf6_libdir}/libkomparedialogpages.so.*
|
||||
%{_kf6_libdir}/libkompareinterface.so.*
|
||||
%{_libdir}/qt6/plugins/kf5/parts/komparenavtreepart.so
|
||||
%{_libdir}/qt6/plugins/kf5/parts/komparepart.so
|
||||
%{_datadir}/applications/org.kde.kompare.desktop
|
||||
%{_datadir}/metainfo/org.kde.kompare.appdata.xml
|
||||
%{_datadir}/kio/servicemenus/kompare.desktop
|
||||
%{_datadir}/qlogging-categories5/kompare.categories
|
||||
%{_kde5_icondir}/hicolor/*/apps/kompare.png
|
||||
%{_kde5_icondir}/hicolor/scalable/apps/kompare.svgz
|
||||
#%{_kde5_servicesdir}/komparenavtreepart.desktop
|
||||
#%{_kde5_servicesdir}/komparepart.desktop
|
||||
#%{_kde5_servicetypesdir}/komparenavigationpart.desktop
|
||||
#%{_kde5_servicetypesdir}/kompareviewpart.desktop
|
||||
%{_kf6_icondir}/hicolor/*/apps/kompare.png
|
||||
%{_kf6_icondir}/hicolor/scalable/apps/kompare.svgz
|
||||
%doc AUTHORS LICENSES
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/kompare
|
||||
%{_includedir}/kompare/kompareinterface.h
|
||||
%{_kde5_libdir}/libkompareinterface.so
|
||||
%{_kf6_libdir}/libkompareinterface.so
|
||||
|
||||
%changelog
|
||||
* Mon Mar 25 2024 Automatic Build System <autodist@openmamba.org> 24.02.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Mar 01 2024 Automatic Build System <autodist@openmamba.org> 24.02.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Feb 16 2024 Automatic Build System <autodist@openmamba.org> 23.08.5-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user