lablgtk/lablgtk.spec

78 lines
2.0 KiB
RPMSpec

Name: lablgtk
Version: 2.18.7
Release: 1mamba
Summary: LablGtk is an OCaml interface to GTK+ 1.2, 2.x, and 3.x
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://lablgtk.forge.ocamlcore.org/
Source: https://forge.ocamlcore.org/frs/download.php/1773/lablgtk-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libGConf-devel
BuildRequires: libICE-devel
BuildRequires: libORBit2-devel
BuildRequires: libSM-devel
BuildRequires: libart_lgpl-devel
BuildRequires: libatk-devel
BuildRequires: libbonobo-devel
BuildRequires: libbonoboui-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglade-devel
BuildRequires: libglib-devel
BuildRequires: libgnome-devel
BuildRequires: libgnome-vfs-devel
BuildRequires: libgnomecanvas-devel
BuildRequires: libgnomeui-devel
BuildRequires: libgtk2-devel
BuildRequires: libgtksourceview2-devel
BuildRequires: libgtkspell-devel
BuildRequires: libpango-devel
BuildRequires: libpopt-devel
BuildRequires: librsvg-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
BuildRequires: ocaml
Provides: lablgtk2
Provides: ocaml-labgtk2
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
LablGtk is an OCaml interface to GTK+ 1.2, 2.x, and 3.x.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
rm -f %{buildroot}%{_libdir}/ocaml/ld.conf
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/gdk_pixbuf_mlsource
%{_bindir}/lablgladecc2
%{_bindir}/lablgtk2
%dir %{_libdir}/ocaml/lablgtk2
%{_libdir}/ocaml/lablgtk2/*
%doc COPYING
%changelog
* Sun Apr 21 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.18.7-1mamba
- package created using the webbuild interface