Sophie

Sophie

distrib > Fedora > 16 > x86_64 > media > os-src > by-pkgid > bf0a16c3376ad87f83b3e3c4360de909 > files > 5

monotone-viz-1.0.2-4.fc15.src.rpm

Name:           monotone-viz
Version:        1.0.2
Release:        4%{?dist}
Summary:        GNOME application that visualizes Monotone ancestry graphs
Group:          Development/Tools
License:        GPLv2+
URL:            http://oandrieu.nerim.net/monotone-viz/
Source0:        %{url}/%{name}-%{version}-nolablgtk.tar.gz
Source1:        monotone-viz.desktop
Patch0:         monotone-viz-1.0.2-new-stdio.patch
Patch1:         monotone-viz-1.0.2-dot.patch
BuildRequires:  ocaml
BuildRequires:  ocaml-camlp4-devel
BuildRequires:  ocaml-lablgtk-devel
BuildRequires:  gtk2-devel
BuildRequires:  libgnomecanvas-devel
BuildRequires:  desktop-file-utils
BuildRequires:  ImageMagick
Requires:       monotone >= 0.46
Requires:       graphviz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExcludeArch:    sparc64 s390 s390x

# Apparently necessary exclusion for ocaml packages.
ExcludeArch:    ppc64


%description
This is a small GNOME application to visualize Monotone ancestry graphs.


%prep
%setup0 -q
%patch0 -p0 -b .new-stdio
%patch1 -p0 -b .dot


%build
%configure --without-local-lablgtk
make %{?_smp_mflags}

convert icon.ml %{name}.png

%{__cp} -a %{SOURCE1} %{name}.desktop


%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

%{__install} -m 644 -D -p %{name}.png \
             %{buildroot}%{_datadir}/pixmaps/%{name}.png
desktop-file-install --dir %{buildroot}%{_datadir}/applications \
                     --vendor="" \
                     %{name}.desktop


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc README NEWS COPYING
%{_bindir}/monotone-viz
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png


%changelog
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Tue Jul  6 2010 Thomas Moschny <thomas.moschny@gmx.de> - 1.0.2-3
- Update patch to better support monotone-0.46 and later.
- Add patch to workaround broken dot "-y" option.

* Fri Jan 29 2010 Thomas Moschny <thomas.moschny@gmx.de> - 1.0.2-2
- Add patch from Stéphane Gimenez for monotone >= 0.46.

* Thu Jan 21 2010 Thomas Moschny <thomas.moschny@gmx.de> - 1.0.2-1
- Update to 1.0.2.
- Patch to avoid name clash with ocaml-lablgtk is no longer necessary.
- Minor specfile cleanups.

* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Thu Apr 16 2009 S390x secondary arch maintainer <fedora-s390x@lists.fedoraproject.org>
- ExcludeArch sparc64, s390, s390x as we don't have OCaml on those archs
  (added sparc64 per request from the sparc maintainer)

* Thu Feb 26 2009 Thomas Moschny <thomas.moschny@gmx.de> - 1.0.1-4
- Add patch to avoid name clash with ocaml-lablgtk-2.12.
- Untabify spec file.

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.1-2
- Autorebuild for GCC 4.3

* Mon Jan 21 2008 Roland McGrath <roland@redhat.com> - 1.0.1-1
- New package.
  - Thanks to Thomas Moschny <thomas.moschny@gmx.de> for .desktop file.