- .spec cosmetics, update URL, use %license
- kdesu doesn't offer to save password (#1274116)
epel9
Rex Dieter 9 years ago
parent 467b2a0982
commit df52391bfa

@ -2,11 +2,11 @@
Name: kf5-%{framework} Name: kf5-%{framework}
Version: 5.15.0 Version: 5.15.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 3 integration with su Summary: KDE Frameworks 5 Tier 3 integration with su
License: LGPLv2+ License: LGPLv2+
URL: http://www.kde.org URL: http://projects.kde.org/kdesu
%global versiondir %(echo %{version} | cut -d. -f1-2) %global versiondir %(echo %{version} | cut -d. -f1-2)
%global revision %(echo %{version} | cut -d. -f3) %global revision %(echo %{version} | cut -d. -f3)
@ -17,16 +17,15 @@ URL: http://www.kde.org
%endif %endif
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
BuildRequires: libX11-devel BuildRequires: cmake
BuildRequires: kf5-rpm-macros >= %{version}
BuildRequires: extra-cmake-modules >= %{version} BuildRequires: extra-cmake-modules >= %{version}
BuildRequires: qt5-qtbase-devel BuildRequires: kf5-rpm-macros >= %{version}
BuildRequires: kf5-ki18n-devel >= %{version} BuildRequires: kf5-ki18n-devel >= %{version}
BuildRequires: kf5-kcoreaddons-devel >= %{version} BuildRequires: kf5-kcoreaddons-devel >= %{version}
BuildRequires: kf5-kservice-devel >= %{version} BuildRequires: kf5-kservice-devel >= %{version}
BuildRequires: kf5-kpty-devel >= %{version} BuildRequires: kf5-kpty-devel >= %{version}
BuildRequires: libX11-devel
BuildRequires: qt5-qtbase-devel
Requires: kf5-filesystem >= %{version} Requires: kf5-filesystem >= %{version}
@ -37,7 +36,6 @@ KDE Frameworks 5 Tier 3 integration with su for elevated privileges.
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: kf5-kpty-devel >= %{version} Requires: kf5-kpty-devel >= %{version}
%description devel %description devel
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
@ -46,14 +44,16 @@ developing applications that use %{name}.
%prep %prep
%setup -q -n %{framework}-%{version} %setup -q -n %{framework}-%{version}
%build %build
mkdir -p %{_target_platform} mkdir %{_target_platform}
pushd %{_target_platform} pushd %{_target_platform}
%{cmake_kf5} .. %{cmake_kf5} ..
popd popd
make %{?_smp_mflags} -C %{_target_platform} make %{?_smp_mflags} -C %{_target_platform}
%install %install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform} make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang kdesu5_qt --with-qt --all-name %find_lang kdesu5_qt --with-qt --all-name
@ -63,21 +63,25 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files -f kdesu5_qt.lang %files -f kdesu5_qt.lang
%doc COPYING.LIB README.md %doc README.md
%license COPYING.LIB
%{_kf5_libdir}/libKF5Su.so.* %{_kf5_libdir}/libKF5Su.so.*
%{_kf5_libexecdir}/kdesu_stub %{_kf5_libexecdir}/kdesu_stub
%{_kf5_libexecdir}/kdesud %attr(2755,root,nobody) %{_kf5_libexecdir}/kdesud
%files devel %files devel
%doc
%{_kf5_includedir}/kdesu_version.h %{_kf5_includedir}/kdesu_version.h
%{_kf5_includedir}/KDESu %{_kf5_includedir}/KDESu/
%{_kf5_libdir}/libKF5Su.so %{_kf5_libdir}/libKF5Su.so
%{_kf5_libdir}/cmake/KF5Su %{_kf5_libdir}/cmake/KF5Su/
%{_kf5_archdatadir}/mkspecs/modules/qt_KDESu.pri %{_kf5_archdatadir}/mkspecs/modules/qt_KDESu.pri
%changelog %changelog
* Wed Oct 21 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.15.0-2
- .spec cosmetics, update URL, use %%license
- kdesu doesn't offer to save password (#1274116)
* Thu Oct 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.15.0-1 * Thu Oct 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.15.0-1
- KDE Frameworks 5.15.0 - KDE Frameworks 5.15.0

Loading…
Cancel
Save