forked from pool/ocaml-findlib
cosmetic specfile changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-findlib?expand=0&rev=24
This commit is contained in:
parent
1ae5b5ec38
commit
3abf52d4c1
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ocaml-findlib
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2010-2011 Andrew Psaltis <ampsaltis at gmail dot com>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -25,7 +25,6 @@
|
||||
%undefine _build_create_debug
|
||||
%endif
|
||||
|
||||
|
||||
Name: ocaml-findlib
|
||||
Version: 1.3.3
|
||||
Release: 0
|
||||
@ -34,18 +33,17 @@ License: MIT
|
||||
Group: Development/Libraries/Other
|
||||
|
||||
Url: http://projects.camlcity.org/projects/findlib.html
|
||||
Source0: http://download.camlcity.org/download/findlib-%{version}.tar.xz
|
||||
Source0: findlib-%{version}.tar.xz
|
||||
Patch0: findlib-1.3.3.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
Provides: ocamlfind = %{version}
|
||||
|
||||
BuildRequires: ocaml-camlp4-devel
|
||||
BuildRequires: ocaml
|
||||
#BuildRequires: labltk
|
||||
BuildRequires: gawk
|
||||
BuildRequires: m4
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: ocaml
|
||||
BuildRequires: ocaml-camlp4-devel
|
||||
BuildRequires: ocaml-ocamldoc
|
||||
|
||||
%description
|
||||
@ -93,17 +91,12 @@ export NO_BRP_STRIP_DEBUG=true
|
||||
%endif
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE doc/README
|
||||
%config(noreplace) %{_sysconfdir}/ocamlfind.conf
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man5/*
|
||||
# Needed for Factory (or 11.4)
|
||||
%{_mandir}/man?/*
|
||||
%{_libdir}/ocaml/bigarray
|
||||
%{_libdir}/ocaml/dbm
|
||||
%{_libdir}/ocaml/dynlink
|
||||
@ -125,9 +118,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%exclude %{_libdir}/ocaml/findlib/*.mli
|
||||
%exclude %{_libdir}/ocaml/findlib/Makefile.config
|
||||
%{_libdir}/ocaml/num-top
|
||||
# These are for the labltk-dependent stuff
|
||||
#%%exclude %%{_libdir}/ocaml/findlib/make_wizard
|
||||
#%%exclude %%{_libdir}/ocaml/findlib/make_wizard.pattern
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
@ -138,8 +128,5 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%endif
|
||||
%{_libdir}/ocaml/findlib/*.mli
|
||||
%{_libdir}/ocaml/findlib/Makefile.config
|
||||
# These are for the labltk-dependent stuff
|
||||
#%%{_libdir}/ocaml/findlib/make_wizard
|
||||
#%%{_libdir}/ocaml/findlib/make_wizard.pattern
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user