]>
Commit | Line | Data |
---|---|---|
7ef0de3c | 1 | Summary: Y Windows |
2 | Summary(pl): Y Windows | |
3 | Name: Y | |
4 | Version: 0.2 | |
bc2d3403 | 5 | Release: 0.1 |
7ef0de3c | 6 | License: GPL |
7 | Group: X | |
8 | Group(pl): X | |
def0208d | 9 | Source0: http://www.efaref.net/arch/2004/Y/Y--devel--0.2/patch-1/Y--devel--0.2--patch-1.tar.gz |
bc2d3403 | 10 | # Source0-md5: 30bce6027bcb36b39fc89d8cff98e2b0 |
7ef0de3c | 11 | BuildRequires: freetype-devel |
12 | BuildRequires: SDL-devel | |
13 | BuildRequires: libsigc++1-devel | |
14 | #Requires: | |
15 | URL: http://www.y-windows.org/ | |
16 | Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | - -- empty -- | |
20 | ||
21 | %description -l pl | |
22 | - -- pusty -- | |
23 | ||
24 | %package devel | |
25 | Summary: devel | |
26 | Group: X | |
27 | Requires: %{name} = %{version} | |
28 | %description devel | |
29 | - -- empty -- | |
30 | ||
31 | %description devel -l pl | |
32 | - -- pusty -- | |
33 | ||
34 | %package static | |
35 | Summary: static | |
36 | Group: X | |
37 | Requires: %{name}-devel = %{version} | |
38 | %description static | |
39 | - -- empty -- | |
40 | ||
41 | %description static -l pl | |
42 | - -- pusty -- | |
43 | ||
44 | %package utils | |
45 | Summary: utils | |
46 | Group: X | |
47 | Requires: %{name} = %{version} | |
48 | %description utils | |
49 | - -- empty -- | |
50 | ||
51 | %description utils -l pl | |
52 | - -- pusty -- | |
53 | ||
54 | %prep | |
55 | %setup -q -n Y--devel--0.2--patch-1 | |
56 | ||
57 | #%patch | |
58 | ||
59 | %build | |
60 | ./autogen.sh | |
61 | %configure \ | |
62 | --disable-yiterm | |
63 | %{__make} RPM_OPT_FLAGS="$RPM_OPT_FLAGS" | |
64 | ||
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | %{__make} DESTDIR=$RPM_BUILD_ROOT install | |
68 | ||
69 | %post | |
70 | /sbin/ldconfig | |
71 | ||
72 | %postun | |
73 | /sbin/ldconfig | |
74 | ||
75 | %clean | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %files | |
79 | %defattr(644,root,root,755) | |
80 | %doc | |
81 | %{_sysconfdir}/Y | |
82 | %{_bindir}/Y | |
83 | %{_bindir}/startY | |
84 | %{_libdir}/*.la | |
85 | %{_libdir}/Y | |
86 | %{_libdir}/*.so.0.0.0 | |
87 | ||
88 | %files devel | |
89 | %defattr(644,root,root,755) | |
90 | %doc | |
91 | %{_includedir}/Y | |
92 | ||
93 | %files static | |
94 | %defattr(644,root,root,755) | |
95 | %doc | |
96 | %{_libdir}/*.a | |
97 | ||
98 | %files utils | |
99 | %defattr(644,root,root,755) | |
100 | %doc | |
101 | %{_bindir}/y* |