Dan Vrátil a78358b
%global framework kpty
Dan Vrátil f6a0957
Dan Vrátil f6a0957
Name:           kf5-%{framework}
Rex Dieter f915ab1
Version: 5.34.0
Rex Dieter 583c3a8
Release: 1%{?dist}
Dan Vrátil f6a0957
Summary:        KDE Frameworks 5 Tier 2 module providing Pty abstraction
Dan Vrátil f6a0957
Dan Vrátil f6a0957
License:        LGPLv2+ and GPLv2+
Rex Dieter c0576f2
URL:            https://cgit.kde.org/%{framework}.git
Dan Vrátil 972c117
Dan Vrátil 0f750c7
%global versiondir %(echo %{version} | cut -d. -f1-2)
Dan Vrátil 972c117
%global revision %(echo %{version} | cut -d. -f3)
Dan Vrátil 972c117
%if %{revision} >= 50
Dan Vrátil 972c117
%global stable unstable
Dan Vrátil 972c117
%else
Dan Vrátil 972c117
%global stable stable
Dan Vrátil 972c117
%endif
Dan Vrátil 0f750c7
Source0:        http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
Dan Vrátil f6a0957
Dan Vrátil 62b01ed
BuildRequires:  extra-cmake-modules >= %{version}
Rex Dieter 1f4bfb5
BuildRequires:  kf5-rpm-macros >= %{version}
Dan Vrátil 62b01ed
BuildRequires:  kf5-kcoreaddons-devel >= %{version}
Dan Vrátil 62b01ed
BuildRequires:  kf5-ki18n-devel >= %{version}
Rex Dieter 1f4bfb5
BuildRequires:  libutempter-devel
Rex Dieter 1f4bfb5
BuildRequires:  qt5-qtbase-devel
Dan Vrátil f6a0957
Dan Vrátil 62b01ed
Requires:       kf5-filesystem >= %{version}
Rex Dieter 49eb3a3
# runtime calls %%_libexexdir/utempter/utempter
Rex Dieter 49eb3a3
Requires:       libutempter
Dan Vrátil f6a0957
Dan Vrátil f6a0957
%description
Dan Vrátil f6a0957
KDE Frameworks 5 tier 2 module providing Pty abstraction.
Dan Vrátil f6a0957
Dan Vrátil f6a0957
%package        devel
Dan Vrátil f6a0957
Summary:        Development files for %{name}
Dan Vrátil f6a0957
Requires:       %{name}%{?_isa} = %{version}-%{release}
Dan Vrátil 62b01ed
Requires:       kf5-kcoreaddons-devel >= %{version}
Dan Vrátil f6a0957
%description    devel
Dan Vrátil f6a0957
The %{name}-devel package contains libraries and header files for
Dan Vrátil f6a0957
developing applications that use %{name}.
Dan Vrátil f6a0957
Dan Vrátil 972c117
Dan Vrátil f6a0957
%prep
Rex Dieter dbb0904
%autosetup -n %{framework}-%{version} -p1
Dan Vrátil f6a0957
Rex Dieter 1f4bfb5
Dan Vrátil f6a0957
%build
Rex Dieter 1f4bfb5
mkdir %{_target_platform}
Dan Vrátil f6a0957
pushd %{_target_platform}
Rex Dieter f99c23e
# find_program for utempter is failing for some reason, so
Rex Dieter f99c23e
# set path explicitly to known-good value
Rex Dieter f99c23e
%{cmake_kf5} .. \
Rex Dieter f99c23e
  -DUTEMPTER_EXECUTABLE:PATH=/usr/libexec/utempter/utempter
Dan Vrátil f6a0957
popd
Dan Vrátil f6a0957
Dan Vrátil f6a0957
make %{?_smp_mflags} -C %{_target_platform}
Dan Vrátil f6a0957
Rex Dieter 59a2a3e
Dan Vrátil f6a0957
%install
Dan Vrátil 2982b1f
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Rex Dieter 59a2a3e
Dan Vrátil f6a0957
%find_lang kpty5_qt --with-qt --all-name
Dan Vrátil f6a0957
Dan Vrátil f6a0957
Dan Vrátil 972c117
%post -p /sbin/ldconfig
Dan Vrátil f6a0957
%postun -p /sbin/ldconfig
Dan Vrátil f6a0957
Dan Vrátil f6a0957
%files -f kpty5_qt.lang
Rex Dieter 59a2a3e
%doc README.md
Rex Dieter 59a2a3e
%license COPYING COPYING.LIB
Rex Dieter 1f4bfb5
%{_kf5_libdir}/libKF5Pty.so.5*
Dan Vrátil f6a0957
Dan Vrátil f6a0957
%files devel
Dan Vrátil f6a0957
%{_kf5_includedir}/kpty_version.h
Rex Dieter 1f4bfb5
%{_kf5_includedir}/KPty/
Dan Vrátil f6a0957
%{_kf5_libdir}/libKF5Pty.so
Rex Dieter 1f4bfb5
%{_kf5_libdir}/cmake/KF5Pty/
Dan Vrátil f6a0957
%{_kf5_archdatadir}/mkspecs/modules/qt_KPty.pri
Dan Vrátil f6a0957
Dan Vrátil f6a0957
Dan Vrátil f6a0957
%changelog
Rex Dieter f915ab1
* Mon May 15 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.34.0-1
Rex Dieter f915ab1
- 5.34.0
Rex Dieter f915ab1
Rex Dieter c0576f2
* Mon Apr 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.33.0-1
Rex Dieter c0576f2
- 5.33.0
Rex Dieter c0576f2
Rex Dieter 76999df
* Sat Mar 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.32.0-1
Rex Dieter 76999df
- 5.32.0
Rex Dieter 76999df
Rex Dieter 60233ac
* Mon Feb 06 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.31.0-1
Rex Dieter 60233ac
- 5.31.0
Rex Dieter 60233ac
Rex Dieter 583c3a8
* Fri Dec 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.29.0-1
Rex Dieter 583c3a8
- 5.29.0
Rex Dieter 583c3a8
Rex Dieter f99c23e
* Tue Oct 11 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.27.0-4
Rex Dieter f99c23e
- set -DUTEMPTER_EXECUTABLE explicitly
Rex Dieter f99c23e
Rex Dieter 3212b22
* Tue Oct 11 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.27.0-3
Rex Dieter 3212b22
- patch to find /usr/libexec/utempter/utempter
Rex Dieter 3212b22
Rex Dieter 49eb3a3
* Fri Oct 07 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.27.0-2
Rex Dieter 49eb3a3
- respin, Requieres: libutempter
Rex Dieter 49eb3a3
Rex Dieter e9f69cd
* Tue Oct 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.27.0-1
Rex Dieter e9f69cd
- 5.27.0
Rex Dieter e9f69cd
04d28eb
* Wed Sep 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.26.0-1
04d28eb
- KDE Frameworks 5.26.0
04d28eb
e369518
* Mon Aug 08 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.25.0-1
e369518
- KDE Frameworks 5.25.0
e369518
Daniel Vrátil 51f252f
* Wed Jul 06 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.24.0-1
Daniel Vrátil 51f252f
- KDE Frameworks 5.24.0
Daniel Vrátil 51f252f
Rex Dieter 42e65dc
* Tue Jun 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.23.0-1
Rex Dieter 42e65dc
- KDE Frameworks 5.23.0
Rex Dieter 42e65dc
Rex Dieter 151cba3
* Tue Jun 07 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.22.0-2
Rex Dieter 151cba3
- update URL, use autosetup
Rex Dieter 151cba3
Rex Dieter 2ef1b28
* Mon May 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.22.0-1
Rex Dieter 2ef1b28
- KDE Frameworks 5.22.0
Rex Dieter 2ef1b28
Rex Dieter 6943b18
* Mon Apr 04 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-1
Rex Dieter 6943b18
- KDE Frameworks 5.21.0
Rex Dieter 6943b18
Daniel Vrátil 64146cf
* Mon Mar 14 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.20.0-1
Daniel Vrátil 64146cf
- KDE Frameworks 5.20.0
Daniel Vrátil 64146cf
Daniel Vrátil 0ae69f8
* Thu Feb 11 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.19.0-1
Daniel Vrátil 0ae69f8
- KDE Frameworks 5.19.0
Daniel Vrátil 0ae69f8
267be33
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.18.0-3
267be33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
267be33
Rex Dieter 59a2a3e
* Thu Jan 14 2016 Rex Dieter <rdieter@fedoraproject.org> 5.18.0-2
Rex Dieter 59a2a3e
- cosmetics, update URL, use %%license
Rex Dieter 59a2a3e
Daniel Vrátil 7e4240d
* Sun Jan 03 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.18.0-1
Daniel Vrátil 7e4240d
- KDE Frameworks 5.18.0
Daniel Vrátil 7e4240d
Dan Vrátil c00c1d0
* Tue Dec 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.17.0-1
Dan Vrátil c00c1d0
- KDE Frameworks 5.17.0
Dan Vrátil c00c1d0
Dan Vrátil 3dade4f
* Sun Nov 08 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.16.0-1
Dan Vrátil 3dade4f
- KDE Frameworks 5.16.0
Dan Vrátil 3dade4f
Dan Vrátil a45f1cd
* Thu Oct 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.15.0-1
Dan Vrátil a45f1cd
- KDE Frameworks 5.15.0
Dan Vrátil a45f1cd
Dan Vrátil 21832c0
* Wed Sep 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.14.0-1
Dan Vrátil 21832c0
- KDE Frameworks 5.14.0
Dan Vrátil 21832c0
Rex Dieter 1f4bfb5
* Sat Sep 12 2015 Rex Dieter <rdieter@fedoraproject.org> 5.13.0-2
Rex Dieter 1f4bfb5
- BR: libutempter-devel, .spec cosmetics
Rex Dieter 1f4bfb5
Dan Vrátil 62b01ed
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
Dan Vrátil 62b01ed
- KDE Frameworks 5.13.0
Dan Vrátil 62b01ed
Dan Vrátil 62b01ed
* Wed Aug 19 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-1
Dan Vrátil 62b01ed
- KDE Frameworks 5.13.0
Dan Vrátil 62b01ed
Dan Vrátil 62b01ed
* Tue Aug 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.13.0-0.1
Dan Vrátil 62b01ed
- KDE Frameworks 5.13
Dan Vrátil 62b01ed
Rex Dieter b36fe1a
* Fri Jul 10 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.12.0-1
Rex Dieter b36fe1a
- 5.12.0
Rex Dieter b36fe1a
c13d336
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.11.0-2
c13d336
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c13d336
Dan Vrátil 55f1ab6
* Wed Jun 10 2015 Daniel Vrátil <dvratil@redhat.com> - 5.11.0-1
Dan Vrátil 55f1ab6
- KDE Frameworks 5.11.0
Dan Vrátil 55f1ab6
Dan Vrátil a89b47c
* Mon May 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.10.0-1
Dan Vrátil a89b47c
- KDE Frameworks 5.10.0
Dan Vrátil a89b47c
b63b42b
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.9.0-2
b63b42b
- Rebuilt for GCC 5 C++11 ABI change
b63b42b
Dan Vrátil b73e14f
* Tue Apr 07 2015 Daniel Vrátil <dvratil@redhat.com> - 5.9.0-1
Dan Vrátil b73e14f
- KDE Frameworks 5.9.0
Dan Vrátil b73e14f
Dan Vrátil c7a4ae2
* Mon Mar 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.8.0-1
Dan Vrátil c7a4ae2
- KDE Frameworks 5.8.0
Dan Vrátil c7a4ae2
Dan Vrátil 144a0ab
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-2
Dan Vrátil 144a0ab
- Rebuild (GCC 5)
Dan Vrátil 144a0ab
Dan Vrátil 2e5eec4
* Mon Feb 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil 2e5eec4
- KDE Frameworks 5.7.0
Dan Vrátil 2e5eec4
Dan Vrátil 2e5eec4
* Mon Feb 09 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil 2e5eec4
- KDE Frameworks 5.7.0
Dan Vrátil 2e5eec4
Dan Vrátil c8886bd
* Thu Jan 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-1
Dan Vrátil c8886bd
- KDE Frameworks 5.6.0
Dan Vrátil c8886bd
Dan Vrátil 0f750c7
* Mon Dec 08 2014 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-1
Dan Vrátil 0f750c7
- KDE Frameworks 5.5.0
Dan Vrátil 0f750c7
Dan Vrátil 85838c8
* Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
Dan Vrátil 85838c8
- KDE Frameworks 5.4.0
Dan Vrátil 85838c8
Dan Vrátil 02f1956
* Tue Oct 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
Dan Vrátil 02f1956
- KDE Frameworks 5.3.0
Dan Vrátil 02f1956
Dan Vrátil b457c0b
* Mon Sep 15 2014 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
Dan Vrátil b457c0b
- KDE Frameworks 5.2.0
Dan Vrátil b457c0b
01d0c2f
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-2
01d0c2f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
01d0c2f
Dan Vrátil d0bac58
* Wed Aug 06 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
Dan Vrátil d0bac58
- KDE Frameworks 5.1.0
Dan Vrátil d0bac58
Dan Vrátil 79358cb
* Wed Jul 09 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-1
Dan Vrátil 79358cb
- KDE Frameworks 5.0.0
Dan Vrátil 79358cb
Dan Vrátil f6a0957
* Thu Jun 12 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-2
Dan Vrátil f6a0957
- Upgrade to Tier 2 framework
Dan Vrátil f6a0957
Dan Vrátil f6a0957
* Tue Jun 03 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-1
Dan Vrátil f6a0957
- KDE Frameworks 4.100.0
Dan Vrátil f6a0957
Dan Vrátil f6a0957
* Mon May 05 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0
Dan Vrátil f6a0957
- KDE Frameworks 4.99.0
Dan Vrátil f6a0957
Dan Vrátil f6a0957
* Mon Mar 31 2014 Jan Grulich <jgrulich@redhat.com> 4.98.0-1
Dan Vrátil f6a0957
- Update to KDE Frameworks 5 Beta 1 (4.98.0)
Dan Vrátil f6a0957
Dan Vrátil f6a0957
* Wed Mar 05 2014 Jan Grulich <jgrulich@redhat.com> 4.97.0-1
Dan Vrátil f6a0957
- Update to KDE Frameworks 5 Alpha 1 (4.97.0)
Dan Vrátil f6a0957
Dan Vrátil f6a0957
* Wed Feb 12 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-1
Dan Vrátil f6a0957
- Update to KDE Frameworks 5 Alpha 1 (4.96.0)
Dan Vrátil f6a0957
Dan Vrátil f6a0957
* Wed Feb 05 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-0.1.20140205git
Dan Vrátil f6a0957
- Update to pre-relase snapshot of 4.96.0
Dan Vrátil f6a0957
Dan Vrátil f6a0957
* Thu Jan 09 2014 Daniel Vrátil <dvratil@redhat.com> 4.95.0-1
Dan Vrátil f6a0957
- Update to KDE Frameworks 5 TP1 (4.95.0)
Dan Vrátil f6a0957
Dan Vrátil f6a0957
* Mon Jan  6 2014 Daniel Vrátil <dvratil@redhat.com>
Dan Vrátil f6a0957
- initial version