rpms/gnome-keyring-sharp/EL-5 gnome-keyring-sharp-libdir.patch, NONE, 1.1 gnome-keyring-sharp.spec, NONE, 1.1
Michel Alexandre Salim
salimma at fedoraproject.org
Tue Aug 26 02:26:39 UTC 2008
Author: salimma
Update of /cvs/pkgs/rpms/gnome-keyring-sharp/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17558/EL-5
Added Files:
gnome-keyring-sharp-libdir.patch gnome-keyring-sharp.spec
Log Message:
Actually commit spec and patch files for EL-5, F-8, F-9
gnome-keyring-sharp-libdir.patch:
--- NEW FILE gnome-keyring-sharp-libdir.patch ---
--- gnome-keyring-sharp/configure.ac.libdir 2007-10-13 13:53:29.000000000 -0400
+++ gnome-keyring-sharp/configure.ac 2008-07-06 21:09:45.000000000 -0400
@@ -44,7 +44,7 @@
AC_SUBST(GACUTIL)
-GACUTIL_FLAGS='/gacdir $(DESTDIR)$(prefix)'
+GACUTIL_FLAGS='/gacdir $(DESTDIR)$(libdir)'
AC_SUBST(GACUTIL_FLAGS)
#
@@ -97,7 +97,7 @@
echo " * $CS compiler: $CSC"
echo " * Documentation build enabled: $enable_monodoc "
-if test "x$enable_monodoc" = "xyes" -a "x$doc_sources_dir" != "x$prefix/lib/monodoc/sources"; then
+if test "x$enable_monodoc" = "xyes" -a "x$doc_sources_dir" != "x$libdir/monodoc/sources"; then
echo " WARNING: The install prefix is different than the monodoc prefix."
echo " Monodoc will not be able to load the documentation."
fi
--- gnome-keyring-sharp/src/gnome-keyring-sharp-1.0.pc.in.libdir 2007-10-13 13:53:29.000000000 -0400
+++ gnome-keyring-sharp/src/gnome-keyring-sharp-1.0.pc.in 2008-07-06 21:10:32.000000000 -0400
@@ -1,6 +1,6 @@
prefix=@prefix@
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=@libdir@
Name: Gnome.Keyring
Description: Client library to access the GNOME Keyring daemon
--- NEW FILE gnome-keyring-sharp.spec ---
%global svn_rev 87622
%global debug_package %{nil}
Name: gnome-keyring-sharp
Version: 1.0.0
Release: 0.2.%{svn_rev}svn%{?dist}
Summary: Mono implementation of GNOME Keyring
Group: System Environment/Libraries
License: MIT
URL: http://www.mono-project.com/Libraries#Gnome-KeyRing-Sharp
Source0: http://anonsvn.mono-project.com/viewcvs/trunk/gnome-keyring-sharp.tar.gz
Patch0: gnome-keyring-sharp-libdir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Various Mono dependencies are not available for ppc64; see bug 241850.
ExcludeArch: ppc64
BuildRequires: autoconf automake
BuildRequires: mono-devel ndesk-dbus-devel monodoc
#Requires:
%description
gnome-keyring-sharp is a fully managed implementation of libgnome-keyring.
When the gnome-keyring-daemon is running, you can use this to retrive/store
confidential information such as passwords, notes or network services user
information.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package doc
Summary: Documentation for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release}
Requires: monodoc
%description doc
The %{name}-doc package contains documentation for %{name}.
%prep
%setup -q -n %{name}
%patch0 -p1 -b .libdir
%build
aclocal
automake -a
autoreconf
%configure --disable-static
make
# sharing violation when doing parallel build
#%{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
%{_libdir}/mono/gnome-keyring-sharp-1.0
%{_libdir}/mono/gac/Gnome.Keyring
%files devel
%defattr(-,root,root,-)
#doc
%{_libdir}/pkgconfig/%{name}-1.0.pc
%files doc
%defattr(-,root,root,-)
%{_libdir}/monodoc/sources/Gnome.Keyring.*
%changelog
* Mon Jul 14 2008 Michel Alexandre Salim <salimma at fedoraproject.org> - 1.0.0-0.2.87622svn%{?dist}
- Disable creation of -debuginfo subpackage
* Sun Jul 6 2008 Michel Alexandre Salim <salimma at fedoraproject.org> - 1.0.0-0.1.87622svn%{?dist}
- Initial package
More information about the fedora-extras-commits
mailing list