Blob Blame History Raw
Name:           ocaml-autoconf
Version:        1.0
Release:        1%{?dist}
Summary:        Autoconf macros for OCaml

Group:          Development/Libraries

# https://fedoraproject.org/wiki/Licensing/BSD#3ClauseBSD
License:        BSD

URL:            http://forge.ocamlcore.org/projects/ocaml-autoconf/
Source0:        https://forge.ocamlcore.org/frs/download.php/181/%{name}-%{version}.tar.gz

BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  /usr/bin/perldoc


%description
Autoconf macros for OCaml.


%prep
%setup -q -n ocaml-autoconf


%build
make


%install
rm -rf $RPM_BUILD_ROOT
make install \
  prefix=%{_prefix} \
  datadir=%{_datadir} \
  mandir=%{_mandir} \
  DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README LICENSE
%{_mandir}/man1/*.1*
%{_datadir}/ocaml-autoconf/


%changelog
* Tue Mar 31 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0-1
- Upstream has released version 1.0 and it is properly licensed.

* Thu Jan 22 2009 Richard W.M. Jones <rjones@redhat.com> - 0.1-0.1.git20090122
- Initial RPM release.