1 | Name: lpub4 |
---|
2 | Version: 4.0.0.14 |
---|
3 | Release: 20140514.ec3 |
---|
4 | Source0: lpub4.tar.bz2 |
---|
5 | Patch1: lpub4-1-dev-doc-fixes.patch |
---|
6 | Patch2: lpub4-2-setmeta-args-fix.patch |
---|
7 | Patch3: lpub4-3-pro-case.patch |
---|
8 | Patch4: lpub4-4-main-case.patch |
---|
9 | Patch5: lpub4-5-openfiledialog.patch |
---|
10 | Patch6: lpub4-6-preferencesdialog.patch |
---|
11 | |
---|
12 | Summary: Lego building instructions program |
---|
13 | Group: Engineering/CAD |
---|
14 | License: GPL |
---|
15 | Buildroot: /tmp/%{name}-%{version}-root |
---|
16 | BuildPreReq: qt-devel |
---|
17 | Requires: qt |
---|
18 | |
---|
19 | %description |
---|
20 | LDraw Building Instruction Publishing Tool |
---|
21 | |
---|
22 | %prep |
---|
23 | %setup -n lpub4 |
---|
24 | %patch1 -p1 |
---|
25 | %patch2 -p1 |
---|
26 | %patch3 -p1 |
---|
27 | %patch4 -p1 |
---|
28 | %patch5 -p1 |
---|
29 | %patch6 -p1 |
---|
30 | |
---|
31 | %build |
---|
32 | PATH=/usr/lib64/qt4/bin:$PATH |
---|
33 | qmake |
---|
34 | make |
---|
35 | |
---|
36 | %install |
---|
37 | rm -rf $RPM_BUILD_ROOT |
---|
38 | mkdir -p $RPM_BUILD_ROOT/usr/bin |
---|
39 | cp lpub $RPM_BUILD_ROOT/usr/bin/ |
---|
40 | mkdir -p $RPM_BUILD_ROOT/usr/share/lpub |
---|
41 | cp pli.mpd $RPM_BUILD_ROOT/usr/share/lpub/ |
---|
42 | |
---|
43 | %files |
---|
44 | /usr/bin/lpub |
---|
45 | /usr/share/lpub/pli.mpd |
---|