Blame | Last modification | View Log | Download | RSS feed
## spec file for package: exiv2## This file and all modifications and additions to the pristine# package are under the same license as the package itself.## includes module(s):#%include Solaris.inc%ifarch amd64 sparcv9%include arch64.inc%use exiv2_64 = exiv2-base.spec%endif%include base.inc%use exiv2 = exiv2-base.specName: exiv2Version: %{exiv2.version}Summary: Image Metadata Library and ToolsLicense: GPLv2Distribution: OpenSolarisVendor: OpenSolaris CommunityUrl: http://www.exiv2.org/SUNW_BaseDir: %{_basedir}SUNW_Copyright: %{name}.copyright%include default-depend.incBuildRequires: sunstudio12u1BuildRequires: SUNWggrpBuildRequires: SUNWgmakeBuildRequires: SUNWzlibBuildRequires: SUNWlexptRequires: SUNWzlibRequires: SUNWlexptMeta(info.maintainer): James Lee <jlee@thestaticvoid.com>Meta(info.upstream): Andreas Huggel <ahuggel@gmx.net>Meta(info.upstream_url): http://www.exiv2.org/Meta(info.classification): org.opensolaris.category.2008:Applications/Graphics and Imaging%descriptionExiv2 is a C++ library and a command line utility to manage image metadata.It provides fast and easy read and write access to the Exif, IPTC and XMPmetadata of images in various formats.This package contains the shared libraries and executables.%package develSummary: Headers for exiv2Requires: %{name}%description develExiv2 is a C++ library and a command line utility to manage image metadata.It provides fast and easy read and write access to the Exif, IPTC and XMPmetadata of images in various formats.This package contains the exiv2 development files.%preprm -rf %{name}-%{version}mkdir %{name}-%{version}%ifarch amd64 sparcv9mkdir %{name}-%{version}/%{_arch64}%exiv2_64.prep -d %{name}-%{version}/%{_arch64}%endifmkdir %{name}-%{version}/%{base_arch}%exiv2.prep -d %{name}-%{version}/%{base_arch}%build%ifarch amd64 sparcv9%exiv2_64.build -d %{name}-%{version}/%{_arch64}%endif%exiv2.build -d %{name}-%{version}/%{base_arch}%installrm -rf $RPM_BUILD_ROOT%ifarch amd64 sparcv9%exiv2_64.install -d %{name}-%{version}/%{_arch64}%endif%exiv2.install -d %{name}-%{version}/%{base_arch}%if %can_isaexecmkdir $RPM_BUILD_ROOT%{_bindir}/%{base_isa}mv $RPM_BUILD_ROOT%{_bindir}/exiv2 $RPM_BUILD_ROOT%{_bindir}/%{base_isa}cd $RPM_BUILD_ROOT%{_bindir}ln -s ../lib/isaexec exiv2%endif%files%defattr(-,root,bin)%ifarch amd64 sparcv9%{_bindir}/%{_arch64}/exiv2%{_libdir}/%{_arch64}/libexiv2.so.6.0.0%{_libdir}/%{_arch64}/libexiv2.so.6%endif%if %can_isaexec%{_bindir}/%{base_isa}/exiv2%hard %{_bindir}/exiv2%else%{_bindir}/exiv2%endif%{_libdir}/libexiv2.so.6.0.0%{_libdir}/libexiv2.so.6%attr(755,root,sys) %dir %{_datadir}%dir %{_mandir}%dir %{_mandir}/man1%{_mandir}/man1/exiv2.1%attr(-,root,other) %{_datadir}/locale%files devel%defattr(-,root,bin)%ifarch amd64 sparcv9%{_libdir}/%{_arch64}/libexiv2.so%attr(-,root,other) %dir %{_libdir}/%{_arch64}/pkgconfig%{_libdir}/%{_arch64}/pkgconfig/exiv2.pc%endif%{_libdir}/libexiv2.so%attr(-,root,other) %dir %{_libdir}/pkgconfig%{_libdir}/pkgconfig/exiv2.pc%{_includedir}/exiv2/exv_conf.h%{_includedir}/exiv2/mn.hpp%{_includedir}/exiv2/rcsid.hpp%{_includedir}/exiv2/basicio.hpp%{_includedir}/exiv2/bmpimage.hpp%{_includedir}/exiv2/canonmn.hpp%{_includedir}/exiv2/convert.hpp%{_includedir}/exiv2/cr2image.hpp%{_includedir}/exiv2/crwimage.hpp%{_includedir}/exiv2/datasets.hpp%{_includedir}/exiv2/easyaccess.hpp%{_includedir}/exiv2/error.hpp%{_includedir}/exiv2/exif.hpp%{_includedir}/exiv2/futils.hpp%{_includedir}/exiv2/fujimn.hpp%{_includedir}/exiv2/gifimage.hpp%{_includedir}/exiv2/image.hpp%{_includedir}/exiv2/iptc.hpp%{_includedir}/exiv2/jp2image.hpp%{_includedir}/exiv2/jpgimage.hpp%{_includedir}/exiv2/metadatum.hpp%{_includedir}/exiv2/minoltamn.hpp%{_includedir}/exiv2/mrwimage.hpp%{_includedir}/exiv2/nikonmn.hpp%{_includedir}/exiv2/olympusmn.hpp%{_includedir}/exiv2/orfimage.hpp%{_includedir}/exiv2/panasonicmn.hpp%{_includedir}/exiv2/pgfimage.hpp%{_includedir}/exiv2/pngimage.hpp%{_includedir}/exiv2/preview.hpp%{_includedir}/exiv2/properties.hpp%{_includedir}/exiv2/psdimage.hpp%{_includedir}/exiv2/rafimage.hpp%{_includedir}/exiv2/rw2image.hpp%{_includedir}/exiv2/sigmamn.hpp%{_includedir}/exiv2/pentaxmn.hpp%{_includedir}/exiv2/sonymn.hpp%{_includedir}/exiv2/tags.hpp%{_includedir}/exiv2/tgaimage.hpp%{_includedir}/exiv2/tiffimage.hpp%{_includedir}/exiv2/types.hpp%{_includedir}/exiv2/value.hpp%{_includedir}/exiv2/version.hpp%{_includedir}/exiv2/xmp.hpp%{_includedir}/exiv2/xmpsidecar.hpp%changelog* Fri Apr 24 2010 - jlee@thestaticvoid.com- Initial version