rpms/ocaml-json-static/F-9 ocaml-json-static.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Richard W.M. Jones (rjones) fedora-extras-commits at redhat.com
Tue May 13 18:25:28 UTC 2008


Author: rjones

Update of /cvs/pkgs/rpms/ocaml-json-static/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24513/F-9

Modified Files:
	.cvsignore sources 
Added Files:
	ocaml-json-static.spec 
Log Message:
Initial import.



--- NEW FILE ocaml-json-static.spec ---
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
%define debug_package %{nil}

Name:           ocaml-json-static
Version:        0.9.6
Release:        3%{?dist}
Summary:        OCaml JSON validator and converter (syntax extension)

Group:          Development/Libraries
License:        BSD
URL:            http://martin.jambon.free.fr/json-static.html
Source0:        http://martin.jambon.free.fr/json-static-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  ocaml >= 3.10.0
BuildRequires:  ocaml-findlib-devel
BuildRequires:  ocaml-ocamldoc
BuildRequires:  ocaml-camlp4-devel

# Make this dependency explicit because users won't be able
# to do much useful without it, and the automatic dependency
# checking script cannot pick it up.
Requires:       ocaml-json-wheel

%define _use_internal_dependency_generator 0
%define __find_requires /usr/lib/rpm/ocaml-find-requires.sh
%define __find_provides /usr/lib/rpm/ocaml-find-provides.sh


%description
json-static is a tool for converting parsed JSON data with an
unchecked structure into specialized OCaml types and vice-versa.
It is a complement to the json-wheel library which provides a
parser and a (pretty-) printer.


%prep
%setup -q -n json-static-%{version}


%build
make


%install
rm -rf $RPM_BUILD_ROOT
export DESTDIR=$RPM_BUILD_ROOT
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
make install


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc LICENSE README Changes yahoo.ml
%{_libdir}/ocaml/json-static


%changelog
* Mon May 10 2008 Richard W.M. Jones <rjones at redhat.com> - 0.9.6-3
- Fixed the description.

* Wed Mar  5 2008 Richard W.M. Jones <rjones at redhat.com> - 0.9.6-2
- Remove ExcludeArch ppc64.

* Thu Feb 28 2008 Richard W.M. Jones <rjones at redhat.com> - 0.9.6-1
- Initial RPM release.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-json-static/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	13 May 2008 16:59:36 -0000	1.1
+++ .cvsignore	13 May 2008 18:24:34 -0000	1.2
@@ -0,0 +1 @@
+json-static-0.9.6.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-json-static/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 May 2008 16:59:36 -0000	1.1
+++ sources	13 May 2008 18:24:34 -0000	1.2
@@ -0,0 +1 @@
+7ffc8c00353a6fc14fde490c4edeb1d0  json-static-0.9.6.tar.bz2




More information about the fedora-extras-commits mailing list