Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > by-pkgid > a67d1e49b9ae722264120a88618d612b > files > 2

ocaml-cgi-0.8-7mdv2009.1.src.rpm

%define up_name cgi
%define name	ocaml-%{up_name}
%define version	0.8
%define release	%mkrel 7

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	Objective Caml library for writing CGIs
Source: 	http://www.lri.fr/~filliatr/ftp/ocaml/cgi/%{up_name}-%{version}.tar.bz2
URL:		http://www.lri.fr/~filliatr/ftp/ocaml/cgi
License:	GPL
Group:		Development/Other
BuildRequires:	ocaml
BuildRoot:	%{_tmppath}/%{name}-%{version}

%description
This library provides a function to parse the CGI arguments, parse_args,
the result being an association list

%package devel
Summary:	Development files for %{name}
Group:		Development/Other
Requires:	%{name} = %{version}-%{release}

%description devel
This package contains the development files needed to build applications
using %{name}.

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

%build
%configure
%make

%install
rm -rf %{buildroot}
install -d -m 755 %{buildroot}/%{ocaml_sitelib}/cgi
make install TARGETDIR=%{buildroot}/%{ocaml_sitelib}/cgi

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc CHANGES COPYING LGPL
%dir %{ocaml_sitelib}/cgi
%{ocaml_sitelib}/cgi/*.cmi

%files devel
%defattr(-,root,root)
%{ocaml_sitelib}/cgi/*
%exclude %{ocaml_sitelib}/cgi/*.cmi


%changelog
* Tue Dec 09 2008 Pixel <pixel@mandriva.com> 0.8-7mdv2009.1
+ Revision: 312253
- rebuild

* Wed Jul 30 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.8-6mdv2009.0
+ Revision: 254189
- rebuild

* Tue Mar 04 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.8-4mdv2008.1
+ Revision: 178365
- rebuild

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

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

* Sat Sep 01 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.8-3mdv2008.0
+ Revision: 77597
- fix missing interdependency

* Sat Sep 01 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.8-2mdv2008.0
+ Revision: 77587
- drop macro definition, now in rpm-mandriva-setup
  ship .cmi file in non-devel subpackage


* Tue Feb 20 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.8-1mdv2007.0
+ Revision: 122959

* Tue Feb 20 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.8-1mdv2007.1
- first mdv release