Group :: Desenvolvimento/Outros
RPM: ocamldsort
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: ocamldsort
Version: 0.12
Release: alt3.1
Group: Development/Other
Summary: Makefile helper for OCaml
License: GPL
Packager: Vitaly Lugovsky <vsl at altlinux.ru>
Source: http://dimitri.mutu.net/files/ocamldsort-0.12.tar.gz
Patch: ocamldsort-shared.hack
Patch1: ocamldsort-version.patch
Patch2: ocamldsort-version2.patch
# Automatically added by buildreq on Thu Dec 25 2003
BuildRequires: camlp4 ocaml-runtime
BuildRequires: ocaml >= 3.07, camlp4
%description
The ocamldsort command scans a set of Objective Caml source files (.ml and
.mli files) and sort them according to their dependencies in order to link
their corresponding .cmo files.
%prep
%setup
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
./configure
make
%install
%define _compress_method skip
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1/
mkdir -p $RPM_BUILD_ROOT/usr/bin/
cp ocamldsort.opt $RPM_BUILD_ROOT/usr/bin/ocamldsort
gzip ocamldsort.1
cp ocamldsort.1.gz $RPM_BUILD_ROOT/usr/share/man/man1/
%files
/usr/bin/*
/usr/share/man/man1/*
%doc README
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.12
Release: alt3.1
Group: Development/Other
Summary: Makefile helper for OCaml
License: GPL
Packager: Vitaly Lugovsky <vsl at altlinux.ru>
Source: http://dimitri.mutu.net/files/ocamldsort-0.12.tar.gz
Patch: ocamldsort-shared.hack
Patch1: ocamldsort-version.patch
Patch2: ocamldsort-version2.patch
# Automatically added by buildreq on Thu Dec 25 2003
BuildRequires: camlp4 ocaml-runtime
BuildRequires: ocaml >= 3.07, camlp4
%description
The ocamldsort command scans a set of Objective Caml source files (.ml and
.mli files) and sort them according to their dependencies in order to link
their corresponding .cmo files.
%prep
%setup
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
./configure
make
%install
%define _compress_method skip
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1/
mkdir -p $RPM_BUILD_ROOT/usr/bin/
cp ocamldsort.opt $RPM_BUILD_ROOT/usr/bin/ocamldsort
gzip ocamldsort.1
cp ocamldsort.1.gz $RPM_BUILD_ROOT/usr/share/man/man1/
%files
/usr/bin/*
/usr/share/man/man1/*
%doc README
%changelog
…
Todas as alterações você pod ver aqui