Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > a938bce7d7d968e3ef512b6d9cf0739e > files > 2

gtksourceview-sharp-0.7-4mdk.src.rpm

%define name    gtksourceview-sharp
%define version 0.7
%define release 4mdk

Summary:       GtkSourceView-sharp is a C# language binding for the gtksourceview widget
Name:          %{name}
Version:       %{version}
Release:       %{release}
Source:        http://www.go-mono.com/archive/1.1.5/%{name}-%{version}.tar.bz2
URL:           http://www.go-mono.com
License:       LGPL
Group:         System/Libraries
Requires:      gtksourceview >= 0.7
PreReq:   	monodoc
BuildRequires: gtksourceview-devel >= 0.7
BuildRequires: gnome-sharp2
BuildRequires: monodoc
BuildRequires: mono-devel
BuildRoot:     %{_tmppath}/%{name}-%{version}-buildroot
BuildArch: noarch
Requires: libgtksourceview

%description 
GtkSourceView-sharp is a C# language binding for the gtksourceview widget.

%prep
%setup -q -n %{name}-%{version}

%build
./configure --prefix=%_prefix --libdir=%_libdir
make

%install
rm -rf %buildroot
#mkdir -p %{buildroot}/`monodoc --get-sourcesdir`
%makeinstall apidir=%buildroot%_datadir/gapi docsdir=%{buildroot}/`monodoc --get-sourcesdir` extra_langdir=%buildroot%_datadir/gtksourceview-1.0/language-specs pkgconfigdir=%buildroot%_libdir/pkgconfig

# (mpol) remove conflicting file with gtksourceview-1.1.1
rm -f %{buildroot}/%{_datadir}/gtksourceview-1.0/language-specs/vbnet.lang


%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog README NEWS
%{_libdir}/mono/gac/*
%{_libdir}/mono/gtksourceview-sharp/
%{_libdir}/pkgconfig/*
%_libdir/monodoc/sources/gtksourceview-sharp-docs.*
%{_datadir}/gapi/gtksourceview-api.xml
%{_datadir}/gtksourceview-1.0/language-specs/*

%clean
rm -rf $RPM_BUILD_ROOT

%post
%_bindir/monodoc --make-index > /dev/null

%changelog
* Fri Apr  1 2005 Götz Waschk <waschk@linux-mandrake.com> 0.7-4mdk
- fix dep on libgtksourceview

* Thu Mar 31 2005 Götz Waschk <waschk@linux-mandrake.com> 0.7-3mdk
- fix buildrequires

* Wed Mar 30 2005 Götz Waschk <waschk@linux-mandrake.com> 0.7-2mdk
- fix buildrequires

* Wed Mar 30 2005 Götz Waschk <waschk@linux-mandrake.com> 0.7-1mdk
- make it noarch
- update file list
- New release 0.7

* Tue Nov 16 2004 Marcel Pol <mpol@mandrake.org> 0.5-4mdk
- remove conflicting file vbnet.lang with gtksourceview-1.1.1

* Wed Jul 28 2004 Götz Waschk <waschk@linux-mandrake.com> 0.5-3mdk
- rebuild for new rpm

* Thu Jul  1 2004 Götz Waschk <waschk@linux-mandrake.com> 0.5-2mdk
- remove docs, they are already in the monodoc dir

* Thu Jul  1 2004 Götz Waschk <waschk@linux-mandrake.com> 0.5-1mdk
- call monodoc in the post scripts
- add monodoc stuff
- fix installation
- new version

* Mon Jun 21 2004 Götz Waschk <waschk@linux-mandrake.com> 0.3-3mdk
- remove generic docs
- fix configure call
- fix buildrequires

* Fri Jun 04 2004 Marcel Pol <mpol@mandrake.org> 0.3-2mdk
- don't provide gtkmozembed-sharp
- only own files we really own

* Thu Jun 3 2004 Sandino "Tigrux" Flores <tigrux@ximian.com> 0.3-1mdk
- First rpm for mandrake