rpms/gtksourceview2-sharp/F-9 gtksourceview2-sharp.spec, NONE, 1.1 gtksv2-config.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Paul F. Johnson (pfj)
fedora-extras-commits at redhat.com
Fri May 16 10:10:07 UTC 2008
Author: pfj
Update of /cvs/pkgs/rpms/gtksourceview2-sharp/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21271/F-9
Modified Files:
.cvsignore sources
Added Files:
gtksourceview2-sharp.spec gtksv2-config.patch
Log Message:
Initial import to F9
--- NEW FILE gtksourceview2-sharp.spec ---
%define debug_package %{nil}
%define svn_revision 89788
Summary: A C sharp binder for gtksourceview2
Name: gtksourceview2-sharp
Version: 1.0
Release: 2.svn%{svn_revision}%{dist}
License: LGPLv2
Group: System Environment/Libraries
Source0: http://ftp.novell.com/pub/mono/sources/%{name}-%{svn_revision}.tar.bz2
URL: http://ftp.novell.com/pub/mono/sources
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: mono-devel pkgconfig gtksourceview2-devel gtk-sharp2-devel
BuildRequires: monodoc-devel automake autoconf gtk-sharp2-gapi
Patch0: gtksv2-config.patch
ExcludeArch : ppc64
%description
gtksourceview-sharp is a C sharp binder for gtksourceview
%package devel
Summary: Development files for gtksourceview-sharp
Group: Development/Libraries
Requires: %{name} = %{version}-%{release} pkgconfig
%description devel
Development files for gtksourceview2-sharp
%prep
%setup -q -n %{name}-%{svn_revision}
# Fixes bits which the config files should do correctly for non-x86 builds
# but doesn't
sed -i -e 's!@libdir@!%{_libdir}!' %{PATCH0}
%patch0 -p1 -b .original
# Reverts the above fixes in the patch file so koji doesn't bork
sed -i -e 's!%{_libdir}!@libdir@!' %{PATCH0}
autoreconf
%build
%configure
make all %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
make DESTDIR=%{buildroot} install
%files
%defattr (-, root, root, -)
%doc AUTHORS COPYING INSTALL NEWS README
%{_libdir}/mono/gac/%{name}
%{_libdir}/mono/%{name}/%{name}.dll
%{_libdir}/monodoc/sources/%{name}-docs.source
%{_libdir}/monodoc/sources/%{name}-docs.tree
%{_libdir}/monodoc/sources/%{name}-docs.zip
%{_datadir}/gapi-2.0/gtksourceview2-api.xml
%files devel
%defattr (-,root,root,-)
%{_libdir}/pkgconfig/gtksourceview2-sharp.pc
%clean
%{__rm} -rf %{buildroot}
%changelog
* Wed Apr 30 2008 Paul F. Johnson <paul at all-the-johnsons.co.uk> - 1.0-2.svn89877
- Fix for svn
- corrected BR
- removed useless rm -f line in prep
* Tue Apr 29 2008 Paul F. Johnson <paul at all-the-johnsons.co.uk> - 1.0-1
- Initial import
- Changed the number from 89788 to 1 as 89788 is a silly number for a version
gtksv2-config.patch:
--- NEW FILE gtksv2-config.patch ---
--- gtksourceview2-sharp-89788/configure.in 2007-12-21 05:09:54.000000000 +0000
+++ gtksourceview2-sharp-89788/configure-new.in 2008-04-30 10:11:07.000000000 +0100
@@ -54,7 +54,7 @@
AC_MSG_ERROR([No gacutil tool found])
fi
-GACUTIL_FLAGS='/package gtksourceview2-sharp /root $(DESTDIR)$(prefix)/lib'
+GACUTIL_FLAGS='/package gtksourceview2-sharp /root $(DESTDIR)/@libdir@'
AC_SUBST(RUNTIME)
AC_SUBST(CSC)
--- gtksourceview2-sharp-89788/gtksourceview2-sharp.pc.in 2007-12-21 04:46:18.000000000 +0000
+++ gtksourceview2-sharp-89788/gtksourceview2-sharp.pc-new.in 2008-04-30 10:10:01.000000000 +0100
@@ -7,4 +7,4 @@
Description: GtkSourceView# - gtksourceview .NET Binding
Version: @VERSION@
Requires: gtk-sharp-2.0
-Libs: -r:${prefix}/lib/mono/gtksourceview2-sharp/gtksourceview2-sharp.dll
+Libs: -r:${libdir}/mono/gtksourceview2-sharp/gtksourceview2-sharp.dll
--- gtksourceview2-sharp-89788/Makefile.am 2007-12-21 04:46:18.000000000 +0000
+++ gtksourceview2-sharp-89788/Makefile-new.am 2008-04-30 10:09:17.000000000 +0100
@@ -3,6 +3,6 @@
DISTCLEANFILES = gtksourceview2-sharp.pc
EXTRA_DIST= gtksourceview2-sharp.pc.in gtk-sharp.snk
-pkgconfigdir = $(prefix)/lib/pkgconfig
+pkgconfigdir = @libdir@/pkgconfig
pkgconfig_DATA = gtksourceview2-sharp.pc
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gtksourceview2-sharp/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 6 May 2008 16:23:40 -0000 1.1
+++ .cvsignore 16 May 2008 10:09:21 -0000 1.2
@@ -0,0 +1 @@
+gtksourceview2-sharp-89788.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gtksourceview2-sharp/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 6 May 2008 16:23:40 -0000 1.1
+++ sources 16 May 2008 10:09:21 -0000 1.2
@@ -0,0 +1 @@
+3091551bd3ae668f2a0abc219130a0dd gtksourceview2-sharp-89788.tar.bz2
More information about the fedora-extras-commits
mailing list