Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 939dfc84d36774044e10327ab98384fa > files > 3

mono-curses-0.2-0.r128192.3mdv2010.1.src.rpm

%define name mono-curses
%define version 0.2
%define svn r128192
%define release %mkrel 0.%svn.3

Summary: Mono library for writing simple curses UIs
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{svn}.tar.bz2
#gw this is automatically generated at build time by attrib, but this does
# not work in iurt
Source1: constants.cs
Patch: monotorrent-curses-makefile.patch
License: MIT
Group: Development/Other
Url: http://www.mono-project.com/MonoCurses
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: mono-devel
BuildRequires: libncurses-devel
BuildRequires: monodoc
Provides: monotorrent-curses
Obsoletes: monotorrent-curses

%description
This is a library for writing curses UIs in Mono.

%package doc
Summary: Development documentation for %name
Group: Development/Other
Requires(post): mono-tools >= 1.1.9
Requires(postun): mono-tools >= 1.1.9
Provides: monotorrent-curses-doc
Obsoletes: monotorrent-curses-doc


%description doc
This package contains the API documentation for the %name in
Monodoc format.

%prep
%setup -q -n mono-curses
%patch
cp %SOURCE1 .

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

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall 
%if %_lib != lib
mkdir -p %buildroot%_libdir
mv %buildroot%_prefix/lib/{*.so,pkgconfig} %buildroot%_libdir

%endif

%post doc
%_bindir/monodoc --make-index > /dev/null
%postun doc
if [ "$1" = "0" -a -x %_bindir/monodoc ]; then %_bindir/monodoc --make-index > /dev/null
fi


%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README AUTHORS
%_libdir/libmono-curses.so
%_libdir/pkgconfig/mono-curses.pc
%_prefix/lib/mono/gac/mono-curses
%_prefix/lib/mono/mono-curses



%files doc
%defattr(-,root,root)
%doc ChangeLog
%_prefix/lib/monodoc/sources/mono-curses.*


%changelog
* Fri Dec 11 2009 Götz Waschk <waschk@mandriva.org> 0.2-0.r128192.3mdv2010.1
+ Revision: 476298
- rebuild for new webkit-sharp

* Mon Sep 14 2009 Thierry Vignaud <tvignaud@mandriva.com> 0.2-0.r128192.2mdv2010.0
+ Revision: 440064
- rebuild

* Fri Feb 27 2009 Götz Waschk <waschk@mandriva.org> 0.2-0.r128192.1mdv2009.1
+ Revision: 345481
- rename the package
- copy from monotorrent-curses
- new snapshot
- fix build
- update file list

* Tue Jun 24 2008 Götz Waschk <waschk@mandriva.org> 0.2-0.r102179.2mdv2009.0
+ Revision: 228504
- rebuild for new monotorrent

* Wed Apr 30 2008 Götz Waschk <waschk@mandriva.org> 0.2-0.r102179.1mdv2009.0
+ Revision: 199422
- work around build bot bug
- new version
- drop source 1
- fix make file
- bump deps
- add doc subpackage
- fix deps

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Fri Apr 27 2007 Götz Waschk <waschk@mandriva.org> 0.1-1mdv2008.0
+ Revision: 18485
- Import monotorrent-curses