File kdesvn.spec of Package kdesvn
#
# spec file for package kdesvn
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: kdesvn
BuildRequires: cmake fdupes libkde4-devel
BuildRequires: ImageMagick openldap2-devel sqlite3-devel subversion-devel
License: GPLv2+
Group: Development/Tools/Version Control
Summary: KDE Subversion Client
Version: 1.5.5
Release: 1
Source: %name-%version.tar.bz2
Patch: kdesvn.diff
Patch2: remove-nl.diff
Url: http://www.alwins-world.de/programs/kdesvn/index.html
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: kde4-kdesvn = 1.3.0
Obsoletes: kde4-kdesvn <= 1.3.0
%kde4_runtime_requires
%description
kdesvn is a GUI client for subversion repositories.
Authors:
--------
Rajko Albrecht <ral@alwins-world.de>
%package -n libsvnqt6
License: GPLv2+
Summary: KDE Subversion Client
Group: Development/Tools/Version Control
%requires_ge libqt4
%description -n libsvnqt6
kdesvn is a GUI client for subversion repositories.
Authors:
--------
Rajko Albrecht <ral@alwins-world.de>
%package -n libsvnqt-devel
License: GPLv2+
Summary: KDE Subversion Client
Group: Development/Tools/Version Control
Requires: libsvnqt6 >= %version
%description -n libsvnqt-devel
kdesvn is a GUI client for subversion repositories.
Authors:
--------
Rajko Albrecht <ral@alwins-world.de>
%prep
%setup -q
%patch
%patch2
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%makeinstall
cd ..
%suse_update_desktop_file -G "SVN Client" %name Development RevisionControl
%find_lang %name
%fdupes $RPM_BUILD_ROOT/usr/share/icons
%kde_post_install
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libsvnqt6 -p /sbin/ldconfig
%postun -n libsvnqt6 -p /sbin/ldconfig
%files -f %name.lang
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING COPYING.OpenSSL
%_bindir/kdesvn
%_bindir/kdesvnaskpass
%_kde4_modules/kded_kdesvnd.so
%_kde4_modules/kdesvnpart.so
%_kde4_modules/kio_ksvn.so
%{_datadir}/applications/kde4/kdesvn.desktop
%{_datadir}/dbus-1/interfaces/org.kde.kdesvnd.xml
%{_datadir}/icons/hicolor
%_kde_share_dir/apps/kdesvn
%_kde_share_dir/apps/kdesvnpart
%_kde_share_dir/apps/kconf_update/kdesvn-use-external-update.sh
%_kde_share_dir/apps/kconf_update/kdesvnpartrc-use-external.upd
%_kde_share_dir/config.kcfg/kdesvn_part.kcfg
%_kde_share_dir/services/ServiceMenus/kdesvn_subversion.desktop
%_kde_share_dir/services/ServiceMenus/kdesvn_subversion_toplevel.desktop
%_kde_share_dir/services/kded/kdesvnd.desktop
%_kde_share_dir/services/kdesvnpart.desktop
%_kde_share_dir/services/svn*.protocol
%_kde_share_dir/services/ksvn*.protocol
%{_mandir}/man1/kdesvn*
%files -n libsvnqt-devel
%defattr(-,root,root)
/usr/include/svnqt
%_libdir/libsvnqt.so
%files -n libsvnqt6
%defattr(-,root,root)
%dir %{_datadir}/svnqt
%dir %{_datadir}/svnqt/i18n
%_libdir/libsvnqt.so.*
%{_datadir}/svnqt/i18n/svnqt_*.qm
%changelog