Projects
Multimedia
sview
sview.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sview.spec of Package sview (Revision 4)
Currently displaying revision
4
,
Show latest
# # spec file for package sview # # 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 src_ver 15_11 %define src_name sView %define ffmpeg_includedir %(pkg-config --variable=includedir libavcodec) Name: sview Version: 15.11 Release: 0 Summary: Stereoscopic media player License: GPL-3.0+ and LGPL-3.0+ Group: Productivity/Multimedia/Video/Players Url: http://www.sview.ru/en/ Source: https://github.com/gkv311/sview/archive/%{src_ver}.tar.gz#/%{name}-%{src_ver}.tar.gz BuildRequires: dos2unix BuildRequires: gcc-c++ BuildRequires: fdupes BuildRequires: hicolor-icon-theme BuildRequires: make BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libconfig++) BuildRequires: pkgconfig(libswscale) BuildRequires: pkgconfig(openal) BuildRequires: pkgconfig(xpm) BuildRequires: pkgconfig(xrandr) Requires: xdg-utils #Recommends: mongoose ExclusiveArch: %{ix86} x86_64 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Stereoscopic Image Viewer and Movie Player. %prep %setup -q -n %{name}-%{src_ver} dos2unix -k license-gpl* license-lgpl* %build sed -e '/^INC/s|$|\ -I%{ffmpeg_includedir}|' \ -e '/^CFLAGS/s/$/\ %{optflags}/' \ -e '/^CXXFLAGS/s/$/\ %{optflags}/' \ -i Makefile # Remove %%_smp_mflags to avoid compilation errors make -j1 EXTRA_LDFLAGS="-Wl,-rpath,%{_libdir}/%{src_name}" %install %make_install USR_LIB=%{_lib} # GNOME switched to the freedesktop standard rm -rf %{buildroot}%{_datadir}/application-registry # Remove Debian directories rm -rf %{buildroot}%{_datadir}/menu # It's not necessary rm -rf %{buildroot}%{_datadir}/icons/hicolor/*/apps/%{name}.png # Use the installation in pixmaps rm -rf %{buildroot}%{_datadir}/%{src_name}/icons/menu.xpm install -Dm 0644 share/%{src_name}/icons/menu.xpm %{buildroot}%{_datadir}/pixmaps/%{name}.xpm # Libraries used by the app must be placed into subdirectory mv %{buildroot}%{_libdir}/*.so %{buildroot}%{_libdir}/%{src_name} %fdupes -s %{buildroot}%{_datadir} %suse_update_desktop_file -r %{src_name}IV Graphics Viewer %suse_update_desktop_file -r %{src_name}MP AudioVideo Video Player %post %icon_theme_cache_post %desktop_database_post %postun %icon_theme_cache_postun %desktop_database_postun %files %defattr(-,root,root) %doc LICENSE* %{_bindir}/%{src_name} %{_libdir}/%{src_name}/ %{_datadir}/applications/%{src_name}IV.desktop %{_datadir}/applications/%{src_name}MP.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/pixmaps/%{name}.xpm %{_datadir}/%{src_name}/ %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
.