summaryrefslogtreecommitdiffstats
path: root/kdesvn.spec
diff options
context:
space:
mode:
Diffstat (limited to 'kdesvn.spec')
-rw-r--r--kdesvn.spec98
1 files changed, 98 insertions, 0 deletions
diff --git a/kdesvn.spec b/kdesvn.spec
new file mode 100644
index 0000000..13749d3
--- /dev/null
+++ b/kdesvn.spec
@@ -0,0 +1,98 @@
+Summary: A subversion client for the KDE with KIO integration.
+Name: kdesvn
+Version: 1.0.4
+Release: 1%{?dist}
+License: LGPL
+Vendor: Rajko Albrecht <[email protected]>
+Url: http://kdesvn.alwins-world.de
+Group: Development/Tools
+Source: kdesvn-%version.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-root
+Requires: /usr/bin/dot
+BuildRequires: apr-devel
+BuildRequires: apr-util-devel
+BuildRequires: subversion-devel >= 1.3.0
+BuildRequires: cmake >= 2.4
+BuildRequires: sqlite-devel
+BuildRequires: kdelibs-devel >= 3.4
+
+%description
+Kdesvn is a subversion client for KDE.
+It may used as standalone application or plugin (KPart). Base functions are provided
+via a KIO protocol, too.
+
+%package kiosvn
+Requires: kdesvn = %{version}
+Group: Development/Tools
+Summary: A kde-kio integration for subversion based on kdesvn
+
+%description kiosvn
+KIO integration (KIO::svn) based on kdesvn alternative protocol name.
+
+%package devel
+Group: Development/Libraries
+Summary: Wrapper lib for subversion QT integration.
+Requires: subversion-devel >= 1.2.0
+Requires: kdesvn = %{version}
+
+%description devel
+Development files for kdesvn.
+
+%prep
+%setup -q
+mkdir build
+cd build
+cmake ../ -DCMAKE_INSTALL_PREFIX=`/opt/kde3` -DCMAKE_BUILD_TYPE=Release -DLIB_SUFFIX=`` -DCMAKE_INCLUDE_PATH=`/opt/kde3/include/kde` -DCMAKE_LIBRARY_PATH=`/opt/kde3/lib`
+
+%build
+cd build
+# Setup for parallel builds
+numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :`
+if [ "$numprocs" = "0" ]; then
+ numprocs=1
+fi
+
+make -j$numprocs
+
+%install
+cd build
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+gzip $RPM_BUILD_ROOT/%{_datadir}/man/man1/*
+
+%clean
+rm -rf $RPM_BUILD_ROOT/*
+rm -rf $RPM_BUILD_DIR/kdesvn
+
+
+%files
+%defattr(-,root,root)
+%{_bindir}/kdesvn
+%{_bindir}/kdesvnaskpass
+%{_libdir}/*/*part*
+%{_datadir}/applications/*
+%{_datadir}/apps/kdesvn/*
+%{_datadir}/apps/kdesvnpart/*
+%{_datadir}/apps/kconf_update/*
+%{_datadir}/config.kcfg/*
+%{_datadir}/doc/*
+%{_datadir}/icons/*
+%{_datadir}/locale/*
+%{_libdir}/*/kded_kdesvnd.*
+%{_datadir}/services/kded/kdesvnd.desktop
+%{_datadir}/apps/konqueror/servicemenus/kdesvn*
+%{_libdir}/*/kio_ksvn*
+%{_datadir}/services/ksvn*.protocol
+%{_datadir}/man/man1/*
+%{_libdir}/libsvnqt*.so*
+%doc AUTHORS ChangeLog GPL.txt TODO COPYING COPYING.OpenSSL
+
+%files kiosvn
+%defattr(-,root,root)
+%{_datadir}/services/svn*.protocol
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/svnqt/*
+
+%changelog