]> git.pld-linux.org Git - packages/ocamldsort.git/commitdiff
- refreshed ocaml template, verbose bin/man files, GPL version, better Group master
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 25 Dec 2021 20:28:22 +0000 (21:28 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 25 Dec 2021 20:28:22 +0000 (21:28 +0100)
ocamldsort.spec

index 3c92177dfafb3870950c59f35ba49657d3df05d1..f3962feca57972f5e2746bfba839da8186a7a63c 100644 (file)
@@ -1,26 +1,26 @@
 #
 # Conditional build:
-%bcond_without ocaml_opt       # skip building native optimized binaries (bytecode is always built)
+%bcond_without ocaml_opt       # native optimized binaries (bytecode is always built)
 
-# not yet available on x32 (ocaml 4.02.1), remove when upstream will support it
-%ifnarch %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9
+# not yet available on x32 (ocaml 4.02.1), update when upstream will support it
+%ifnarch %{ix86} %{x8664} %{arm} aarch64 ppc sparc sparcv9
 %undefine      with_ocaml_opt
 %endif
 
 %define                _enable_debug_packages  0
 
-Summary:       Dependency sort tool for ocaml sources
-Summary(pl.UTF-8):     Program do sortowania zależności dla ocamla
+Summary:       Dependency sort tool for OCaml sources
+Summary(pl.UTF-8):     Program do sortowania zależności dla OCamla
 Name:          ocamldsort
 Version:       0.16.0
 Release:       1
-License:       GPL
-Group:         Libraries
+License:       GPL v2+
+Group:         Development/Tools
 Source0:       %{name}-%{version}.tar.gz
 # Source0-md5: a435419deb26286d1994cdcbe4876df4
 URL:           http://www.normalesup.org/~ara/informatique.html
-BuildRequires: ocaml >= 4.00
-BuildRequires: ocaml-camlp4 >= 4.00
+BuildRequires: ocaml >= 1:4.00
+BuildRequires: ocaml-camlp4 >= 1:4.00
 %requires_eq   ocaml-runtime
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -37,7 +37,7 @@ file for a typical makefile.
 
 %description -l pl.UTF-8
 Komenda ocamldsort skanuje a następnie sortuje zbiór plików źródłowych
-Ocamla (.ml i .mli). Sortowanie odbywa się z uwzględnieniem zachowania
+OCamla (.ml i .mli). Sortowanie odbywa się z uwzględnieniem zachowania
 zależności między plikami. Posortowane nazwy plików wypisywane są w
 kolejności umożliwiającej ich łatwe skonsolidowanie. ocamldsort może
 być używane do kompilacji prostych projektów jako tak zwany
@@ -61,7 +61,7 @@ install ocamldsort.opt        $RPM_BUILD_ROOT%{_bindir}/ocamldsort
 %else
 install ocamldsort     $RPM_BUILD_ROOT%{_bindir}/ocamldsort
 %endif
-install ocamldsort.1   $RPM_BUILD_ROOT%{_mandir}/man1
+cp -p ocamldsort.1     $RPM_BUILD_ROOT%{_mandir}/man1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -69,5 +69,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README Changes THANKS
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man?/*
+%attr(755,root,root) %{_bindir}/ocamldsort
+%{_mandir}/man1/ocamldsort.1*
This page took 0.069984 seconds and 4 git commands to generate.