2024-01-06 01:17:56 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
|
|
|
|
Name: kdiagram
|
2024-02-13 22:38:30 +01:00
|
|
|
Version: 3.0.1
|
2024-01-06 01:17:56 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: KDE Frameworks 5 diagram libraries
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-02-13 22:38:30 +01:00
|
|
|
URL: https://kde.org/
|
2024-01-06 01:17:56 +01:00
|
|
|
Source: https://download.kde.org/stable/kdiagram/%{version}/kdiagram-%{version}.tar.xz
|
2024-01-06 01:17:56 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
2024-02-13 22:38:30 +01:00
|
|
|
BuildRequires: libglvnd-devel
|
2024-01-06 01:17:56 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-02-13 22:38:30 +01:00
|
|
|
BuildRequires: qt6-qtbase-devel
|
|
|
|
BuildRequires: qt6-qtsvg-devel
|
2024-01-06 01:17:56 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: rpm-macros-kde5
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
KDE Frameworks 5 diagram libraries.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: KDE Frameworks 5 diagram libraries.
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
KDE Frameworks 5 diagram libraries.
|
|
|
|
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
|
2024-02-13 22:38:30 +01:00
|
|
|
%cmake_kf6
|
|
|
|
|
|
|
|
%cmake_build
|
2024-01-06 01:17:56 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-02-13 22:38:30 +01:00
|
|
|
%cmake_install
|
2024-01-06 01:17:56 +01:00
|
|
|
|
2024-02-13 22:38:30 +01:00
|
|
|
%find_lang %{name} --with-qt --all-name || touch %{name}.lang
|
2024-01-06 01:17:56 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name}
|
|
|
|
/sbin/ldconfig
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%postun -n lib%{name}
|
|
|
|
/sbin/ldconfig
|
|
|
|
exit 0
|
|
|
|
|
2024-02-13 22:38:30 +01:00
|
|
|
%files -n lib%{name} -f %{name}.lang
|
2024-01-06 01:17:56 +01:00
|
|
|
%defattr(-,root,root)
|
2024-02-13 22:38:30 +01:00
|
|
|
%{_libdir}/libKChart6.so.*
|
|
|
|
%{_libdir}/libKGantt6.so.*
|
2024-01-06 01:17:56 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
2024-02-13 22:38:30 +01:00
|
|
|
%dir %{_includedir}/KChart6
|
|
|
|
%{_includedir}/KChart6/*
|
|
|
|
%dir %{_includedir}/KGantt6
|
|
|
|
%{_includedir}/KGantt6/*
|
|
|
|
%dir %{_libdir}/cmake/KChart6
|
|
|
|
%{_libdir}/cmake/KChart6/*.cmake
|
|
|
|
%dir %{_libdir}/cmake/KGantt6
|
|
|
|
%{_libdir}/cmake/KGantt6/*.cmake
|
|
|
|
%{_libdir}/libKChart6.so
|
|
|
|
%{_libdir}/libKGantt6.so
|
|
|
|
%{_qt6_archdatadir}/mkspecs/modules/qt_KChart6.pri
|
|
|
|
%{_qt6_archdatadir}/mkspecs/modules/qt_KGantt6.pri
|
|
|
|
%{_qt6_docdir}/KChart6.*
|
|
|
|
%{_qt6_docdir}/KGantt6.*
|
2024-01-06 01:17:56 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-02-13 22:38:30 +01:00
|
|
|
* Sat Jan 27 2024 Automatic Build System <autodist@openmamba.org> 3.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:17:56 +01:00
|
|
|
* Fri Jan 15 2021 Automatic Build System <autodist@mambasoft.it> 2.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:17:56 +01:00
|
|
|
* Tue Apr 21 2020 Automatic Build System <autodist@mambasoft.it> 2.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:17:56 +01:00
|
|
|
* Mon Apr 13 2020 Automatic Build System <autodist@mambasoft.it> 2.6.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:17:56 +01:00
|
|
|
* Sun Mar 29 2020 Automatic Build System <autodist@mambasoft.it> 2.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:17:56 +01:00
|
|
|
* Sun Jul 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.1-1mamba
|
|
|
|
- update to 2.6.1
|
|
|
|
|
2024-01-06 01:17:56 +01:00
|
|
|
* Sat Jan 28 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.0-1mamba
|
|
|
|
- package created using the webbuild interface
|