This commit is contained in:
parent
3301104bde
commit
2557911746
51
krfb.spec
51
krfb.spec
@ -17,15 +17,28 @@
|
||||
|
||||
|
||||
Name: krfb
|
||||
BuildRequires: libkde4-devel
|
||||
BuildRequires: oxygen-icon-theme-large
|
||||
%if 0%{?suse_version} >= 1320
|
||||
BuildRequires: pkgconfig(TelepathyQt4)
|
||||
%endif
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: telepathy-qt5-devel
|
||||
BuildRequires: ktp-common-internals-devel
|
||||
BuildRequires: LibVNCServer-devel
|
||||
BuildRequires: pkgconfig(xdamage)
|
||||
BuildRequires: pkgconfig(xt)
|
||||
BuildRequires: pkgconfig(xtst)
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: ki18n-devel
|
||||
BuildRequires: kcrash-devel
|
||||
BuildRequires: kcoreaddons-devel
|
||||
BuildRequires: kdbusaddons-devel
|
||||
BuildRequires: kdnssd-framework-devel
|
||||
BuildRequires: kdoctools-devel
|
||||
BuildRequires: kdelibs4support-devel
|
||||
BuildRequires: kwidgetsaddons-devel
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5DBus)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5X11Extras)
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: oxygen-icon-theme-large
|
||||
Version: 15.12.0
|
||||
Release: 0
|
||||
Summary: Desktop Sharing
|
||||
@ -45,7 +58,7 @@ VNC-compatible server to share KDE desktops.
|
||||
%ifarch ppc ppc64
|
||||
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
%endif
|
||||
%cmake_kde4 -d build -- -DBUILD_EXPERIMENTAL_TUBES_SUPPORT="on"
|
||||
%cmake_kf5 -d build -- -DBUILD_EXPERIMENTAL_TUBES_SUPPORT="on"
|
||||
make
|
||||
|
||||
%install
|
||||
@ -62,8 +75,7 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
cp /usr/share/icons/oxygen/48x48/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
|
||||
cp /usr/share/icons/oxygen/64x64/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/
|
||||
cd ..
|
||||
%suse_update_desktop_file -r krfb System RemoteAccess
|
||||
%kde_post_install
|
||||
%suse_update_desktop_file -r org.kde.krfb System RemoteAccess
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
@ -75,20 +87,13 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README
|
||||
%{_kde4_bindir}/krfb
|
||||
%{_kde4_modulesdir}/krfb_*.so
|
||||
%{_kde4_libdir}/libkrfbprivate.so*
|
||||
%{_kde4_applicationsdir}/krfb.desktop
|
||||
%{_kde4_htmldir}/en/krfb/
|
||||
%{_kde4_appsdir}/krfb/
|
||||
%{_kde4_servicesdir}/krfb_framebuffer_*.desktop
|
||||
%{_kde4_servicetypesdir}/krfb-framebuffer.desktop
|
||||
%{_kde4_iconsdir}/hicolor/*/apps/krfb.*
|
||||
%if 0%{?suse_version} >= 1320
|
||||
%{_kde4_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.krfb_rfb_handler.service
|
||||
%dir %{_kde4_datadir}/telepathy
|
||||
%dir %{_kde4_datadir}/telepathy/clients
|
||||
%{_kde4_datadir}/telepathy/clients/krfb_rfb_handler.client
|
||||
%endif
|
||||
%{_kf5_bindir}/krfb
|
||||
%{_kf5_libdir}/libkrfbprivate.so*
|
||||
%{_kf5_applicationsdir}/org.kde.krfb.desktop
|
||||
%{_kf5_htmldir}/en/krfb/
|
||||
%{_kf5_servicetypesdir}/krfb-framebuffer*.desktop
|
||||
%{_kf5_iconsdir}/hicolor/*/apps/krfb.*
|
||||
%_kf5_plugindir/krfb/
|
||||
%_datadir/krfb/
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user