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:
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ocaml-findlib
|
# 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>
|
# Copyright (c) 2010-2011 Andrew Psaltis <ampsaltis at gmail dot com>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -25,7 +25,6 @@
|
|||||||
%undefine _build_create_debug
|
%undefine _build_create_debug
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
Name: ocaml-findlib
|
Name: ocaml-findlib
|
||||||
Version: 1.3.3
|
Version: 1.3.3
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -34,18 +33,17 @@ License: MIT
|
|||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
|
|
||||||
Url: http://projects.camlcity.org/projects/findlib.html
|
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
|
Patch0: findlib-1.3.3.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
Provides: ocamlfind = %{version}
|
Provides: ocamlfind = %{version}
|
||||||
|
|
||||||
BuildRequires: ocaml-camlp4-devel
|
|
||||||
BuildRequires: ocaml
|
|
||||||
#BuildRequires: labltk
|
|
||||||
BuildRequires: gawk
|
BuildRequires: gawk
|
||||||
BuildRequires: m4
|
BuildRequires: m4
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
BuildRequires: ocaml
|
||||||
|
BuildRequires: ocaml-camlp4-devel
|
||||||
BuildRequires: ocaml-ocamldoc
|
BuildRequires: ocaml-ocamldoc
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -93,17 +91,12 @@ export NO_BRP_STRIP_DEBUG=true
|
|||||||
%endif
|
%endif
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE doc/README
|
%doc LICENSE doc/README
|
||||||
%config(noreplace) %{_sysconfdir}/ocamlfind.conf
|
%config(noreplace) %{_sysconfdir}/ocamlfind.conf
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man?/*
|
||||||
%{_mandir}/man5/*
|
|
||||||
# Needed for Factory (or 11.4)
|
|
||||||
%{_libdir}/ocaml/bigarray
|
%{_libdir}/ocaml/bigarray
|
||||||
%{_libdir}/ocaml/dbm
|
%{_libdir}/ocaml/dbm
|
||||||
%{_libdir}/ocaml/dynlink
|
%{_libdir}/ocaml/dynlink
|
||||||
@@ -125,9 +118,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%exclude %{_libdir}/ocaml/findlib/*.mli
|
%exclude %{_libdir}/ocaml/findlib/*.mli
|
||||||
%exclude %{_libdir}/ocaml/findlib/Makefile.config
|
%exclude %{_libdir}/ocaml/findlib/Makefile.config
|
||||||
%{_libdir}/ocaml/num-top
|
%{_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
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@@ -138,8 +128,5 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%endif
|
%endif
|
||||||
%{_libdir}/ocaml/findlib/*.mli
|
%{_libdir}/ocaml/findlib/*.mli
|
||||||
%{_libdir}/ocaml/findlib/Makefile.config
|
%{_libdir}/ocaml/findlib/Makefile.config
|
||||||
# These are for the labltk-dependent stuff
|
|
||||||
#%%{_libdir}/ocaml/findlib/make_wizard
|
|
||||||
#%%{_libdir}/ocaml/findlib/make_wizard.pattern
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user