/[pkgs]/devel/GLC_lib/GLC_lib.spec
ViewVC logotype

Contents of /devel/GLC_lib/GLC_lib.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Jul 24 15:10:56 2009 UTC (4 months ago) by jkeating
Branch: MAIN
CVS Tags: F-12-split, GLC_lib-1_1_0-2_fc12, HEAD
Changes since 1.5: +4 -1 lines
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1 Name: GLC_lib
2 Version: 1.1.0
3 Release: 2%{?dist}
4 Summary: C++ class library for OpenGL application based on Qt 4
5
6 Group: System Environment/Libraries
7 License: GPLv2+
8 URL: http://www.glc-lib.net/
9 Source0: http://downloads.sourceforge.net/glc-lib/GLC_lib_src_%{version}.zip
10 Patch0: GLC_lib_src_1.1.0-nolib3ds.patch
11 Patch1: GLC_lib_src_1.1.0-noGL.patch
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
14 BuildRequires: qt4-devel
15 BuildRequires: lib3ds-devel
16
17
18 %description
19 GLC_lib is a C++ class library that enables the quick creation of OpenGL
20 application based on Qt 4. Some GLC_lib features : Camera orbiting, Obj
21 textured file support, 3D Primitive... And more.
22
23 %package devel
24 Summary: Development files for %{name}
25 Group: Development/Libraries
26 Requires: %{name} = %{version}-%{release}
27 Requires: qt4-devel
28
29 %description devel
30 The %{name}-devel package contains libraries and header files for
31 developing applications that use %{name}.
32
33
34
35 %prep
36 %setup -q -n GLC_lib_src_%{version}
37 %patch0 -p1 -b .nolib3ds
38 %patch1 -p1 -b .noGL
39
40 #Fix library Path on lib64
41 sed -i -e 's|LIB_DIR = /usr/lib|LIB_DIR = %{_libdir}|' GLC_lib.pro
42
43 # Fix internal use of lib3ds
44 rm -rf lib3ds glext
45
46
47
48 %build
49 qmake-qt4 GLC_lib.pro
50 make %{?_smp_mflags}
51
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 make install INSTALL_ROOT=$RPM_BUILD_ROOT
56 #rm -rf $RPM_BUILD_ROOT%{_libdir}/libGLC_lib.prl
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61
62 %post -p /sbin/ldconfig
63
64 %postun -p /sbin/ldconfig
65
66
67 %files
68 %defattr(-,root,root,-)
69 %doc COPYING
70 %{_libdir}/*.so.*
71
72 %files devel
73 %defattr(-,root,root,-)
74 %{_includedir}/GLC_lib/
75 %{_libdir}/*.so
76
77
78 %changelog
79 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
80 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
81
82 * Mon Mar 23 2009 kwizart < kwizart at gmail.com > - 1.1.0-1
83 - Update to 1.1.0
84
85 * Thu Aug 14 2008 kwizart < kwizart at gmail.com > - 1.0.0-1
86 - Update to 1.0.0
87
88 * Wed May 28 2008 kwizart < kwizart at gmail.com > - 0.9.9-1
89 - Update to 0.9.9
90
91 * Sat May 17 2008 kwizart < kwizart at gmail.com > - 0.9.8-2
92 - Fix COPYING end-of-line encoding
93
94 * Mon Feb 11 2008 kwizart < kwizart at gmail.com > - 0.9.8-1
95 - Initial spec file
96

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2