New upstream version 0.4.4.
- Clean up the spec file. - Fix homepage and download URLs.
This commit is contained in:
parent
a7a0b9954c
commit
1414730fd7
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
ocaml-fileutils-0.4.0.tar.gz
|
ocaml-fileutils-0.4.0.tar.gz
|
||||||
|
/ocaml-fileutils-0.4.4.tar.gz
|
||||||
|
@ -1,16 +1,14 @@
|
|||||||
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
%define debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Name: ocaml-fileutils
|
Name: ocaml-fileutils
|
||||||
Version: 0.4.0
|
Version: 0.4.4
|
||||||
Release: 10%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: OCaml library for common file and filename operations
|
Summary: OCaml library for common file and filename operations
|
||||||
|
|
||||||
Group: Development/Libraries
|
|
||||||
License: LGPLv2 with exceptions
|
License: LGPLv2 with exceptions
|
||||||
URL: http://www.gallu.homelinux.org/download/
|
URL: https://forge.ocamlcore.org/projects/ocaml-fileutils/
|
||||||
Source0: http://www.gallu.homelinux.org/download/ocaml-fileutils-%{version}.tar.gz
|
Source0: https://forge.ocamlcore.org/frs/download.php/892/ocaml-fileutils-0.4.4.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
ExcludeArch: sparc64 s390 s390x
|
ExcludeArch: sparc64 s390 s390x
|
||||||
|
|
||||||
BuildRequires: ocaml
|
BuildRequires: ocaml
|
||||||
@ -19,9 +17,6 @@ BuildRequires: ocaml-ocamldoc
|
|||||||
BuildRequires: ocaml-camlp4-devel
|
BuildRequires: ocaml-camlp4-devel
|
||||||
BuildRequires: ocaml-ounit-devel
|
BuildRequires: ocaml-ounit-devel
|
||||||
|
|
||||||
%define _use_internal_dependency_generator 0
|
|
||||||
%define __find_requires /usr/lib/rpm/ocaml-find-requires.sh
|
|
||||||
%define __find_provides /usr/lib/rpm/ocaml-find-provides.sh
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library is intended to provide a basic interface to the most
|
This library is intended to provide a basic interface to the most
|
||||||
@ -36,7 +31,6 @@ abstract filenames.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
|
||||||
@ -55,7 +49,6 @@ make
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
export DESTDIR=$RPM_BUILD_ROOT
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||||
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||||
@ -69,12 +62,7 @@ make htmldir=. install
|
|||||||
make test
|
make test
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%{_libdir}/ocaml/fileutils
|
%{_libdir}/ocaml/fileutils
|
||||||
%if %opt
|
%if %opt
|
||||||
@ -87,7 +75,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc COPYING AUTHOR CHANGELOG README TODO api
|
%doc COPYING AUTHOR CHANGELOG README TODO api
|
||||||
%if %opt
|
%if %opt
|
||||||
%{_libdir}/ocaml/fileutils/*.a
|
%{_libdir}/ocaml/fileutils/*.a
|
||||||
@ -99,6 +86,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 19 2012 Richard W.M. Jones <rjones@redhat.com> - 0.4.4-1
|
||||||
|
- New upstream version 0.4.4.
|
||||||
|
- Clean up the spec file.
|
||||||
|
- Fix homepage and download URLs.
|
||||||
|
|
||||||
* Sat Jul 28 2012 Richard W.M. Jones <rjones@redhat.com> - 0.4.0-10
|
* Sat Jul 28 2012 Richard W.M. Jones <rjones@redhat.com> - 0.4.0-10
|
||||||
- Bump and rebuild against new OCaml 4.00.0 official release.
|
- Bump and rebuild against new OCaml 4.00.0 official release.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user