Репозиторий Sisyphus
Последнее обновление: 18 ноября 2019 | Пакетов: 17519 | Посещений: 15792860
en ru br
Репозитории ALT

Группа :: Графика
Пакет: GLC_Player

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires: /usr/bin/desktop-file-install gcc-c++ unzip
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name:           GLC_Player
Version:        2.3.0
Release:        alt2_16
Summary:        GLC_Player is an Open Source software used to view 3d models (OBJ Format)

Group:          Graphics
License:        GPLv2+
URL:            http://www.glc-player.net/
Source0:        http://downloads.sourceforge.net/glc-player/GLC_Player_src_%{version}.zip
Source1:        glc_player.desktop
Patch0:         GLC_Player_src_2.3.0-cache.patch
Patch1:         GLC_Player_src_2.3.0-prefix.patch

BuildRequires:  GLC_lib-devel >= 2.0.0
BuildRequires:  desktop-file-utils
Source44: import.info

GLC_Player is an Open Source software used to view 3d models (OBJ Format).
With the session concept and navigation possibilities GLC_Player is the
accurate tools to review a lot of 3D models. GLC_Player is a
cross-platform, Qt 4 and GLC_lib application.

%setup -q -c
%patch0 -p1 -b .cache
%patch1 -p1 -b .prefix

%{qmake_qt4} glc_player.pro


mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -pm 0755 glc_player $RPM_BUILD_ROOT%{_bindir}

mkdir -p $RPM_BUILD_ROOT%{_datadir}/{applications,pixmaps}

install -pm 0644 ressources/images/GLC_logo_blanc.png \

desktop-file-install \
 --dir $RPM_BUILD_ROOT%{_datadir}/applications \
 --mode 644 \

# Register as an application to be visible in the software center

# NOTE: It would be *awesome* if this file was maintained by the upstream
# project, translated and installed into the right place during `make install`.
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/glc_player.appdata.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Ryan Lerch <rlerch at redhat.com> -->
EmailAddress: laumaya at users.sourceforge.net
SentUpstream: 2014-09-17
 <id type="desktop">glc_player.desktop</id>
 <summary>View 3D models</summary>
   GLC Player is an application for viewing 3D models.
   It supports a wide range of formats, including:  COLLADA, 3DXML, OBJ,
   3DS, STL, OFF and COFF.
   It can also be used to export still images of your models, and even
   export a library of models to a gallery HTML page.
 <url type="homepage">http://www.glc-player.net/</url>
   <screenshot type="default">http://www.glc-player.net/images/Lin_corsair_full.jpg</screenshot>



Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin