You're not reviewing the full diff of
request 2106
, but the diff to the superseded
request 2101
(Show full diff)
Overview
sview.changes
Deleted
x
1
2
--------------------------------------------------------------------
3
-Sat May 19 00:00:00 UTC 2015 - avvissu@yandex.ru
4
-
5
-- Initial package
6
-
7
sview.spec
Deleted
104
1
2
-#
3
-# spec file for package sview
4
-#
5
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
6
-#
7
-# All modifications and additions to the file contributed by third parties
8
-# remain the property of their copyright owners, unless otherwise agreed
9
-# upon. The license for this file, and modifications and additions to the
10
-# file, is the same license as for the pristine package itself (unless the
11
-# license for the pristine package is not an Open Source License, in which
12
-# case the license is the MIT License). An "Open Source License" is a
13
-# license that conforms to the Open Source Definition (Version 1.9)
14
-# published by the Open Source Initiative.
15
-
16
-# Please submit bugfixes or comments via https://bugs.links2linux.org/
17
-#
18
-
19
-
20
-%define src_ver 15_08
21
-Name: sview
22
-Version: 15.08
23
-Release: 0
24
-Summary: Stereoscopic media player
25
-License: GPL-3.0+ and LGPL-3.0+
26
-Group: Productivity/Multimedia/Video/Players
27
-Url: http://www.sview.ru/en/
28
-Source: https://github.com/gkv311/sview/archive/%{src_ver}.tar.gz#/%{name}-%{src_ver}.tar.gz
29
-BuildRequires: dos2unix
30
-BuildRequires: gcc-c++
31
-BuildRequires: fdupes
32
-BuildRequires: hicolor-icon-theme
33
-BuildRequires: make
34
-BuildRequires: pkgconfig
35
-BuildRequires: update-desktop-files
36
-BuildRequires: pkgconfig(gl)
37
-BuildRequires: pkgconfig(gtk+-2.0)
38
-BuildRequires: pkgconfig(freetype2)
39
-BuildRequires: pkgconfig(libavcodec)
40
-BuildRequires: pkgconfig(libavdevice)
41
-BuildRequires: pkgconfig(libavformat)
42
-BuildRequires: pkgconfig(libavutil)
43
-BuildRequires: pkgconfig(libconfig++)
44
-BuildRequires: pkgconfig(libswscale)
45
-BuildRequires: pkgconfig(openal)
46
-BuildRequires: pkgconfig(xpm)
47
-BuildRequires: pkgconfig(xrandr)
48
-#Recommends: mongoose
49
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
50
-
51
-%description
52
-Stereoscopic Image Viewer and Movie Player.
53
-
54
-%prep
55
-%setup -q -n %{name}-%{src_ver}
56
-
57
-dos2unix -k license-gpl* license-lgpl*
58
-
59
-%build
60
-sed -i '/^CXXFLAGS/s/$/\ %{optflags}/' Makefile
61
-# Remove %%_smp_mflags to avoid compilation errors
62
-make V=1 -j1 EXTRA_LDFLAGS="-Wl,-rpath,%{_libdir}/sView"
63
-
64
-%install
65
-%make_install USR_LIB=%{_lib}
66
-
67
-# GNOME switched to the freedesktop standard
68
-rm -rf %{buildroot}%{_datadir}/application-registry
69
-# Remove Debian directories
70
-rm -rf %{buildroot}%{_datadir}/menu
71
-# It's not necessary
72
-rm -rf %{buildroot}%{_datadir}/icons/hicolor/*/apps/%{name}.png
73
-# Use the installation in pixmaps
74
-rm -rf %{buildroot}%{_datadir}/sView/icons/menu.xpm
75
-install -Dm 0644 share/sView/icons/menu.xpm %{buildroot}%{_datadir}/pixmaps/%{name}.xpm
76
-# Libraries used by the app must be placed into subdirectory
77
-mv %{buildroot}%{_libdir}/*.so %{buildroot}%{_libdir}/sView
78
-
79
-%fdupes -s %{buildroot}%{_datadir}
80
-
81
-%suse_update_desktop_file -r sViewIV Graphics Viewer
82
-%suse_update_desktop_file -r sViewMP AudioVideo Video Player
83
-
84
-%post
85
-%icon_theme_cache_post
86
-%desktop_database_post
87
-
88
-%postun
89
-%icon_theme_cache_postun
90
-%desktop_database_postun
91
-
92
-%files
93
-%defattr(-,root,root)
94
-%doc LICENSE license-gpl* license-lgpl*
95
-%{_bindir}/sView
96
-%{_libdir}/sView/
97
-%{_datadir}/applications/sViewIV.desktop
98
-%{_datadir}/applications/sViewMP.desktop
99
-%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
100
-%{_datadir}/pixmaps/%{name}.xpm
101
-%{_datadir}/sView/
102
-
103
-%changelog
104
sview-15_08.tar.gz
Deleted
Refresh
Refresh
Login required, please
login
or
signup
in order to comment
olh wrote over 9 years ago
I think this pkg needs a "ExclusiveArch:" tag, according to the build logs.