5986469
Name:		openslide
717c3c4
Version:	3.0.1
ab6e07c
Release:	1%{?dist}
5986469
Summary:	C library for reading virtual slides
5986469
5986469
Group:		System Environment/Libraries
1a3a250
License:	LGPLv2
5986469
URL:		http://openslide.cs.cmu.edu/
717c3c4
Source0:	%{url}download/%{name}-%{version}.tar.xz
5986469
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
5986469
5986469
BuildRequires:	glib2-devel openjpeg-devel libtiff-devel
5986469
BuildRequires:	libjpeg-devel pkgconfig cairo-devel
5986469
5986469
5986469
%description
5986469
The OpenSlide library allows programs to access virtual slide files
5986469
regardless of the underlying image format.
5986469
5986469
5986469
%package	devel
5986469
Summary:	Development files for %{name}
5986469
Group:		Development/Libraries
5986469
Requires:	%{name} = %{version}-%{release}
5986469
Requires:	glib2-devel libtiff-devel openjpeg-devel libjpeg-devel pkgconfig
5986469
5986469
%description	devel
5986469
The %{name}-devel package contains libraries and header files for
5986469
developing applications that use %{name}.
5986469
5986469
1a3a250
%package   	tools
1a3a250
Summary:	Command line tools for %{name}
1a3a250
Group:		Applications/Multimedia
1a3a250
1a3a250
%description	tools
1a3a250
The %{name}-tools package contains command line tools for working
1a3a250
with virtual slides.
1a3a250
1a3a250
5986469
%prep
5986469
%setup -q
5986469
5986469
5986469
%build
5986469
%configure --disable-static
5986469
make %{?_smp_mflags}
5986469
5986469
5986469
%install
5986469
rm -rf $RPM_BUILD_ROOT
5986469
make install DESTDIR=$RPM_BUILD_ROOT
5986469
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
5986469
5986469
5986469
%clean
5986469
rm -rf $RPM_BUILD_ROOT
5986469
5986469
5986469
%post -p /sbin/ldconfig
5986469
5986469
5986469
%postun -p /sbin/ldconfig
5986469
5986469
5986469
%files
5986469
%defattr(-,root,root,-)
717c3c4
%doc README.txt lgpl-2.1.txt TODO.txt LICENSE.txt CHANGELOG.txt
5986469
%{_libdir}/*.so.*
5986469
5986469
5986469
%files devel
5986469
%defattr(-,root,root,-)
5986469
%{_includedir}/%{name}/
5986469
%{_libdir}/*.so
5986469
%{_libdir}/pkgconfig/*.pc
5986469
5986469
1a3a250
%files tools
1a3a250
%defattr(-,root,root,-)
1a3a250
%{_bindir}/*
1a3a250
1a3a250
5986469
%changelog
717c3c4
* Thu Feb  4 2010 Adam Goode <adam@spicenitz.org> - 3.0.1-1
717c3c4
- New upstream release
717c3c4
   + Fix rendering of the edges of TIFF files
717c3c4
   + Include CHANGELOG.txt
717c3c4
1a3a250
* Mon Feb  1 2010 Adam Goode <adam@spicenitz.org> - 3.0.0-1
1a3a250
- New upstream release
1a3a250
   + License change from GPLv2 to LGPLv2
1a3a250
   + Bug fixes
1a3a250
   + Support more MIRAX files
1a3a250
   + Improve perforamance of MIRAX
1a3a250
   + Add some command-line tools
1a3a250
   + Rework API documentation
1a3a250
   + Add some new properties
1a3a250
   + Remove some unimplemented functions from the header file
1a3a250
3a6a552
* Mon Dec 21 2009 Adam Goode <adam@spicenitz.org> - 2.3.1-1
ab6e07c
- New upstream release
3a6a552
   + Support for generic tiled TIFF
3a6a552
   + Bug fixes
3a6a552
   + Try to be less chatty with TIFF output
3a6a552
3a6a552
* Thu Nov 12 2009 Adam Goode <adam@spicenitz.org> - 2.2.1-1
3a6a552
- New upstream release
3a6a552
   + Fix thread safety problems from 2.2.0
ab6e07c
5986469
* Tue Sep 22 2009 Adam Goode <adam@spicenitz.org> - 2.2.0-3
5986469
- Use xz instead of gz
5986469
5986469
* Mon Sep 21 2009 Adam Goode <adam@spicenitz.org> - 2.2.0-2
5986469
- Be more explicit about include directory in files section
5986469
5986469
* Tue Sep 15 2009 Adam Goode <adam@spicenitz.org> - 2.2.0-1
5986469
- New upstream release
5986469
   + Thread safety (sometimes lockless)
5986469
5986469
* Thu Sep 10 2009 Adam Goode <adam@spicenitz.org> - 2.1.0-1
5986469
- New upstream release
5986469
   + MIRAX support
5986469
   + More Aperio support
5986469
   + Properties and associated images support
5986469
   + Bug fixes
5986469
5986469
* Wed Feb 25 2009 Adam Goode <adam@spicenitz.org> - 1.1.1-1
5986469
- New upstream release
5986469
- No more included OpenJPEG
5986469
- Much faster rendering and loading
5986469
5986469
* Tue Dec  9 2008 Adam Goode <adam@spicenitz.org> - 1.0.0-1
5986469
- First release