]> git.pld-linux.org Git - packages/Y.git/blob - Y.spec
- link libY++ with used libY, don't force -O3 -g
[packages/Y.git] / Y.spec
1 Summary:        Y Windows
2 Summary(pl):    Y Windows
3 Name:           Y
4 Version:        0.2
5 Release:        0.1
6 License:        GPL
7 Group:          X
8 Group(pl):      X
9 Source0:        http://www.efaref.net/arch/2004/Y/Y--devel/Y--devel--0.2/patch-1/Y--devel--0.2--patch-1.tar.gz
10 # Source0-md5:  30bce6027bcb36b39fc89d8cff98e2b0
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 %attr(755,root,root) %{_bindir}/Y
83 %attr(755,root,root) %{_bindir}/startY
84 %{_libdir}/*.la
85 %attr(755,root,root) %{_libdir}/Y/*/*.so
86 %{_libdir}/Y/*/*.la
87 %attr(755,root,root) %{_libdir}/Y/*/*/*.so
88 %{_libdir}/Y/*/*/*.la
89 %attr(755,root,root) %{_libdir}/*.so.0.0.0
90
91 %files devel
92 %defattr(644,root,root,755)
93 %doc
94 %{_includedir}/Y
95
96 %files static
97 %defattr(644,root,root,755)
98 %doc
99 %{_libdir}/Y/*/*.a
100 %{_libdir}/Y/*/*/*.a
101 %{_libdir}/*.a
102
103 %files utils
104 %defattr(644,root,root,755)
105 %doc
106 %attr(755,root,root) %{_bindir}/y*
This page took 0.134188 seconds and 3 git commands to generate.