packages libopenjpeg1.spec
      Pages: < 1 >  DOWNLOAD      
%define _version %(echo %version | tr '.' '_')
%define majver %(echo %version | cut -d. -f1-2)
Name:          libopenjpeg1
Version:       1.5.1
Release:       2mamba
Summary:       An open-source JPEG 2000 codec written in C language
Group:         System/Libraries
Vendor:        openmamba
Distribution:  openmamba
Packager:      Silvan Calarco <silvan.calarco@...>
License:       BSD
BuildRequires: glibc-devel
BuildRequires: liblcms2-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: libz-devel
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

An open-source JPEG 2000 codec written in C language.

%package -n %{name}-devel
Summary:       Static libraries and header for %{name}
Group:         Development/Libraries
Requires:      %{name} = %{?epoch:%epoch:}%{version}-%{release}

%description -n %{name}-devel
An open-source JPEG 2000 codec written in C language.
This package contains static libraries and header files need for development.

%package tools
Group:         Applications/Graphics
Summary:       Utility applications for %{name}
Requires:      %{name} = %{?epoch:%epoch:}%{version}-%{release}

%description tools
This package contains utility applications for %{name}.

%setup -q -n openjpeg-%{version}
#sed -i "s|-o root -g root||" Makefile


[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"


%files devel
%dir %{_includedir}/openjpeg-%{majver}
#%doc README.linux ChangeLog

%files tools

* Wed Jan 23 2013 Silvan Calarco <silvan.calarco@...> 1.5.1-2mamba
- rebuilt as legacy package
- added tools subpackage

* Sat Dec 01 2012 Automatic Build System <autodist@...> 1.5.1-1mamba
- update to 1.5.1

* Fri Nov 20 2009 Silvan Calarco <silvan.calarco@...> 1.3-1mamba
- update to 1.3

* Mon Nov 19 2007 Silvan Calarco <silvan.calarco@...> 1.2-1mamba
- package created by autospec