Projects
Multimedia
djv
djv.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File djv.spec of Package djv (Revision 2)
Currently displaying revision
2
,
Show latest
# # spec file for package djv # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 https://bugs.links2linux.org/ # %define soname 0 %define git_date git.20141225 Name: djv Version: 1.0.5%git_date Release: 0 Summary: DJV Imaging License: BSD-3-Clause Group: Productivity/Graphics/Viewers Url: http://djv.sourceforge.net/ Source0: http://git.code.sf.net/p/djv/git#/%{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM libjpeg .patch darbyjohnston@yahoo.com -- Attempt at fixing libjpeg namespace conflicts # (fixed in upstream) Patch0: djv-1.0.5_libjpeg.patch # PATCH-FIX-OPENSUSE include.patch avvissu@yandex.ru -- Don't include depending when packaging Patch1: djv-1.0.5_include.patch # PATCH-FIX-OPENSUSE path.patch avvissu@yandex.ru -- Change the default installation path Patch2: djv-1.0.5_path.patch # PATCH-FIX-OPENSUSE doc.patch avvissu@yandex.ru -- Change the search path to doc Patch3: djv-1.0.5_doc.patch # PATCH-FIX-UPSTREAM link_library.patch avvissu@yandex.ru -- Build with --no-undefined Patch4: djv-1.0.5_link_library.patch BuildRequires: cmake >= 3.0 BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: shared-mime-info BuildRequires: hicolor-icon-theme # Recommended jpegsrc.v9 instead of libjpeg-turbo BuildRequires: libjpeg-devel BuildRequires: pkg-config BuildRequires: update-desktop-files BuildRequires: pkgconfig(IlmBase) >= 2.2.0 BuildRequires: pkgconfig(OpenEXR) >= 2.2.0 BuildRequires: pkgconfig(Qt5Core) >= 5.3.0 BuildRequires: pkgconfig(Qt5OpenGL) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(glew) >= 1.10.0 BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(libavcodec) >= 2.6.2 BuildRequires: pkgconfig(libavdevice) BuildRequires: pkgconfig(libavfilter) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libpng) >= 1.6.8 # quicktime removed from git BuildRequires: pkgconfig(libquicktime) >= 1.2.4 BuildRequires: pkgconfig(libswresample) BuildRequires: pkgconfig(libswscale) BuildRequires: pkgconfig(libtiff-4) >= 4.0.3 BuildRequires: pkgconfig(zlib) >= 1.2.8 Recommends: %{name}-doc ExcludeArch: %{arm} %description Professional movie playback software for film production, VFX, and computer animation. Key features include: * real-time playback of image sequences and movies * support for industry standard file formats including Cineon, DPX, OpenEXR, and QuickTime * command line utilities for batch processing %package -n lib%{name}Core%{soname} Summary: C++ library for realtime MIDI input/ouput Group: System/Libraries Provides: lib%{name}%{soname} = %{version} Provides: lib%{name}Gui%{soname} = %{version} Provides: lib%{name}ViewLib%{soname} = %{version} %description -n lib%{name}Core%{soname} Professional movie playback software for film production, VFX, and computer animation. This package provides the shared libraries. %package plugins Summary: GNUnet plugins Group: Productivity/Networking/File-Sharing Requires: %{name} = %{version} %description plugins Professional movie playback software for film production, VFX, and computer animation. This package contains plugins for %{name} apps: * Cineon, DPX, IFF, IFL, JPEG, LUT, OpenEXR, PIC, PNG, PPM, RLA, SGI, TIFF, Targa %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: lib%{name}%{soname} = %{version} %description devel Professional movie playback software for film production, VFX, and computer animation. This package contains header files and libraries needed to develop application that use %{name}. %package doc Summary: Documentation for %{name} Group: Documentation/HTML BuildArch: noarch %description doc Professional movie playback software for film production, VFX, and computer animation. Help documentation for %{name}. %prep %setup -q -n %{name}-%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 # Change exec-path sed -i '/Exec/s|[/].*|%{name}_view|' $(grep -rl 'djv_view.sh') %build %cmake \ -DCMAKE_SKIP_RPATH=OFF make %{?_smp_mflags} %install %cmake_install # Search and load all plugins d="%{buildroot}" for f in `ls $d%{_bindir}/%{name}*`; do b=$(basename $f) mv $f $d%{_libdir}/%{name}/ ln -s %{_libdir}/%{name}/$b $d%{_bindir}/$b; done %suse_update_desktop_file -r %{name}_view Qt Graphics Viewer %fdupes -s %{buildroot}/%{_datadir} %check # Only local test #sed -i '/ctest/s|\(bin/ctest\)|\1 -V|' build/Makefile #make test -C build %post -n lib%{name}Core%{soname} -p /sbin/ldconfig %postun -n lib%{name}Core%{soname} -p /sbin/ldconfig %post %mime_database_post %desktop_database_post %icon_theme_cache_post %postun %mime_database_postun %desktop_database_postun %icon_theme_cache_postun %files %defattr(-,root,root) %doc LICENSE README %{_bindir}/%{name}_convert %{_bindir}/%{name}_info %{_bindir}/%{name}_ls %{_bindir}/%{name}_view %{_libdir}/%{name} %{_datadir}/applications/%{name}_view.desktop %{_datadir}/mime/packages/%{name}_view*.xml %{_datadir}/icons/hicolor/*/apps/%{name}_view.png %exclude %{_libdir}/%{name}/lib%{name}*Plugin.so %files -n lib%{name}Core%{soname} %defattr(-,root,root) %{_libdir}/lib%{name}*.so.* %files plugins %defattr(-,root,root) %{_libdir}/%{name}/lib%{name}*Plugin.so %files devel %defattr(-,root,root) %{_includedir}/%{name}*.h %{_libdir}/lib%{name}*.so %files doc %defattr(-,root,root) %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/doc %{_datadir}/%{name}/doc %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.