Author: qboosh Date: Sat Jul 23 06:33:22 2011 GMT Module: packages Tag: HEAD ---- Log message: - new, untested
---- Files affected: packages/ocaml-augeas: ocaml-augeas.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/ocaml-augeas/ocaml-augeas.spec diff -u /dev/null packages/ocaml-augeas/ocaml-augeas.spec:1.1 --- /dev/null Sat Jul 23 08:33:22 2011 +++ packages/ocaml-augeas/ocaml-augeas.spec Sat Jul 23 08:33:17 2011 @@ -0,0 +1,82 @@ +# $Revision$, $Date$ +# TODO: optflags? +Summary: Augeas binding for OCaml +Summary(pl.UTF-8): Wiązania augeasa dla OCamla +Name: ocaml-augeas +Version: 0.4 +Release: 1 +License: LGPL v2+ +Group: Libraries +Source0: http://augeas.net/download/ocaml/%{name}-%{version}.tar.gz +# Source0-md5: c18c3c794e945336acda222046f8416b +BuildRequires: augeas-devel +BuildRequires: ocaml >= 3.04-7 +BuildRequires: ocaml-findlib +%requires_eq ocaml-runtime +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This package contains files needed to run bytecode executables using +augeas library. + +%description -l pl.UTF-8 +Pakiet ten zawiera binaria potrzebne do uruchamiania programów +używających biblioteki augeas. + +%package devel +Summary: Augeas binding for OCaml - development part +Summary(pl.UTF-8): Wiązania augeasa dla OCamla - cześć programistyczna +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +%requires_eq ocaml + +%description devel +This package contains files needed to develop OCaml programs using +augeas library. + +%description devel -l pl.UTF-8 +Pakiet ten zawiera pliki niezbędne do tworzenia programów używających +biblioteki augeas. + +%prep +%setup -q + +%build +%configure + +%{__make} -j1 + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/{augeas,stublibs} + +install augeas.{cmi,cmx} libmlaugeas.a mlaugeas.{a,cma,cmxa} $RPM_BUILD_ROOT%{_libdir}/ocaml/augeas +install dllmlaugeas.so $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs +install -D META $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/augeas/META + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/ocaml/stublibs/dllmlaugeas.so + +%files devel +%defattr(644,root,root,755) +%doc augeas.mli +%dir %{_libdir}/ocaml/augeas +%{_libdir}/ocaml/augeas/augeas.cm[ix] +%{_libdir}/ocaml/augeas/libmlaugeas.a +%{_libdir}/ocaml/augeas/mlaugeas.a +%{_libdir}/ocaml/augeas/mlaugeas.cm[ax]* +%{_libdir}/ocaml/site-lib/augeas + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2011/07/23 06:33:17 qboosh +- new, untested + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
