Initial import.

This commit is contained in:
Richard W.M. Jones 2009-05-22 22:01:42 +00:00
parent 24d5de2acc
commit 1b1349dc05
1 changed files with 57 additions and 0 deletions

57
ocaml-autoconf.spec Normal file
View File

@ -0,0 +1,57 @@
Name: ocaml-autoconf
Version: 1.0
Release: 1
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.