|
@@ -1,282 +1,74 @@
|
|
Name: kdenetwork
|
|
Name: kdenetwork
|
|
Summary: KDE Network Applications
|
|
Summary: KDE Network Applications
|
|
Summary(ja): KDE ネットワークアプリケーション集
|
|
Summary(ja): KDE ネットワークアプリケーション集
|
|
-Version: 4.10.5
|
|
|
|
|
|
+Version: 4.11.1
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
|
|
|
|
License: GPLv2
|
|
License: GPLv2
|
|
Group: Applications/Internet
|
|
Group: Applications/Internet
|
|
URL: http://www.kde.org/
|
|
URL: http://www.kde.org/
|
|
|
|
|
|
-Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kdenetwork-%{version}.tar.xz
|
|
|
|
-Source1: krdc-icons.tar.bz2
|
|
|
|
-Source2: kppp.console
|
|
|
|
-Source3: kppp.pamd
|
|
|
|
-
|
|
|
|
-## upstream me! -- Rex :)
|
|
|
|
-Patch1: kdenetwork-4.2.98-kdrc-icon.patch
|
|
|
|
-# rhbz#540433 - KPPP is unable to add DNS entries to /etc/resolv.conf
|
|
|
|
-Patch2: kdenetwork-4.3.3-resolv-conf-path.patch
|
|
|
|
-
|
|
|
|
-## security patches
|
|
|
|
-
|
|
|
|
-# Vine patches
|
|
|
|
-# Don't build with xmms-devel
|
|
|
|
-Patch1000: kdenetwork-4.6.0-noxmms.patch
|
|
|
|
-
|
|
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
-BuildRequires: alsa-lib-devel
|
|
|
|
-BuildRequires: expat-devel
|
|
|
|
-BuildRequires: giflib-devel
|
|
|
|
-BuildRequires: glib2-devel
|
|
|
|
-BuildRequires: gmp-devel
|
|
|
|
-BuildRequires: gpgme-devel
|
|
|
|
-BuildRequires: kdebase-devel >= %{version}
|
|
|
|
-BuildRequires: kdebase-workspace-devel >= %{version}
|
|
|
|
-BuildRequires: kdelibs4-devel >= %{version}
|
|
|
|
-BuildRequires: kdepimlibs-devel >= %{version}
|
|
|
|
-BuildRequires: libboost-devel
|
|
|
|
-BuildRequires: libgadu-devel >= 1.8.0
|
|
|
|
-BuildRequires: libidn-devel
|
|
|
|
-BuildRequires: libjpeg-devel
|
|
|
|
-BuildRequires: libktorrent-devel
|
|
|
|
-BuildRequires: libmsn-devel >= 4.1
|
|
|
|
-BuildRequires: libotr-devel
|
|
|
|
-BuildRequires: libv4l-devel
|
|
|
|
-BuildRequires: libvncserver-devel
|
|
|
|
-BuildRequires: libxml2-devel
|
|
|
|
-BuildRequires: libXpm-devel
|
|
|
|
-BuildRequires: libXScrnSaver-devel
|
|
|
|
-BuildRequires: libxslt-devel
|
|
|
|
-BuildRequires: libXtst-devel
|
|
|
|
-BuildRequires: meanwhile-devel
|
|
|
|
-BuildRequires: ortp-devel
|
|
|
|
-BuildRequires: qca2-devel
|
|
|
|
-BuildRequires: plasma-devel >= %{version}
|
|
|
|
-BuildRequires: qimageblitz-devel
|
|
|
|
-BuildRequires: soprano-devel >= 2.0.97
|
|
|
|
-BuildRequires: speex-devel
|
|
|
|
-BuildRequires: sqlite3-devel
|
|
|
|
-BuildRequires: strigi-devel
|
|
|
|
-BuildRequires: jasper-devel
|
|
|
|
-
|
|
|
|
-Requires: kdebase-runtime >= 4.6
|
|
|
|
-Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
-
|
|
|
|
-# kopete/yahoo
|
|
|
|
-Requires: jasper
|
|
|
|
-# kopete/jabber
|
|
|
|
-Requires: qca-ossl
|
|
|
|
-## krdc
|
|
|
|
-Requires: rdesktop
|
|
|
|
-
|
|
|
|
-# consolehelper
|
|
|
|
-Requires: usermode-gtk
|
|
|
|
|
|
+BuildArch: noarch
|
|
|
|
|
|
Obsoletes: kdenetwork4 < %{version}-%{release}
|
|
Obsoletes: kdenetwork4 < %{version}-%{release}
|
|
Provides: kdenetwork4 = %{version}-%{release}
|
|
Provides: kdenetwork4 = %{version}-%{release}
|
|
|
|
|
|
-Obsoletes: kopete <= 0.8.0
|
|
|
|
-Provides: kopete
|
|
|
|
-
|
|
|
|
Conflicts: kdenetwork3
|
|
Conflicts: kdenetwork3
|
|
|
|
|
|
-%description
|
|
|
|
-Networking applications, including:
|
|
|
|
|
|
+Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
+
|
|
|
|
+Requires: kdenetwork-filesharing
|
|
|
|
+Requires: kdenetwork-strigi-analyzers
|
|
|
|
+Requires: kdnssd
|
|
|
|
+Requires: kget
|
|
|
|
+Requires: kopete
|
|
|
|
+Requires: kppp
|
|
|
|
+Requires: krdc
|
|
|
|
+Requires: krfb
|
|
|
|
|
|
-* kget: downloader manager
|
|
|
|
-* kopete: chat client
|
|
|
|
-* krdc: a client for Desktop Sharing and other VNC servers
|
|
|
|
-* krfb: Desktop Sharing server, allow others to access your desktop via VNC
|
|
|
|
|
|
+%description
|
|
|
|
+%{summary}
|
|
|
|
|
|
%package libs
|
|
%package libs
|
|
Summary: Runtime libraries for %{name}
|
|
Summary: Runtime libraries for %{name}
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
+Requires: kopete-libs
|
|
|
|
+
|
|
%description libs
|
|
%description libs
|
|
%{summary}.
|
|
%{summary}.
|
|
|
|
|
|
%package devel
|
|
%package devel
|
|
-Summary: Development files for kdenetwork
|
|
|
|
|
|
+Summary: Development files for %{name}
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
-Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
-Requires: kdelibs4-devel
|
|
|
|
|
|
|
|
-%description devel
|
|
|
|
-Development files for kdenetwork. Install kdenetwork-devel if you wish
|
|
|
|
-to develop or compile KDE networking applications.
|
|
|
|
-
|
|
|
|
-%package -n kppp
|
|
|
|
-Summary: Modem dialer and ppp frontend for KDE
|
|
|
|
-Summary(ja): KDE 用 ダイアルアップアプリケーション
|
|
|
|
-Group: Applications/Internet
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
-Requires: ppp
|
|
|
|
-Obsoletes: kppp4 < %{version}-%{release}
|
|
|
|
-Provides: kppp4 = %{version}-%{release}
|
|
|
|
-
|
|
|
|
-%description -n kppp
|
|
|
|
-KPPP is a dialer and front end for pppd. It allows for interactive
|
|
|
|
-script generation and network setup. It will automate the dialing in
|
|
|
|
-process to your ISP while letting you conveniently monitor the
|
|
|
|
-entire process.
|
|
|
|
-
|
|
|
|
-Once connected KPPP will provide a rich set of statistics and keep
|
|
|
|
-track of the time spent online for you.
|
|
|
|
|
|
+Requires: kopete-devel
|
|
|
|
+Requires: krdc-devel
|
|
|
|
|
|
|
|
+%description devel
|
|
|
|
+%{summary}
|
|
|
|
|
|
%prep
|
|
%prep
|
|
-%setup -q -n kdenetwork-%{version} -a 1
|
|
|
|
-%patch1 -p1 -b .icon
|
|
|
|
-%patch2 -p1 -b .resolv-conf-path
|
|
|
|
-
|
|
|
|
-# Vine patches
|
|
|
|
-%patch1000 -p1 -b .noxmms
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
-mkdir -p %{_target_platform}
|
|
|
|
-pushd %{_target_platform}
|
|
|
|
-%cmake \
|
|
|
|
- -DCMAKE_BUILD_TYPE=release \
|
|
|
|
- -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
|
|
|
|
- -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
|
|
|
|
- -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
|
|
|
|
- -DLIB_INSTALL_DIR:PATH=%{_libdir} \
|
|
|
|
- -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
|
|
|
|
- -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
|
|
|
|
- -DMOZPLUGIN_INSTALL_DIR=%{_libdir}/mozilla/plugins \
|
|
|
|
- -DLIBGADU_INCLUDE_DIR=%{_includedir} \
|
|
|
|
- -DLIBGADU_LIBRARIES=%{_libdir}/libgadu.so \
|
|
|
|
- ..
|
|
|
|
-popd
|
|
|
|
-
|
|
|
|
-#make -C %{_target_platform}/doc
|
|
|
|
-#make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
-make -C %{_target_platform}
|
|
|
|
-
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
|
-make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
-
|
|
|
|
-# Run kppp through consolehelper
|
|
|
|
-mkdir -p $RPM_BUILD_ROOT%{_sbindir} \
|
|
|
|
- $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps \
|
|
|
|
- $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
|
|
|
|
-
|
|
|
|
-chmod 0755 $RPM_BUILD_ROOT%{_bindir}/kppp
|
|
|
|
-mv $RPM_BUILD_ROOT%{_bindir}/kppp $RPM_BUILD_ROOT%{_sbindir}
|
|
|
|
-ln -s consolehelper $RPM_BUILD_ROOT%{_bindir}/kppp
|
|
|
|
-
|
|
|
|
-install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/kppp
|
|
|
|
-install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/kppp
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-# move devel symlinks
|
|
|
|
-mkdir -p $RPM_BUILD_ROOT%{_libdir}/kde4/devel
|
|
|
|
-pushd $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
-for i in lib*.so
|
|
|
|
-do
|
|
|
|
- case "$i" in
|
|
|
|
-# conflicts with kdenetwork3
|
|
|
|
- libkopete.so | libkopete_oscar.so | libkopete_videodevice.so)
|
|
|
|
- linktarget=`readlink "$i"`
|
|
|
|
- rm -f "$i"
|
|
|
|
- ln -sf "../../$linktarget" "kde4/devel/$i"
|
|
|
|
- ;;
|
|
|
|
- esac
|
|
|
|
-done
|
|
|
|
-popd
|
|
|
|
-
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-%post
|
|
|
|
-touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
|
|
|
|
-touch --no-create %{_datadir}/icons/oxygen &> /dev/null ||:
|
|
|
|
-
|
|
|
|
-%posttrans
|
|
|
|
-gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
|
|
|
|
-gtk-update-icon-cache %{_datadir}/icons/oxygen &> /dev/null ||:
|
|
|
|
-update-desktop-database -q &> /dev/null ||:
|
|
|
|
-
|
|
|
|
-%postun
|
|
|
|
-if [ $1 -eq 0 ] ; then
|
|
|
|
- touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
|
|
|
|
- touch --no-create %{_datadir}/icons/oxygen &> /dev/null ||:
|
|
|
|
- gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
|
|
|
|
- gtk-update-icon-cache %{_datadir}/icons/oxygen &> /dev/null ||:
|
|
|
|
- update-desktop-database -q &> /dev/null ||:
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
-%post libs -p /sbin/ldconfig
|
|
|
|
-
|
|
|
|
-%postun libs -p /sbin/ldconfig
|
|
|
|
-
|
|
|
|
-
|
|
|
|
%files
|
|
%files
|
|
-%defattr(-,root,root)
|
|
|
|
-%{_bindir}/*
|
|
|
|
-%exclude %{_bindir}/kppp*
|
|
|
|
-%{_datadir}/kde4/apps/dolphinpart/kpartplugins/kget_plug_in.desktop
|
|
|
|
-%{_datadir}/kde4/apps/dolphinpart/kpartplugins/kget_plug_in.rc
|
|
|
|
-%{_datadir}/kde4/apps/kconf_update/*
|
|
|
|
-%{_datadir}/kde4/apps/kget
|
|
|
|
-%{_datadir}/kde4/apps/khtml/kpartplugins/kget_plug_in.desktop
|
|
|
|
-%{_datadir}/kde4/apps/khtml/kpartplugins/kget_plug_in.rc
|
|
|
|
-%{_datadir}/kde4/apps/kopete*
|
|
|
|
-%{_datadir}/kde4/apps/krfb
|
|
|
|
-%{_datadir}/kde4/apps/krdc
|
|
|
|
-%{_datadir}/kde4/apps/kwebkitpart/kpartplugins/kget_plug_in.desktop
|
|
|
|
-%{_datadir}/kde4/apps/kwebkitpart/kpartplugins/kget_plug_in.rc
|
|
|
|
-%{_datadir}/kde4/apps/remoteview
|
|
|
|
-#{_datadir}/kde4/apps/desktoptheme/default/widgets/kget.svg
|
|
|
|
-%{_datadir}/config/kopeterc
|
|
|
|
-%{_datadir}/applications/kde4/*
|
|
|
|
-%exclude %{_datadir}/applications/kde4/*ppp*.desktop
|
|
|
|
-%{_datadir}/config.kcfg/*
|
|
|
|
-%{_datadir}/dbus-1/interfaces/*
|
|
|
|
-%{_datadir}/dbus-1/services/*
|
|
|
|
-%{_datadir}/kde4/services/*
|
|
|
|
-%{_datadir}/kde4/servicetypes/*
|
|
|
|
-%{_datadir}/sounds/*
|
|
|
|
-%{_datadir}/ontology/kde/kget_history.*
|
|
|
|
-%doc %{_docdir}/HTML/en/*
|
|
|
|
-%exclude %{_datadir}/doc/HTML/en/kppp
|
|
|
|
-%{_datadir}/icons/hicolor/*/*/*
|
|
|
|
-%exclude %{_datadir}/icons/hicolor/*/apps/kppp*
|
|
|
|
-%{_datadir}/icons/oxygen/*/*/*
|
|
|
|
-%{_libdir}/kde4/*.so
|
|
|
|
-%{_libdir}/mozilla/plugins/skypebuttons.so
|
|
|
|
-%{_libdir}/kde4/plugins/accessible/chatwindowaccessiblewidgetfactory.so
|
|
|
|
-%{_libdir}/strigi/strigita_torrent_analyzer.so
|
|
|
|
|
|
|
|
%files libs
|
|
%files libs
|
|
-%defattr(-,root,root,-)
|
|
|
|
-%{_libdir}/libqgroupwise.so
|
|
|
|
-%{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
-%defattr(-,root,root)
|
|
|
|
-%{_includedir}/kde4/kopete
|
|
|
|
-%{_includedir}/kde4/krdc
|
|
|
|
-%{_libdir}/lib*.so
|
|
|
|
-%{_libdir}/kde4/devel/lib*.so
|
|
|
|
-%exclude %{_libdir}/libqgroupwise.so
|
|
|
|
-
|
|
|
|
-%files -n kppp
|
|
|
|
-%defattr(-,root,root)
|
|
|
|
-%doc %{_datadir}/doc/HTML/en/kppp
|
|
|
|
-%config /etc/security/console.apps/kppp
|
|
|
|
-%config /etc/pam.d/kppp
|
|
|
|
-%{_bindir}/kppp*
|
|
|
|
-%{_sbindir}/kppp
|
|
|
|
-%{_datadir}/applications/kde4/*ppp*
|
|
|
|
-%{_datadir}/kde4/apps/kppp
|
|
|
|
-%{_datadir}/icons/hicolor/*/apps/kppp*
|
|
|
|
|
|
+
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Sep 16 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
|
|
|
|
+- placeholder metapackage
|
|
|
|
+
|
|
* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
|
|
* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|