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
Version: 1.5.5
Release: 6
License: GPLv2+
Summary: KDE Subversion Client
Url: http://www.alwins-world.de/programs/kdesvn/index.html
Group: Development/Tools/Version Control
Source: %{name}-%{version}.tar.bz2
Patch0: kdesvn.diff
Patch2: remove-nl.diff
BuildRequires: fdupes
BuildRequires: libkde4-devel
BuildRequires: openldap2-devel
BuildRequires: sqlite3-devel
BuildRequires: subversion-devel
Provides: kde4-kdesvn = %{version}
Obsoletes: kde4-kdesvn < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
%patch0
%patch2
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%make_install
cd ..
%suse_update_desktop_file -G "SVN Client" %{name} Development RevisionControl
%find_lang %{name}
%fdupes -s %{buildroot}%{_datadir}
%kde_post_install
%clean
rm -rf %{buildroot}
%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)
%{_includedir}/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