]> git.pld-linux.org Git - packages/freewrl.git/blob - freewrl.spec
- Some work done, it builds.
[packages/freewrl.git] / freewrl.spec
1 Summary:        -
2 Summary(pl):    -
3 Name:           freewrl
4 Version:        0.34
5 Release:        0.1
6 License:        LGPL
7 Group:          -
8 Source0:        FreeWRL-%{version}.tar.gz
9 #Source1:       -
10 Patch0:         %{name}-config.patch
11 Patch1:         %{name}-DESTDIR.patch
12 Patch2:         %{name}-mozilla.patch
13 URL:            http://freewrl.sourceforge.net/
14 #BuildRequires: -
15 #PreReq:                -
16 BuildRequires:  perl
17 BuildRequires:  saxon
18 BuildRequires:  ImageMagick
19 BuildRequires:  perl-devel
20 BuildRequires:  gtk+-devel
21 BuildRequires:  binutils-static
22 #Requires(pre,post):    -
23 #Requires(preun):       -
24 #Requires(postun):      -
25 #Provides:      -
26 #Obsoletes:     -
27 #Conflicts:     -
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31
32 %description -l pl
33
34 %package -n netscape-plugin-freewrl
35 Summary:        -
36 Summary(pl):    -
37 Group:          -
38
39 %description -n netscape-plugin-freewrl
40
41 %description -n netscape-plugin-freewrl -l pl
42
43 %package -n mozilla-plugin-freewrl
44 Summary:        -
45 Summary(pl):    -
46 Group:          -
47
48 %description -n mozilla-plugin-freewrl
49
50 %description -n mozilla-plugin-freewrl -l pl
51
52
53 %prep
54 %setup -q
55 %patch0 -p1
56 %patch1 -p1
57 %patch2 -p1
58
59 %build
60 CFLAGS="%{rpmcflags} -I/usr/X11R6/include/mozilla"
61 CXXFLAGS="$CFLAGS"
62 MOZILLA_INC="-I/usr/X11R6/include/mozilla"
63 export CFLAGS CXXFLAGS MOZILLA_INC
64 perl Makefile.PL
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT
70
71 %{__make} install DESTDIR=$RPM_BUILD_ROOT
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76
77 %files
78 %defattr(644,root,root,755)
79 %doc README* TODO* ARCHITECTURE* CONFORMANCE*
80 %attr(755,root,root) %{_bindir}/*
81 /usr/lib/perl5/site_perl/i686-pld-linux/5.6.1/VRML
82 /usr/lib/perl5/site_perl/i686-pld-linux/5.6.1/auto/VRML
83
84 %files -n mozilla-plugin-freewrl
85 %defattr(644,root,root,755)
86 /usr/X11R6/lib/mozilla/java/classes/*
87 /usr/X11R6/lib/mozilla/plugins/*
88
89 %files -n netscape-plugin-freewrl
90 %defattr(644,root,root,755)
91 /usr/X11R6/lib/netscape/java/classes/*
92 /usr/X11R6/lib/netscape/plugins/*
This page took 0.042916 seconds and 4 git commands to generate.