rpms/ocaml-dbus/F-8 ocaml-dbus.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
Wed Feb 13 11:24:36 UTC 2008
- Previous message (by thread): rpms/unison/F-8 .cvsignore, 1.2, 1.3 sources, 1.4, 1.5 unison.spec, 1.15, 1.16
- Next message (by thread): rpms/ocaml-dbus/devel ocaml-dbus.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rjones
Update of /cvs/pkgs/rpms/ocaml-dbus/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18831/F-8
Modified Files:
.cvsignore sources
Added Files:
ocaml-dbus.spec
Log Message:
Initial import on F-8 branch.
--- NEW FILE ocaml-dbus.spec ---
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
%define debug_package %{nil}
Name: ocaml-dbus
Version: 0.03
Release: 2%{?dist}
Summary: OCaml library for using D-Bus
Group: Development/Libraries
License: LGPLv2
URL: http://tab.snarc.org/projects/ocaml_dbus/
Source0: http://tab.snarc.org/download/ocaml/ocaml_dbus-0.03.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExcludeArch: ppc64
BuildRequires: ocaml >= 3.10.0-7, ocaml-findlib
BuildRequires: dbus-devel
%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
D-Bus is a project that permits programs to communicate with each
other, using a simple IPC protocol. This is an OCaml binding for
D-Bus.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and signature files for
developing applications that use %{name}.
%prep
%setup -q -n ocaml_dbus-%{version}
%build
make
if ! test -f "README"; then
cat > README <<_EOF
OCaml D-BUS bindings version %{version}.
Please see the main website for documentation:
http://tab.snarc.org/projects/ocaml_dbus/
_EOF
fi
%install
# These rules work if the library uses 'ocamlfind install' to install itself.
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 OCAMLDESTDIR=$OCAMLFIND_DESTDIR install
strip -s $OCAMLFIND_DESTDIR/stublibs/dlldbus_stubs.so
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README
%{_libdir}/ocaml/dbus
%if %opt
%exclude %{_libdir}/ocaml/dbus/*.a
%exclude %{_libdir}/ocaml/dbus/*.cmxa
%exclude %{_libdir}/ocaml/dbus/*.cmx
%endif
%exclude %{_libdir}/ocaml/dbus/*.mli
%{_libdir}/ocaml/stublibs/*.so
%{_libdir}/ocaml/stublibs/*.so.owner
%files devel
%defattr(-,root,root,-)
%doc README
%if %opt
%{_libdir}/ocaml/dbus/*.a
%{_libdir}/ocaml/dbus/*.cmxa
%{_libdir}/ocaml/dbus/*.cmx
%endif
%{_libdir}/ocaml/dbus/*.mli
%changelog
* Tue Jan 8 2008 Richard W.M. Jones <rjones at redhat.com> - 0.03-2
- BR dbus-devel.
- Fix a typo in the description.
- Initial RPM release.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-dbus/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 12 Feb 2008 17:40:58 -0000 1.1
+++ .cvsignore 13 Feb 2008 11:23:59 -0000 1.2
@@ -0,0 +1 @@
+ocaml_dbus-0.03.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-dbus/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 12 Feb 2008 17:40:58 -0000 1.1
+++ sources 13 Feb 2008 11:23:59 -0000 1.2
@@ -0,0 +1 @@
+7ba9095b407f919baa728e28b569308f ocaml_dbus-0.03.tar.bz2
- Previous message (by thread): rpms/unison/F-8 .cvsignore, 1.2, 1.3 sources, 1.4, 1.5 unison.spec, 1.15, 1.16
- Next message (by thread): rpms/ocaml-dbus/devel ocaml-dbus.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list