summaryrefslogtreecommitdiffstats
path: root/tdesvn.spec.in
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-16 16:05:53 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-16 16:05:53 -0600
commit2a84b711d4c9c28fd6e03457311fd05203318d24 (patch)
treec825e162ec40405187fd4892b08e8e036a5db308 /tdesvn.spec.in
parent6cd1f99df4d8a5385335e0148fb0d4e424631e6b (diff)
downloadtdesvn-2a84b711d4c9c28fd6e03457311fd05203318d24.tar.gz
tdesvn-2a84b711d4c9c28fd6e03457311fd05203318d24.zip
Finish rename from prior commit
Diffstat (limited to 'tdesvn.spec.in')
-rw-r--r--tdesvn.spec.in98
1 files changed, 98 insertions, 0 deletions
diff --git a/tdesvn.spec.in b/tdesvn.spec.in
new file mode 100644
index 0000000..1b84118
--- /dev/null
+++ b/tdesvn.spec.in
@@ -0,0 +1,98 @@
+Summary: A subversion client for the KDE with KIO integration.
+Name: tdesvn
+Version: @VERSION@
+Release: 1%{?dist}
+License: LGPL
+Vendor: Rajko Albrecht <ral@alwins-world.de>
+Url: http://tdesvn.alwins-world.de
+Group: Development/Tools
+Source: tdesvn-%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: tdelibs-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: tdesvn = %{version}
+Group: Development/Tools
+Summary: A kde-kio integration for subversion based on tdesvn
+
+%description kiosvn
+KIO integration (KIO::svn) based on tdesvn alternative protocol name.
+
+%package devel
+Group: Development/Libraries
+Summary: Wrapper lib for subversion QT integration.
+Requires: subversion-devel >= 1.2.0
+Requires: tdesvn = %{version}
+
+%description devel
+Development files for tdesvn.
+
+%prep
+%setup -q
+mkdir build
+cd build
+cmake ../ -DCMAKE_INSTALL_PREFIX=`/opt/trinity` -DCMAKE_BUILD_TYPE=Release -DLIB_SUFFIX=`` -DCMAKE_INCLUDE_PATH=`/opt/trinity/include/kde` -DCMAKE_LIBRARY_PATH=`/opt/trinity/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/tdesvn
+
+
+%files
+%defattr(-,root,root)
+%{_bindir}/tdesvn
+%{_bindir}/tdesvnaskpass
+%{_libdir}/*/*part*
+%{_datadir}/applications/*
+%{_datadir}/apps/tdesvn/*
+%{_datadir}/apps/tdesvnpart/*
+%{_datadir}/apps/kconf_update/*
+%{_datadir}/config.kcfg/*
+%{_datadir}/doc/*
+%{_datadir}/icons/*
+%{_datadir}/locale/*
+%{_libdir}/*/kded_tdesvnd.*
+%{_datadir}/services/kded/tdesvnd.desktop
+%{_datadir}/apps/konqueror/servicemenus/tdesvn*
+%{_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