- add -gnome, -kde subpackages
This commit is contained in:
parent
1e4746bf58
commit
a1b02afcbd
25
subversion-1.6.2-kwallet.patch
Normal file
25
subversion-1.6.2-kwallet.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
The first half of this is certainly upstream-worthy, but the second half is presumably
|
||||||
|
some Fedora-specific KDE packaging thing. It's not obvious how to get
|
||||||
|
kde4-config to report the directory which contains the .so files.
|
||||||
|
|
||||||
|
--- subversion-1.6.2/build/ac-macros/kwallet.m4.kwallet
|
||||||
|
+++ subversion-1.6.2/build/ac-macros/kwallet.m4
|
||||||
|
@@ -45,14 +45,14 @@ AC_DEFUN(SVN_LIB_KWALLET,
|
||||||
|
CPPFLAGS="$CPPFLAGS $d"
|
||||||
|
done
|
||||||
|
qt_include_dirs="`$PKG_CONFIG --cflags-only-I QtCore QtDBus QtGui`"
|
||||||
|
- kde_dir="`$kde4_config --prefix`"
|
||||||
|
- SVN_KWALLET_INCLUDES="$DBUS_CPPFLAGS $qt_include_dirs -I$kde_dir/include"
|
||||||
|
+ kde_include_dirs="-I`$kde4_config --path include`"
|
||||||
|
+ SVN_KWALLET_INCLUDES="$DBUS_CPPFLAGS $qt_include_dirs $kde_include_dirs"
|
||||||
|
qt_libs_other_options="`$PKG_CONFIG --libs-only-other QtCore QtDBus QtGui`"
|
||||||
|
SVN_KWALLET_LIBS="$DBUS_LIBS -lQtCore -lQtDBus -lQtGui -lkdecore -lkdeui $qt_libs_other_options"
|
||||||
|
CXXFLAGS="$CXXFLAGS $SVN_KWALLET_INCLUDES"
|
||||||
|
LIBS="$LIBS $SVN_KWALLET_LIBS"
|
||||||
|
qt_lib_dirs="`$PKG_CONFIG --libs-only-L QtCore QtDBus QtGui`"
|
||||||
|
- LDFLAGS="$old_LDFLAGS $qt_lib_dirs -L$kde_dir/lib`$kde4_config --libsuffix`"
|
||||||
|
+ LDFLAGS="$old_LDFLAGS $qt_lib_dirs -L/usr/lib`$kde4_config --libsuffix`/kde4/devel"
|
||||||
|
AC_LANG(C++)
|
||||||
|
AC_LINK_IFELSE([
|
||||||
|
#include <kwallet.h>
|
@ -15,7 +15,7 @@
|
|||||||
Summary: A Modern Concurrent Version Control System
|
Summary: A Modern Concurrent Version Control System
|
||||||
Name: subversion
|
Name: subversion
|
||||||
Version: 1.6.2
|
Version: 1.6.2
|
||||||
Release: 2
|
Release: 3
|
||||||
License: ASL 1.1
|
License: ASL 1.1
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
URL: http://subversion.tigris.org/
|
URL: http://subversion.tigris.org/
|
||||||
@ -28,6 +28,7 @@ Patch2: subversion-1.6.0-deplibs.patch
|
|||||||
Patch3: subversion-1.6.1-rpath.patch
|
Patch3: subversion-1.6.1-rpath.patch
|
||||||
Patch6: subversion-1.6.0-pie.patch
|
Patch6: subversion-1.6.0-pie.patch
|
||||||
Patch7: subversion-1.1.3-java.patch
|
Patch7: subversion-1.1.3-java.patch
|
||||||
|
Patch8: subversion-1.6.2-kwallet.patch
|
||||||
BuildRequires: autoconf, libtool, python, python-devel, texinfo, which
|
BuildRequires: autoconf, libtool, python, python-devel, texinfo, which
|
||||||
BuildRequires: db4-devel >= 4.1.25, swig >= 1.3.24, gettext
|
BuildRequires: db4-devel >= 4.1.25, swig >= 1.3.24, gettext
|
||||||
BuildRequires: apr-devel >= 1.3.0, apr-util-devel >= 1.3.0
|
BuildRequires: apr-devel >= 1.3.0, apr-util-devel >= 1.3.0
|
||||||
@ -61,6 +62,24 @@ The subversion-devel package includes the static libraries and
|
|||||||
include files for developers interacting with the subversion
|
include files for developers interacting with the subversion
|
||||||
package.
|
package.
|
||||||
|
|
||||||
|
%package gnome
|
||||||
|
Group: Development/Tools
|
||||||
|
Summary: GNOME Keyring support for Subversion
|
||||||
|
Requires: subversion = %{version}-%{release}
|
||||||
|
|
||||||
|
%description gnome
|
||||||
|
The subversion-gnome package adds support for storing Subversion
|
||||||
|
passwords in the GNOME Keyring.
|
||||||
|
|
||||||
|
%package kde
|
||||||
|
Group: Development/Tools
|
||||||
|
Summary: KDE Wallet support for Subversion
|
||||||
|
Requires: subversion = %{version}-%{release}
|
||||||
|
|
||||||
|
%description kde
|
||||||
|
The subversion-kde package adds support for storing Subversion
|
||||||
|
passwords in the KDE Wallet.
|
||||||
|
|
||||||
%package -n mod_dav_svn
|
%package -n mod_dav_svn
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Summary: Apache httpd module for Subversion server
|
Summary: Apache httpd module for Subversion server
|
||||||
@ -115,6 +134,7 @@ This package includes the Ruby bindings to the Subversion libraries.
|
|||||||
%ifarch sparc64
|
%ifarch sparc64
|
||||||
sed -i -e 's|-fpie|-fPIE|g' Makefile.in
|
sed -i -e 's|-fpie|-fPIE|g' Makefile.in
|
||||||
%endif
|
%endif
|
||||||
|
%patch8 -p1 -b .kwallet
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Regenerate the buildsystem, so that:
|
# Regenerate the buildsystem, so that:
|
||||||
@ -251,8 +271,16 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%dir %{_sysconfdir}/subversion
|
%dir %{_sysconfdir}/subversion
|
||||||
%exclude %{_libdir}/libsvn_swig_perl*
|
%exclude %{_libdir}/libsvn_swig_perl*
|
||||||
%exclude %{_libdir}/libsvn_swig_ruby*
|
%exclude %{_libdir}/libsvn_swig_ruby*
|
||||||
|
%exclude %{_libdir}/libsvn_auth_kwallet*
|
||||||
|
%exclude %{_libdir}/libsvn_auth_gnome*
|
||||||
%exclude %{_mandir}/man*/*::*
|
%exclude %{_mandir}/man*/*::*
|
||||||
|
|
||||||
|
%files gnome
|
||||||
|
%{_libdir}/libsvn_auth_gnome_keyring-*.so.*
|
||||||
|
|
||||||
|
%files kde
|
||||||
|
%{_libdir}/libsvn_auth_kwallet-*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/subversion-1
|
%{_includedir}/subversion-1
|
||||||
@ -289,6 +317,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jun 14 2009 Joe Orton <jorton@redhat.com> 1.6.2-3
|
||||||
|
- add -gnome, -kde subpackages
|
||||||
|
|
||||||
* Mon Jun 1 2009 Joe Orton <jorton@redhat.com> 1.6.2-2
|
* Mon Jun 1 2009 Joe Orton <jorton@redhat.com> 1.6.2-2
|
||||||
- enable KWallet, gnome-keyring support
|
- enable KWallet, gnome-keyring support
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user