2 Summary: Program that lets you launch Win applications.
3 Summary(pl): Program pozwalaj±cy uruchamiaæ aplikacje Windows.
7 Copyright: distributable
8 Group: Applications/Emulators
9 Group(pl): Applikacje/Emulatory
10 Source0: ftp://metalab.unc.edu/pub/Linux/ALPHA/wine/development/Wine-%{version}.tar.gz
11 Url: http://www.winehq.com
12 Exclusivearch: %{ix86}
13 Buildroot: /tmp/%{name}-%{version}-root
22 Summary: Wine - header files
23 Summary(pl): Wine - pliki nag³owkowe
24 Group: Development/Libraries
25 Group(pl): Programowanie/Biblioteki
26 Requires: %{name} = %{version}
31 %description -l pl devel
32 Wine - pliki nag³ówkowe.
41 LDFLAGS="-s"; export LDFLAGS
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_mandir}/man1
51 prefix=$RPM_BUILD_ROOT%{_prefix} \
52 exec-prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
53 bindir=$RPM_BUILD_ROOT%{_bindir} \
54 sbindir=$RPM_BUILD_ROOT%{_sbindir} \
55 sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \
56 datadir=$RPM_BUILD_ROOT%{_datadir} \
57 includedir=$RPM_BUILD_ROOT%{_includedir}/wine \
58 libdir=$RPM_BUILD_ROOT%{_libdir} \
59 libexecdir=$RPM_BUILD_ROOT%{_libexecdir} \
60 localstatedir=$RPM_BUILD_ROOT%{_localstatedir} \
61 sharedstatedir=$RPM_BUILD_ROOT%{_sharedstatedir} \
62 mandir=$RPM_BUILD_ROOT%{_mandir} \
63 infodir=$RPM_BUILD_ROOT%{_infodir}
65 # there is something broken with make install
66 # it expects root privileges, and if invoked by user, makes some stupid link
67 # instead of libs installation /by klakier
69 rm -f $RPM_BUILD_ROOT%{_libdir}/*.so
70 cp -dp libwine.so* $RPM_BUILD_ROOT%{_libdir}
72 cp wine.ini wine.conf.example
73 install -d $RPM_BUILD_ROOT%{_sysconfdir}
74 cat <<EOF >$RPM_BUILD_ROOT%{_sysconfdir}/wine.conf
76 ; You can find example wine.conf file in %{_docdir}/%{name}-%{version}/wine.conf.example
77 ; More information: 'man wine.conf' or http://www.winehq.com
79 ; Przyk³adowy plik konfiguracyjny jest w %{_docdir}/%{name}-%{version}/wine.conf.example
80 ; Wiêcej informacji: 'man wine.conf' lub na stronach WINE: http://www.winehq.com
85 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
86 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man5/*
88 gzip -9nf README WARRANTY LICENSE DEVELOPERS-HINTS ChangeLog BUGS AUTHORS ANNOUNCE
91 %post -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
95 rm -rf $RPM_BUILD_ROOT
99 %defattr(644,root,root,755)
100 %doc {README,WARRANTY,LICENSE,DEVELOPERS-HINTS,ChangeLog,BUGS,AUTHORS,ANNOUNCE}.gz
101 %doc documentation wine.conf.example
102 %attr(755,root,root) %{_bindir}/*
105 %attr(755,root,root) %{_libdir}/*.so*
107 %config %{_sysconfdir}/wine.conf
110 %defattr(644,root,root,755)