Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dmegow
wine-1.1.42
wine.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wine.spec of Package wine-1.1.42
1. # 2. # spec file for package wine (Version 1.1.42) 3. # 4. # D. Megow 5. # 6. # All modifications and additions to the file contributed by third parties 7. # remain the property of their copyright owners, unless otherwise agreed 8. # upon. The license for this file, and modifications and additions to the 9. # file, is the same license as for the pristine package itself (unless the 10. # license for the pristine package is not an Open Source License, in which 11. # case the license is the MIT License). An "Open Source License" is a 12. # license that conforms to the Open Source Definition (Version 1.9) 13. # published by the Open Source Initiative. 14. 15. # Please submit bugfixes or comments via http://bugs.opensuse.org/ 16. # 17. 18. 19. 20. Name: wine 21. BuildRequires: alsa-devel bison capi4linux-devel cups-devel desktop-file-utils fdupes flex freeglut-devel freetype2-devel giflib-devel gnutls-devel hal-devel libgphoto2-devel libgsm-devel libjpeg-devel liblcms-devel libpng-devel libtiff-devel libv4l-devel libxslt-devel ncurses-devel openal-soft-devel openldap2-devel prelink sane-backends update-desktop-files 22. License: LGPLv2.1+ 23. Group: System/Emulators/PC 24. AutoReqProv: on 25. Version: 1.1.42 26. Release: 1 27. Summary: An MS Windows Emulator 28. Url: http://www.winehq.com 29. Source0: wine-1.1.42.tar.bz2 30. # Source1: http://kegel.com/wine/winetricks 31. # Source2: http://kegel.com/wine/wisotool 32. Source1: README.SuSE 33. Source2: wine.desktop 34. Source3 ubuntuwine.tar.bz2 35. Recommends: wine-gecko wine-mp3 36. Requires: wine-32bit = %version 37. # for winetricks: 38. Requires: unzip cabextract 39. %ifarch x86_64 40. Requires: libX11.so.6()(64bit) libXext.so.6()(64bit) libXcursor.so.1()(64bit) libXi.so.6()(64bit) libXxf86vm.so.1()(64bit) libXrender.so.1()(64bit) libXrandr.so.2()(64bit) libXinerama.so.1()(64bit) libXcomposite.so.1()(64bit) libGL.so.1()(64bit) libGLU.so.1()(64bit) libxslt.so.1()(64bit) libncurses.so.6()(64bit) libfreetype.so.6()(64bit) libfontconfig.so.1()(64bit) libcups.so.2()(64bit) 41. %endif 42. BuildRoot: %{_tmppath}/%{name}-%{version}-build 43. 44. %description 45. An MS Windows emulator, consisting of both runtime and source 46. compatibility functions. You can run your MS executables with it and 47. write your Windows programs under Linux and link against the WINE 48. libraries. 49. 50. It is not necessary to have a Windows installation to run WINE. 51. 52. Refer to /usr/share/doc/packages/wine/README.SuSE. There is more 53. documentation available in that directory. Read 'man wine' for further 54. information. 55. 56. You can invoke wine by entering 'wine program.exe'. Configure it by 57. running 'winecfg'. 58. 59. %ifarch %ix86 60. 61. %package 32bit 62. Summary: The 32bit runtime system of Wine 63. License: LGPLv2.1+ 64. Group: System/Emulators/PC 65. # requires either 32bit or 64bit wine 66. Requires: wine = %version 67. # lib dependencies that are dynamically loaded 68. Requires: libXcursor.so.1 libXi.so.6 libXxf86vm.so.1 libXrender.so.1 libXrandr.so.2 libXinerama.so.1 libXcomposite.so.1 libxslt.so.1 libhal.so.1 libncurses.so.6 libfreetype.so.6 libcrypto.so.1.0.0 libssl.so.1.0.0 libfontconfig.so.1 libcups.so.2 libgnutls.so.26 libpng14.so.14 69. 70. %description 32bit 71. This package contains the 32bit runtime environmnent (libraries, DLLs, EXEs) of Wine. 72. It is required to run Win32 binaries. It requires either the 32bit or 64bit 73. "wine" environment to work. 74. %endif 75. 76. %package devel 77. License: LGPLv2.1+ 78. Summary: files for wine development 79. Group: System/Emulators/PC 80. 81. %description devel 82. This RPM contains the header files and development tools for the WINE 83. libraries. 84. 85. 86. 87. %prep 88. %setup -q 89. # 90. cp %{S:3} . 91. # 92. 93. %build 94. cat VERSION 95. %configure \ 96. --with-x \ 97. %ifarch x86_64 98. --enable-win64 \ 99. %endif 100. --verbose 101. 102. cat config.log 103. grep "have_x=yes" config.log || exit 1 104. make %{?jobs:-j%jobs} depend 105. make %{?jobs:-j%jobs} all 106. 107. %install 108. make install DESTDIR=$RPM_BUILD_ROOT 109. # install desktop file 110. install -d $RPM_BUILD_ROOT/usr/share/applications/ 111. %suse_update_desktop_file %{SOURCE4} Emulator 112. 113. install -m 0644 %SOURCE4 $RPM_BUILD_ROOT/usr/share/applications/ 114. install -m 0755 %SOURCE1 $RPM_BUILD_ROOT/usr/bin/ 115. install -m 0755 %SOURCE2 $RPM_BUILD_ROOT/usr/bin/ 116. mv $RPM_BUILD_ROOT/%{_mandir}/de.UTF-8 $RPM_BUILD_ROOT/%{_mandir}/de 117. mv $RPM_BUILD_ROOT/%{_mandir}/fr.UTF-8 $RPM_BUILD_ROOT/%{_mandir}/fr 118. tar xjf %{SOURCE5} 119. # Copied from Ubuntu Wine out of debian.diff 120. # https://launchpad.net/~ubuntu-wine/+archive/ppa/+packages 121. # taken on 1.2rc2 time. 122. cd ubuntuwine 123. install -d $RPM_BUILD_ROOT/etc/xdg/menus/applications-merged 124. install -c -m 644 wine.menu $RPM_BUILD_ROOT/etc/xdg/menus/applications-merged 125. 126. # Install application-specific desktop files 127. install -d $RPM_BUILD_ROOT/usr/share/applications 128. install -c -m 644 *.desktop $RPM_BUILD_ROOT/usr/share/applications/ 129. 130. install -d $RPM_BUILD_ROOT/usr/share/desktop-directories/ 131. install -c -m 644 *.directory $RPM_BUILD_ROOT/usr/share/desktop-directories/ 132. 133. # Install icons 134. install -d $RPM_BUILD_ROOT/usr/share/icons/hicolor/scalable/apps/ 135. install -c -m 644 *.svg $RPM_BUILD_ROOT/usr/share/icons/hicolor/scalable/apps/ 136. cd .. 137. 138. %fdupes -s $RPM_BUILD_ROOT 139. 140. %clean 141. rm -rf $RPM_BUILD_ROOT 142. 143. %ifarch %ix86 144. 145. %post 32bit -p /sbin/ldconfig 146. 147. %postun 32bit -p /sbin/ldconfig 148. %else 149. 150. %post -p /sbin/ldconfig 151. 152. %postun -p /sbin/ldconfig 153. %endif 154. 155. %files 156. %defattr(-,root,root) 157. %doc ANNOUNCE AUTHORS LICENSE LICENSE.OLD README* 158. /usr/bin/function_grep.pl 159. /usr/bin/msiexec 160. /usr/bin/notepad 161. /usr/bin/regedit 162. /usr/bin/regsvr32 163. /usr/bin/widl 164. /usr/bin/wineboot 165. /usr/bin/winebuild 166. /usr/bin/winecfg 167. /usr/bin/wineconsole 168. /usr/bin/winecpp 169. /usr/bin/winedbg 170. /usr/bin/winedump 171. /usr/bin/winefile 172. /usr/bin/wineg++ 173. /usr/bin/winegcc 174. /usr/bin/winemaker 175. /usr/bin/winemine 176. /usr/bin/winepath 177. /usr/bin/wineserver 178. # /usr/bin/winetricks 179. # /usr/bin/wisotool 180. /usr/bin/wmc 181. /usr/bin/wrc 182. /usr/share/wine 183. /usr/share/applications/wine.desktop 184. %doc %{_mandir}/*/* 185. %dir /etc/xdg/menus/ 186. %dir /etc/xdg/menus/applications-merged 187. %config /etc/xdg/menus/applications-merged/*.menu 188. /usr/share/applications/*.desktop 189. %dir /usr/share/desktop-directories/ 190. /usr/share/desktop-directories/*.directory 191. %dir /usr/share/icons/hicolor 192. %dir /usr/share/icons/hicolor/scalable 193. %dir /usr/share/icons/hicolor/scalable/apps 194. /usr/share/icons/hicolor/scalable/apps/*.svg 195. 196. %ifarch %ix86 197. 198. %files 32bit 199. %defattr(-,root,root) 200. /usr/bin/wine 201. /usr/bin/wine-preloader 202. %endif 203. %ifarch x86_64 204. /usr/bin/wine64 205. %endif 206. %{_libdir}/lib* 207. %dir %{_libdir}/wine 208. %{_libdir}/wine/*.so 209. %dir %{_libdir}/wine/fakedlls 210. %{_libdir}/wine/fakedlls/* 211. 212. %files devel 213. %defattr(-,root,root) 214. %{_includedir}/wine 215. %{_libdir}/wine/*.def 216. %{_libdir}/wine/*.a 217. # /usr/share/aclocal/wine.m4 218. 219. %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor