2024-03-10 12:05:05 +01:00
|
|
|
%define framework %(echo %name | sed "s|^kf6-||")
|
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
|
|
|
|
Name: kf6-ktexttemplate
|
2024-06-13 14:37:23 +02:00
|
|
|
Version: 6.3.0
|
2024-03-10 12:05:05 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Library to allow application developers to separate the structure of documents from the data they contain
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://invent.kde.org/frameworks/ktexttemplate
|
|
|
|
Source: https://download.kde.org/stable/frameworks/%{majver}/ktexttemplate-%{version}.tar.xz
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
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
|
|
|
|
Library to allow application developers to separate the structure of documents from the data they contain.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Library to allow application developers to separate the structure of documents from the data they contain.
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
Library to allow application developers to separate the structure of documents from the data they contain.
|
|
|
|
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 -n ktexttemplate-%{version}
|
|
|
|
|
|
|
|
%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}/libKF6TextTemplate.so.*
|
|
|
|
%dir %{_kf6_plugindir}/ktexttemplate
|
|
|
|
%{_kf6_plugindir}/ktexttemplate/ktexttemplate_*.so
|
|
|
|
%doc COPYING.LIB LICENSES
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_kf6_includedir}/KTextTemplate
|
|
|
|
%{_kf6_includedir}/KTextTemplate/*
|
|
|
|
%{_libdir}/libKF6TextTemplate.so
|
|
|
|
%dir %{_libdir}/cmake/KF6TextTemplate
|
|
|
|
%{_libdir}/cmake/KF6TextTemplate/KF6TextTemplate*.cmake
|
|
|
|
%{_datadir}/qlogging-categories6/ktexttemplate.categories
|
|
|
|
%{_qt6_docdir}/KF6TextTemplate.*
|
|
|
|
|
|
|
|
%changelog
|
2024-06-13 14:37:23 +02:00
|
|
|
* Sat Jun 08 2024 Automatic Build System <autodist@openmamba.org> 6.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-05-15 18:25:54 +02:00
|
|
|
* Sun May 12 2024 Automatic Build System <autodist@openmamba.org> 6.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-15 15:34:21 +02:00
|
|
|
* Sat Apr 13 2024 Automatic Build System <autodist@openmamba.org> 6.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-10 12:05:05 +01:00
|
|
|
* Sat Mar 09 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.0-1mamba
|
|
|
|
- package created using the webbuild interface
|