Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
Name: libglan |
5 |
Name: libglan |
6 |
Version: 0.3 |
6 |
Version: 0.3 |
7 |
Release: alt0.1.1 |
7 |
Release: alt0.2 |
8 |
|
8 |
|
9 |
Summary: Toolkit for developing network GUI applications |
9 |
Summary: Toolkit for developing network GUI applications |
10 |
|
10 |
|
Lines 14-25
Url: http://glan.sourceforge.net/
Link Here
|
14 |
|
14 |
|
15 |
Packager: Vitaly Lipatov <lav@altlinux.ru> |
15 |
Packager: Vitaly Lipatov <lav@altlinux.ru> |
16 |
|
16 |
|
|
|
17 |
Requires: libqt4-core >= %{get_version libqt4-core} |
18 |
|
17 |
#Source: http://dl.sf.net/kalpa/Glan-%version.tar.bz2 |
19 |
#Source: http://dl.sf.net/kalpa/Glan-%version.tar.bz2 |
18 |
Source: http://kalpa.ru/downloads/Glan-%version.tar.bz2 |
20 |
Source: http://kalpa.ru/downloads/Glan-%version.tar.bz2 |
19 |
Patch: %name-as-needed.patch |
21 |
Patch: %name-as-needed.patch |
|
|
22 |
Patch1: Glan-0.3-alt-fix-compile-with-qt43.patch |
20 |
|
23 |
|
21 |
# Automatically added by buildreq on Mon May 22 2006 |
24 |
BuildRequires: gcc-c++ libqt4-devel |
22 |
BuildRequires: fontconfig gcc-c++ libqt4-devel libqt4-gui libqt4-network libqt4-sql libqt4-xml qt4-settings |
|
|
23 |
|
25 |
|
24 |
%description |
26 |
%description |
25 |
Glan is a toolkit for developing network GUI applications. It consists of |
27 |
Glan is a toolkit for developing network GUI applications. It consists of |
Lines 52-60
Glan Server Library
Link Here
|
52 |
%prep |
54 |
%prep |
53 |
%setup -q -n Glan-%version |
55 |
%setup -q -n Glan-%version |
54 |
%patch |
56 |
%patch |
|
|
57 |
%patch1 -p1 |
58 |
find Source -type f -name \*.pro | while read f; do echo -e '\nQMAKE_CXXFLAGS += $(RPM_OPT_FLAGS)' >> $f; done |
55 |
|
59 |
|
56 |
%build |
60 |
%build |
57 |
export QTDIR=/%_libdir/qt4 |
61 |
export QTDIR=%_qt4dir |
58 |
export PATH=$QTDIR/bin:$PATH |
62 |
export PATH=$QTDIR/bin:$PATH |
59 |
|
63 |
|
60 |
# build with debug library |
64 |
# build with debug library |
Lines 101-106
rm -rf %buildroot/opt
Link Here
|
101 |
%_libdir/libGlanServer*.so |
105 |
%_libdir/libGlanServer*.so |
102 |
|
106 |
|
103 |
%changelog |
107 |
%changelog |
|
|
108 |
* Tue Jul 17 2007 Sergey V Turchin <zerg at altlinux dot org> 0.3-alt0.2 |
109 |
- fix compile with Qt-4.3 |
110 |
- fix compilation flags |
111 |
- fix requires |
112 |
|
104 |
* Sun May 21 2006 Vitaly Lipatov <lav@altlinux.ru> 0.3-alt0.1 |
113 |
* Sun May 21 2006 Vitaly Lipatov <lav@altlinux.ru> 0.3-alt0.1 |
105 |
- new version 0.3 |
114 |
- new version 0.3 |
106 |
- fix as-needed problem |
115 |
- fix as-needed problem |