| 1 |
Name: GLC_Player
|
| 2 |
Version: 2.0.0
|
| 3 |
Release: 2%{?dist}
|
| 4 |
Summary: GLC_Player is an Open Source software used to view 3d models (OBJ Format)
|
| 5 |
|
| 6 |
Group: Applications/Multimedia
|
| 7 |
License: GPLv2+
|
| 8 |
URL: http://www.glc-player.net/
|
| 9 |
Source0: http://downloads.sourceforge.net/glc-player/GLC_Player_src_%{version}.zip
|
| 10 |
Source1: glc_player.desktop
|
| 11 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 12 |
|
| 13 |
BuildRequires: GLC_lib-devel >= 1.1.0
|
| 14 |
BuildRequires: desktop-file-utils
|
| 15 |
|
| 16 |
%description
|
| 17 |
GLC_Player is an Open Source software used to view 3d models (OBJ Format).
|
| 18 |
With the session concept and navigation possibilities GLC_Player is the
|
| 19 |
accurate tools to review a lot of 3D models. GLC_Player is a
|
| 20 |
cross-platform, Qt 4 and GLC_lib application.
|
| 21 |
|
| 22 |
|
| 23 |
%prep
|
| 24 |
%setup -q -n %{name}_src
|
| 25 |
|
| 26 |
|
| 27 |
%build
|
| 28 |
qmake-qt4 glc_player.pro
|
| 29 |
make %{?_smp_mflags}
|
| 30 |
|
| 31 |
|
| 32 |
%install
|
| 33 |
rm -rf $RPM_BUILD_ROOT
|
| 34 |
|
| 35 |
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
| 36 |
install -pm 0755 glc_player $RPM_BUILD_ROOT%{_bindir}
|
| 37 |
|
| 38 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/{applications,pixmaps}
|
| 39 |
|
| 40 |
install -pm 0644 ressources/images/GLC_logo_blanc.png \
|
| 41 |
$RPM_BUILD_ROOT%{_datadir}/pixmaps/glc_player.png
|
| 42 |
|
| 43 |
desktop-file-install --vendor fedora \
|
| 44 |
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
| 45 |
--mode 644 \
|
| 46 |
%{SOURCE1}
|
| 47 |
|
| 48 |
|
| 49 |
%clean
|
| 50 |
rm -rf $RPM_BUILD_ROOT
|
| 51 |
|
| 52 |
|
| 53 |
%files
|
| 54 |
%defattr(-,root,root,-)
|
| 55 |
%doc
|
| 56 |
%{_bindir}/glc_player
|
| 57 |
%{_datadir}/pixmaps/glc_player.png
|
| 58 |
%{_datadir}/applications/*.desktop
|
| 59 |
|
| 60 |
|
| 61 |
%changelog
|
| 62 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-2
|
| 63 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 64 |
|
| 65 |
* Mon Mar 23 2009 kwizart < kwizart at gmail.com > - 2.0.0-1
|
| 66 |
- Update to 2.0.0
|
| 67 |
|
| 68 |
* Thu Aug 14 2008 kwizart < kwizart at gmail.com > - 1.6.0-1
|
| 69 |
- Update to 1.6.0
|
| 70 |
|
| 71 |
* Wed May 14 2008 kwizart < kwizart at gmail.com > - 1.0.2-1
|
| 72 |
- Update to 1.0.2
|
| 73 |
|
| 74 |
* Mon Feb 11 2008 kwizart < kwizart at gmail.com > - 1.0.1-1
|
| 75 |
- Initial spec file
|
| 76 |
|