]>
Commit | Line | Data |
---|---|---|
baf7a95f | 1 | # Note that this is NOT a relocatable package |
2 | %define ver 0.1.1 | |
3 | %define RELEASE 1 | |
4 | %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} | |
5 | %define prefix /usr | |
6 | ||
7 | Summary: GNOME Animation Studio | |
8 | Name: ganso | |
9 | Version: %ver | |
10 | Release: %rel | |
11 | Copyright: GPL | |
12 | Group: Graphics | |
13 | Source: ftp://ceu.fi.udc.es/os/linux/gpul/ganso-%{ver}.tar.bz2 | |
14 | ||
15 | BuildRoot: /var/tmp/ganso-%{PACKAGE_VERSION}-root | |
16 | Obsoletes: gnome | |
17 | ||
18 | URL: http://ganso.gpul.org | |
19 | Docdir: %{prefix}/doc | |
20 | ||
21 | ||
22 | Requires: gnome-libs >= 1.0.0 | |
23 | ||
24 | %description | |
25 | GAnSO is a powerful Animation Studio that lets you create your own videos | |
26 | with and without sound. | |
27 | ||
28 | It can write as much formats as codecs you install in your system. | |
29 | ||
30 | %changelog | |
31 | * Fri Jun 30 2000 Ruben Lopez Gomez <ryu@mundivia.es> | |
32 | - Created | |
33 | ||
34 | %prep | |
35 | %setup | |
36 | ||
37 | %build | |
38 | # libtool can't deal with all the alpha variations but and alpha is an alpha | |
39 | # in this context. | |
40 | %ifarch alpha | |
41 | CFLAGS="$RPM_OPT_FLAGS" ./configure --host=alpha-redhat-linux --prefix=%prefix | |
42 | %else | |
43 | CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --sysconfdir=/etc | |
44 | %endif | |
45 | if [ ! -z "$SMP" ]; then | |
46 | make -j$SMP MAKE="make -j$SMP" | |
47 | else | |
48 | make | |
49 | fi | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | mkdir -p $RPM_BUILD_ROOT/etc | |
54 | make sysconfdir=$RPM_BUILD_ROOT/etc prefix=$RPM_BUILD_ROOT%{prefix} install | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %post -p /sbin/ldconfig | |
60 | ||
61 | %postun -p /sbin/ldconfig | |
62 | ||
63 | %files | |
64 | %defattr(-, root, root) | |
65 | ||
66 | %doc AUTHORS COPYING ChangeLog NEWS README | |
67 | %{prefix}/bin/* | |
68 | %{prefix}/lib/lib*.so.* | |
69 | ||
70 | %files devel | |
71 | %defattr(-, root, root) |