%define kdedir %(echo `kde-config --prefix`) %define qtver %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' libqt`) %define kdever %(echo `rpm -q --queryformat '%{VERSION}' kdelibs`) %define libname lib%{name} Name: kdesvn Version: 1.5.4 Release: 1mamba Summary: A subversion client for KDE Group: Graphical Desktop/Applications/Development Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://kdesvn.alwins-world.de Source: http://kdesvn.alwins-world.de/downloads/kdesvn-%{version}.tar.bz2 License: LGPL BuildRequires: cmake BuildRequires: libpng-devel BuildRequires: libjpeg-devel BuildRequires: libarts-devel BuildRequires: libneon-devel >= 0.24.7 BuildRequires: libaprutil ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: kdelibs-devel BuildRequires: libapr-devel BuildRequires: libdb47-devel BuildRequires: libe2fs-devel BuildRequires: libexpat-devel BuildRequires: libgcc BuildRequires: libgdbm-devel BuildRequires: libICE-devel BuildRequires: libmysql5-devel BuildRequires: libopenldap-devel BuildRequires: libopenssl-devel BuildRequires: libpostgresql-devel BuildRequires: libqt-devel BuildRequires: libSM-devel BuildRequires: libsqlite-devel BuildRequires: libstdc++6-devel BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libz-devel BuildRequires: subversion-devel ## AUTOBUILDREQ-END Requires: libqt >= %{qtver} Requires: kdelibs >= %{kdever} Requires: subversion >= 1.2.3 Requires: kdesdk >= %{kdever} Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description KDESvn is a frontend to the subversion vcs. In difference to most other tools it uses the subversion C-Api direct via a c++ wrapper made by Rapid SVN and doesn't parse the output of the subversion client. So it is a real client itself instead of a frontend to the command line tool. %package devel Group: Development/Applications Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel KDESvn is a frontend to the subversion vcs. In difference to most other tools it uses the subversion C-Api direct via a c++ wrapper made by Rapid SVN and doesn't parse the output of the subversion client. So it is a real client itself instead of a frontend to the command line tool. This package contains static libraries and header files need for development %package -n %{libname} Group: Graphical Desktop/Libraries/KDE Summary: Shared libraries needed by kdesvn %description -n %{libname} KDESvn is a frontend to the subversion vcs. In difference to most other tools it uses the subversion C-Api direct via a c++ wrapper made by Rapid SVN and doesn't parse the output of the subversion client. So it is a real client itself instead of a frontend to the command line tool. This package contains the shared library needed to run kdesvn. %prep %setup -q %build %cmake_kde4 \ -DCMAKE_BUILD_TYPE=release %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall DESTDIR=%{buildroot} %find_lang %{name} ## these files conflict with kdesdk >= 3.5.3 #rm -f %{buildroot}%{_kdedatadir}/services/svn+file.protocol #rm -f %{buildroot}%{_kdedatadir}/services/svn+http.protocol #rm -f %{buildroot}%{_kdedatadir}/services/svn+https.protocol #rm -f %{buildroot}%{_kdedatadir}/services/svn+ssh.protocol #rm -f %{buildroot}%{_kdedatadir}/services/svn.protocol install -d %{buildroot}%{_mandir}/man1 mv %{buildroot}%{_kde4_sharedir}/man/man1/*.1 \ %{buildroot}%{_mandir}/man1/ %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root) %{_kde4_bindir}/kdesvn %{_kde4_bindir}/kdesvnaskpass %{_kde4_libdir}/libsvnqt.so.* %{_kde4_libdir}/kde4/*.so %{_kde4_datadir}/kconf_update/kdesvn* %{_kde4_datadir}/kdesvn %{_kde4_datadir}/kdesvnpart/kdesvn_part.rc %{_kde4_sharedir}/config.kcfg/kdesvn_part.kcfg %{_kde4_htmldir}/en %lang(nl) %{_kde4_htmldir}/nl %{_kde4_icondir}/hicolor %{_kde4_xdgappsdir}/kdesvn.desktop %{_kde4_servicesdir}/ServiceMenus/kdesvn_subversion*.desktop %{_kde4_servicesdir}/kded/kdesvnd.desktop %{_kde4_servicesdir}/kdesvnpart.desktop %{_kde4_servicesdir}/*.protocol %{_mandir}/man1/kdesvn.1* %{_mandir}/man1/kdesvnaskpass.1* %{_kde4_sharedir}/svnqt/i18n/*.qm %{_datadir}/dbus-1/interfaces/org.kde.kdesvnd.xml %doc AUTHORS COPYING ChangeLog TODO %files devel %defattr(-,root,root) %{_kde4_libdir}/libsvnqt.so %{_kde4_includedir}/svnqt/cache/*.h %{_kde4_includedir}/svnqt/repoparameter.cpp %{_kde4_includedir}/svnqt/*.h %files -n %{libname} %defattr(-,root,root) %changelog * Sun Aug 29 2010 Automatic Build System 1.5.4-1mamba - automatic update by autodist * Fri Jun 04 2010 Automatic Build System 1.5.3-1mamba - update to 1.5.3 * Thu Jan 01 2009 Silvan Calarco 1.0.4-1mamba - update to 1.0.4 * Fri Jul 18 2008 gil 0.14.6-1mamba - update to 0.14.6 * Sat May 05 2007 Davide Madrisan 0.12.0-1mamba - update to 0.12.0 * Wed Apr 18 2007 Davide Madrisan 0.11.2-1mamba - update to version 0.11.2 by autospec - specfile modified to support the now building system based on cmake * Fri Jun 30 2006 Stefano Cotta Ramusino 0.8.5-1qilnx - update to version 0.8.5 by autospec * Tue Jun 13 2006 Davide Madrisan 0.8.4-1qilnx - update to version 0.8.4 by autospec - added build requirements for libapr1-devel and libaprutil1-devel * Wed Nov 16 2005 Massimo Pintore 0.6.3-1qilnx - package created by autospec Processing files: kdesvn-1.5.3-1mamba Processing files: kdesvn-devel-1.5.3-1mamba Processing files: libkdesvn-1.5.3-1mamba Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/autodist/kdesvn-root RPM build errors: