Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Podeiko:KDE:Release:49
OpenGTL
OpenGTL.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File OpenGTL.spec of Package OpenGTL
# # spec file for package OpenGTL # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright 2009 Buschmann <buschmann23@opensuse.org> # Copyright (c) 2013 Asterios Dramis <asterios.dramis@gmail.com>. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define libver 0_8 %define soversion 0.8 Name: OpenGTL Version: 0.9.18 Release: 23.1 Summary: Graphics Transformation Languages License: LGPL-2.0+ Group: Productivity/Graphics/Other Url: http://www.opengtl.org/ Source0: http://download.opengtl.org/%{name}-%{version}.tar.bz2 # PATCH-FIX-OPENSUSE GTLImageIO-Extensions-Installdir.patch -- Change GTLImageIO Extensions installation path to use the OpenGTL version Patch0: GTLImageIO-Extensions-Installdir.patch # PATCH-FIX-UPSTREAM OpenGTL-libpng16.patch pgajdos@suse.com -- build also with libpng16; sent to cberger (at) cberger.net Patch1: OpenGTL-libpng16.patch # PATCH-FIX-OPENSUSE opengtl-0.9.18-llvm-3.3svn.patch asterios.dramis@gmail.com -- Fix compilation with llvm-3.3svn (taken from Fedora) Patch2: opengtl-0.9.18-llvm-3.3svn.patch # PATCH-FIX-OPENSUSE fix_linking.patch asterios.dramis@gmail.com -- Fix multiple definition linking error Patch3: fix_linking.patch # PATCH-FIX-OPENSUSE OpenGTL-0.9.18-pkgconfig_llvm_libs_private.patch asterios.dramis@gmail.com -- Mark llvm-libs private/static in pkgconfig files (taken from Fedora) Patch4: OpenGTL-0.9.18-pkgconfig_llvm_libs_private.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libpng-devel BuildRequires: llvm-devel >= 3.1 BuildRequires: zlib-devel Recommends: shiva-collections BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The Graphics Transformation Languages is a set of library for using and integrating transformation algorithms (such as filter or color conversion) in graphics applications. The goal is to provide the tools, languages and libraries to create generic transformation for graphics. Those transformations could then be used by different programs. %package devel Summary: Include Files and Libraries Mandatory for Development with OpenGTL Group: Development/Libraries/C and C++ Requires: libGTLCore%{libver} = %{version} Requires: libGTLFragment%{libver} = %{version} Requires: libGTLImageIO%{libver} = %{version} Requires: libOpenCTL%{libver} = %{version} Requires: libOpenShiva%{libver} = %{version} %description devel This package contains include files and libraries mandatory for development with OpenGTL. %package -n libGTLCore%{libver} Summary: Graphics Transformation Languages - Core Functionnalities Group: System/Libraries Requires: llvm >= 3.1 %description -n libGTLCore%{libver} The Graphics Transformation Languages is a set of library for using and integrating transformation algorithms (such as filter or color conversion) in graphics applications. The goal is to provide the tools, languages and libraries to create generic transformation for graphics. Those transformations could then be used by different programs. GTLCore: this library provides Core functionnalities, such as debug, or memory buffer. %package -n libGTLFragment%{libver} Summary: Graphics Transformation Languages - Core Functionnalities Group: System/Libraries Requires: llvm >= 3.1 %description -n libGTLFragment%{libver} The Graphics Transformation Languages is a set of library for using and integrating transformation algorithms (such as filter or color conversion) in graphics applications. The goal is to provide the tools, languages and libraries to create generic transformation for graphics. Those transformations could then be used by different programs. GTLFragment: base Library for Shiva and Rijn. %package -n libGTLImageIO%{libver} Summary: Graphics Transformation Languages - Decode/Encode Images Group: System/Libraries Requires: llvm >= 3.1 %description -n libGTLImageIO%{libver} The Graphics Transformation Languages is a set of library for using and integrating transformation algorithms (such as filter or color conversion) in graphics applications. The goal is to provide the tools, languages and libraries to create generic transformation for graphics. Those transformations could then be used by different programs. GTLImageIO: library to decode/encode images. %package -n libOpenCTL%{libver} Summary: Color Transformation Language Group: System/Libraries Requires: llvm >= 3.1 %description -n libOpenCTL%{libver} OpenCTL is a GPL compatible of the Color Transformation Language, this language is dedicated at transforming the value of a single pixel (for instance Brightness adjustement or desaturate). CTL is designed to be part of the Color Management process. %package -n libOpenShiva%{libver} Summary: Image Transformation Library Group: System/Libraries Requires: llvm >= 3.1 %description -n libOpenShiva%{libver} Shiva is a language that apply a kernel-like transformations on an image, that means it works using more than one pixel. %prep %setup -q %patch0 %patch1 -p1 %if 0%{?suse_version} > 1230 %patch2 -p1 %endif %patch3 %patch4 -p1 %build mkdir build cd build export CFLAGS="%{optflags}" export CXXFLAGS="%{optflags}" __libsuffix=$(echo %{_lib} | cut -b4-) cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DLIB_SUFFIX="$__libsuffix" \ -DCMAKE_BUILD_TYPE=release \ .. make %{?_smp_mflags} VERBOSE=1 cd .. %install %make_install -C build %post -n libGTLCore%{libver} -p /sbin/ldconfig %postun -n libGTLCore%{libver} -p /sbin/ldconfig %post -n libGTLFragment%{libver} -p /sbin/ldconfig %postun -n libGTLFragment%{libver} -p /sbin/ldconfig %post -n libGTLImageIO%{libver} -p /sbin/ldconfig %postun -n libGTLImageIO%{libver} -p /sbin/ldconfig %post -n libOpenCTL%{libver} -p /sbin/ldconfig %postun -n libOpenCTL%{libver} -p /sbin/ldconfig %post -n libOpenShiva%{libver} -p /sbin/ldconfig %postun -n libOpenShiva%{libver} -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING %{_bindir}/ctlc %{_bindir}/ctli %{_bindir}/ctltc %{_bindir}/gtlconvert %{_bindir}/imagecompare %{_bindir}/shiva %{_bindir}/shivacheck %{_bindir}/shivanimator %{_bindir}/shivac %{_bindir}/shivainfo %{_bindir}/shivatester %{_datadir}/OpenGTL/ %files devel %defattr(-,root,root,-) %{_includedir}/GTLCore/ %{_includedir}/GTLFragment/ %{_includedir}/GTLImageIO/ %{_includedir}/OpenCTL/ %{_includedir}/OpenShiva/ %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %files -n libGTLCore%{libver} %defattr(-,root,root,-) %{_libdir}/libGTLCore.so.%{soversion} %{_libdir}/libGTLCore.so.%{version} %files -n libGTLFragment%{libver} %defattr(-,root,root,-) %{_libdir}/libGTLFragment.so.%{soversion} %{_libdir}/libGTLFragment.so.%{version} %files -n libGTLImageIO%{libver} %defattr(-,root,root,-) %{_libdir}/libGTLImageIO.so.%{soversion} %{_libdir}/libGTLImageIO.so.%{version} %{_libdir}/GTLImageIO-%{version}/ %files -n libOpenCTL%{libver} %defattr(-,root,root,-) %{_libdir}/libOpenCTL.so.%{soversion} %{_libdir}/libOpenCTL.so.%{version} %files -n libOpenShiva%{libver} %defattr(-,root,root,-) %{_libdir}/libOpenShiva.so.%{soversion} %{_libdir}/libOpenShiva.so.%{version} %changelog * Fri Jun 14 2013 asterios.dramis@gmail.com - Added OpenGTL-0.9.18-pkgconfig_llvm_libs_private.patch to mark llvm-libs private/static in pkgconfig files (taken from Fedora). * Wed Jun 12 2013 asterios.dramis@gmail.com - Update to 0.9.18: * Support for the latest LLVM 3.2. * Some improvement in threading and default implementation for generated, changed and needed function. - Removed ld_link_fix.patch, llvm.patch and targetData.patch (fixed upstream). - Added opengtl-0.9.18-llvm-3.3svn.patch to fix compilation with llvm-3.3svn (taken from Fedora). - Added fix_linking.patch to fix multiple definition linking error. * Mon Feb 18 2013 pgajdos@suse.com - build also with libpng16 * libpng16.patch * Sat Nov 24 2012 alinm.elena@gmail.com - Added patches * llvm.patch -- correctly detect our 3.1 version of llvm * targetData.patch -- rename from "llvm/Target/TargetData.h" to "llvm/DataLayout.h" * Sat Sep 29 2012 asterios.dramis@gmail.com - Added a patch (ld_link_fix.patch) to fix 'ld' link the llvm JIT library (bnc#778260, kde#304903). * Mon Jun 4 2012 asterios.dramis@gmail.com - An updated 0.9.17 tarball was released. Removed FindLLVM.cmake_llvm-3.1.patch since it is included in the updated tarball. * Sun Jun 3 2012 asterios.dramis@gmail.com - Update to 0.9.17: * Support for the latest LLVM 3.1. * Crash fix when using vector instructions. - Added a patch (FindLLVM.cmake_llvm-3.1.patch) to fix FindLLVM.cmake for compilation with llvm-3.1. llvm-confing is a native executable in version 3.1 instead of a perl script. * Mon Jan 30 2012 asterios.dramis@gmail.com - Update to 0.9.16: * 35 tasks were completed. * Fix numerous bugs and memory leak. * Optimisations. * Support for animating kernel parameters. * Colour management. * Better multi threading. From 0.9.15.2 * Make it possible to link with shared libraries, which should improve compatibility with recent mesa. From 0.9.15.1 * Bug fix with recent C++ stdlib. * Support for llvm 2.9. From 0.9.15 * Support for llvm 2.8. From 0.9.14 * Support for llvm 2.7. From 0.9.13 * 26 tasks were completed. * Fix numerous bugs and memory leak. * Cleaning. * Finishing implementing some features like progress rerport for OpenCTL modules. * OpenGTL is now compiling on Windows with latest Visual Studio. - Spec file updates: * Renamed package to OpenGTL from opengtl. * Changes based on spec-cleaner run. * Changed License: to LGPL-2.0+ (SPDX style). * Added description for the patch based on openSUSE Patches Guidelines. * Removed libopenraw-devel from BuildRequires: (not needed). * Removed libGTLCore, libGTLImageIO, libOpenCTL and libOpenShiva from Requires: (not needed). * Removed opengtl from Requires: for devel package (not needed). - Rebased GTLImageIO-Extensions-Installdir.patch to apply cleanly. - Removed gcc45.diff patch (fixed upstream). * Mon Mar 29 2010 tittiatcoke@gmail.com - Update to 0.9.12 (as required by Koffice2) * Wed Sep 16 2009 buschmann23@opensuse.org - 0.9.10 - added more defattrs to file list * Tue Sep 15 2009 buschmann23@opensuse.org - 0.9.10 - updated to version 0.9.10 + Implement Pixel::alpha Pixel::setAlpha to access the alpha channel of an image + Add image size hints (IMAGE_WIDTH, IMAGE_HEIGHT, IMAGE_SIZE) * Wed Mar 25 2009 buschmann23@opensuse.org - 0.9.9 - added shiva-collections to the Recommends * Wed Mar 25 2009 buschmann23@opensuse.org - 0.9.9 - updated to version 0.9.9 + new memory management model + new kernel collection system - now requires llvm = 2.5 * Fri Mar 6 2009 buschmann23@opensuse.org - 0.9.7 - changed license tag to LGPLv2 or later * Mon Mar 2 2009 buschmann23@opensuse.org - 0.9.7 - inital package - version 0.9.7
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor