Trinity Desktop Environment Packaging
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1529 lines
46KB

  1. #
  2. # spec file for package tqt3 (version R14)
  3. #
  4. # Copyright (c) 2014 Trinity Desktop Environment
  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://www.trinitydesktop.org/
  16. #
  17. # TDE variables
  18. %if "%{?tde_version}" == ""
  19. %define tde_version 14.0.0
  20. %endif
  21. %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
  22. %define libtqt3 %{_lib}tqt3
  23. %else
  24. %define libtqt3 libtqt3
  25. %endif
  26. Name: trinity-tqt3
  27. Version: 3.5.0
  28. Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
  29. Summary: TQt GUI Library, Version 3
  30. Group: System/GUI/Other
  31. URL: http://www.trinitydesktop.org/
  32. %if 0%{?suse_version}
  33. License: GPL-2.0+
  34. %else
  35. License: GPLv2+
  36. %endif
  37. #Vendor: Trinity Project
  38. #Packager: Francois Andriot <francois.andriot@free.fr>
  39. Prefix: /usr
  40. BuildRoot: %{_tmppath}/%{name}-%{tde_version}-%{release}-root-%(%{__id_u} -n)
  41. Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
  42. Source1: build-examples.sh
  43. Source11: tqassistant.desktop
  44. Source12: tqdesigner.desktop
  45. Source13: tqlinguist.desktop
  46. Source14: tqtconfig.desktop
  47. BuildRequires: glibc-devel
  48. BuildRequires: gcc-c++
  49. BuildRequires: make
  50. BuildRequires: desktop-file-utils
  51. BuildRequires: perl
  52. BuildRequires: sed
  53. BuildRequires: findutils
  54. BuildRequires: tar
  55. # ZLIB support
  56. BuildRequires: zlib-devel
  57. # JPEG support
  58. BuildRequires: libjpeg-devel
  59. # MNG support
  60. BuildRequires: libmng-devel
  61. # PNG support
  62. BuildRequires: libpng-devel
  63. # GIF support
  64. BuildRequires: giflib-devel
  65. # FREETYPE support
  66. BuildRequires: freetype-devel
  67. # FONTCONFIG support
  68. BuildRequires: fontconfig-devel
  69. # SUSE desktop files utility
  70. %if 0%{?suse_version}
  71. BuildRequires: update-desktop-files
  72. %endif
  73. # CUPS support
  74. BuildRequires: cups-devel
  75. # GLIB2 support
  76. %if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6
  77. %define with_glibmainloop 1
  78. %define glib2_devel glib2-devel
  79. %endif
  80. %{?glib2_devel:BuildRequires: %{glib2_devel}}
  81. # UUID support
  82. %if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6
  83. %define uuid_devel libuuid-devel
  84. %endif
  85. %if 0%{?rhel} == 5
  86. %define uuid_devel e2fsprogs-devel
  87. %endif
  88. %{?uuid_devel:BuildRequires: %{uuid_devel}}
  89. # LIBAUDIO support
  90. %if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
  91. %define with_nas 1
  92. %define libaudio_devel nas-devel
  93. %endif
  94. %{?libaudio_devel:BuildRequires: %{libaudio_devel}}
  95. # Xrender support
  96. %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
  97. %define xrender_devel libXrender-devel
  98. %endif
  99. %if 0%{?mdkversion} || 0%{?mgaversion}
  100. %define xrender_devel libxrender-devel
  101. %endif
  102. %{?xrender_devel:BuildRequires: %{xrender_devel}}
  103. # Xrandr support
  104. %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
  105. %define xrandr_devel libXrandr-devel
  106. %endif
  107. %if 0%{?mdkversion} || 0%{?mgaversion}
  108. %if 0%{?pclinuxos}
  109. %define xrandr_devel %{_lib}xrandr2-devel
  110. %else
  111. %define xrandr_devel libxrandr-devel
  112. %endif
  113. %endif
  114. %{?xrandr_devel:BuildRequires: %{xrandr_devel}}
  115. # Xcursor support
  116. %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
  117. %define xcursor_devel libXcursor-devel
  118. %endif
  119. %if 0%{?mdkversion} || 0%{?mgaversion}
  120. %define xcursor_devel libxcursor-devel
  121. %endif
  122. %{?xcursor_devel:BuildRequires: %{xcursor_devel}}
  123. # Xinerama support
  124. %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
  125. %define xinerama_devel libXinerama-devel
  126. %endif
  127. %if 0%{?mdkversion} || 0%{?mgaversion}
  128. %define xinerama_devel libxinerama-devel
  129. %endif
  130. %{?xinerama_devel:BuildRequires: %{xinerama_devel}}
  131. # Xft support
  132. %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
  133. %define xft_devel libXft-devel
  134. %endif
  135. %if 0%{?mdkversion} || 0%{?mgaversion}
  136. %define xft_devel libxft-devel
  137. %endif
  138. %{?xft_devel:BuildRequires: %{xft_devel}}
  139. # XEXT support
  140. %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
  141. %define xext_devel libXext-devel
  142. %endif
  143. %if 0%{?mdkversion} || 0%{?mgaversion}
  144. %define xext_devel libxext-devel
  145. %endif
  146. %{?xext_devel:BuildRequires: %{xext_devel}}
  147. # X11 support
  148. %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
  149. %define x11_devel libX11-devel
  150. %endif
  151. %if 0%{?mdkversion} || 0%{?mgaversion}
  152. %define x11_devel libx11-devel
  153. %endif
  154. %{?x11_devel:BuildRequires: %{x11_devel}}
  155. # SM support
  156. %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
  157. %define sm_devel libSM-devel
  158. %endif
  159. %if 0%{?mdkversion} || 0%{?mgaversion}
  160. %define sm_devel libsm-devel
  161. %endif
  162. %{?sm_devel:BuildRequires: %{sm_devel}}
  163. # ICE support
  164. %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
  165. %define ice_devel libICE-devel
  166. %endif
  167. %if 0%{?mdkversion} || 0%{?mgaversion}
  168. %define ice_devel libice-devel
  169. %endif
  170. %{?ice_devel:BuildRequires: %{ice_devel}}
  171. # XT support
  172. %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
  173. BuildRequires: libXt-devel
  174. %endif
  175. # XMU support
  176. %if 0%{?suse_version} == 1140
  177. BuildRequires: xorg-x11-libXmu-devel
  178. %endif
  179. %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210
  180. BuildRequires: libXmu-devel
  181. %endif
  182. %if 0%{?mdkversion} || 0%{?mgaversion} >= 4
  183. BuildRequires: libxmu-devel
  184. %endif
  185. %if 0%{?mgaversion} == 2 || 0%{?mgaversion} == 3
  186. BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel
  187. %endif
  188. # XI support
  189. %if 0%{?rhel} == 4
  190. %define xi_devel xorg-x11-devel
  191. %endif
  192. %if 0%{?mgaversion} || 0%{?mdkversion}
  193. %define xi_devel libxi-devel
  194. %endif
  195. %if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora}
  196. %define xi_devel libXi-devel
  197. %endif
  198. %if 0%{?suse_version} == 1140
  199. %define xi_devel libXi6-devel
  200. %endif
  201. %{?xi_devel:BuildRequires: %{xi_devel}}
  202. # Xorg support
  203. %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
  204. BuildRequires: xorg-x11-proto-devel
  205. %endif
  206. # MESA support
  207. %if 0%{?rhel} || 0%{?fedora}
  208. BuildRequires: mesa-libGL-devel
  209. BuildRequires: mesa-libGLU-devel
  210. %endif
  211. %if 0%{?mdkversion} || 0%{?mgaversion}
  212. %if 0%{?pclinuxos}
  213. BuildRequires: MesaGLU-devel
  214. %else
  215. BuildRequires: mesaglu-devel
  216. %endif
  217. %endif
  218. %if 0%{?suse_version}
  219. BuildRequires: Mesa-libGL-devel
  220. BuildRequires: Mesa-libGLU-devel
  221. %endif
  222. # MYSQL support
  223. BuildRequires: mysql-devel
  224. # unixODBC support
  225. BuildRequires: unixODBC-devel
  226. # SQLITE support
  227. BuildRequires: sqlite-devel
  228. # SQLITE3 support
  229. %if 0%{?mgaversion}
  230. BuildRequires: sqlite3-devel
  231. %endif
  232. # POSTGRESQL support
  233. BuildRequires: postgresql
  234. BuildRequires: postgresql-devel
  235. # Firebird support
  236. %if 0%{?mdkversion} || 0%{?mgaversion}
  237. %define with_ibase 1
  238. BuildRequires: firebird-devel
  239. %endif
  240. # FBCLIENT support
  241. %if 0%{?mgaversion} >= 6
  242. BuildRequires: %{_lib}fbclient-devel
  243. %endif
  244. # NIS support
  245. %define with_nis 1
  246. # RPC support
  247. %if 0%{?fedora} >= 28 || 0%{?suse_version} >= 1500
  248. %if 0%{?fedora}
  249. BuildRequires: libnsl2-devel
  250. %else
  251. BuildRequires: libnsl-devel
  252. %endif
  253. BuildRequires: libtirpc-devel
  254. %endif
  255. # x86_64 specific stuff
  256. %if "%{_lib}" != "lib"
  257. %if 0%{?mdkversion} || ( 0%{?mgaversion} && 0%{?mgaversion} <= 2)
  258. BuildRequires: linux32
  259. %else
  260. BuildRequires: util-linux
  261. %endif
  262. %endif
  263. %description
  264. This is the Trolltech TQt library, version 3. It's necessary for
  265. applications that link against the libtqt-mt.so.3, e.g. all Trinity
  266. applications.
  267. ##########
  268. %package -n %{libtqt3}-mt
  269. Summary: TQt GUI Library (Threaded runtime version), Version 3
  270. Group: System/GUI/Other
  271. Provides: libtqt3-mt = %{version}-%{release}
  272. Provides: trinity-tqt3 = %{version}-%{release}
  273. Requires(post): /sbin/ldconfig
  274. Requires(postun): /sbin/ldconfig
  275. Requires: coreutils
  276. Requires: fontconfig >= 2.0
  277. Requires: /etc/ld.so.conf.d
  278. %description -n %{libtqt3}-mt
  279. This is the Trolltech TQt library, version 3. It's necessary for
  280. applications that link against the libtqt-mt.so.3, e.g. all Trinity
  281. applications.
  282. %post -n %{libtqt3}-mt
  283. /sbin/ldconfig || :
  284. %postun -n %{libtqt3}-mt
  285. /sbin/ldconfig || :
  286. %files -n %{libtqt3}-mt
  287. %defattr(-,root,root,-)
  288. %doc FAQ LICENSE* README* changes*
  289. %dir %{_datadir}/icons/hicolor
  290. %dir %{_datadir}/icons/hicolor/32x32
  291. %dir %{_datadir}/icons/hicolor/32x32/apps
  292. %dir %{_datadir}/tqt3/
  293. %dir %{_datadir}/tqt3/doc/
  294. %dir %{_datadir}/tqt3/doc/html/
  295. %dir %{_datadir}/tqt3/tools/
  296. %dir %{_libdir}/tqt3/
  297. %dir %{_libdir}/tqt3/plugins/
  298. %dir %{_libdir}/tqt3/plugins/designer/
  299. %dir %{_libdir}/tqt3/plugins/imageformats/
  300. %dir %{_libdir}/tqt3/plugins/inputmethods/
  301. %dir %{_libdir}/tqt3/plugins/sqldrivers/
  302. %dir %{_sysconfdir}/tqt3
  303. %{_libdir}/libtqt-mt.so.3
  304. %{_libdir}/libtqt-mt.so.3.5
  305. %{_libdir}/libtqt-mt.so.3.5.0
  306. %{_libdir}/libtqui.so.1
  307. %{_libdir}/libtqui.so.1.0
  308. %{_libdir}/libtqui.so.1.0.0
  309. %{_libdir}/tqt3/plugins/imageformats/libqmng.so
  310. %{_libdir}/tqt3/plugins/inputmethods/libqimsw-multi.so
  311. %{_libdir}/tqt3/plugins/inputmethods/libqimsw-none.so
  312. %{_libdir}/tqt3/plugins/inputmethods/libqsimple.so
  313. %{_libdir}/tqt3/plugins/inputmethods/libqxim.so
  314. ###########
  315. %package -n %{libtqt3}-mt-devel
  316. Summary: TQt development files (Threaded)
  317. Group: Development/Libraries/X11
  318. Provides: trinity-tqt3-devel = %{version}-%{release}
  319. Provides: libtqt3-mt-devel = %{version}-%{release}
  320. Requires: %{libtqt3}-mt = %{version}-%{release}
  321. Requires: glibc-devel
  322. Requires: fontconfig-devel
  323. Requires: freetype-devel
  324. Requires: libjpeg-devel
  325. Requires: libpng-devel
  326. Requires: zlib-devel
  327. %{?glib2_devel:Requires: %{glib2_devel}}
  328. %{?uuid_devel:Requires: %{uuid_devel}}
  329. %{?xi_devel:Requires: %{xi_devel}}
  330. %{?xrender_devel:Requires: %{xrender_devel}}
  331. %{?xrandr_devel:Requires: %{xrandr_devel}}
  332. %{?xcursor_devel:Requires: %{xcursor_devel}}
  333. %{?xinerama_devel:Requires: %{xinerama_devel}}
  334. %{?xft_devel:Requires: %{xft_devel}}
  335. %{?xext_devel:Requires: %{xext_devel}}
  336. %{?x11_devel:Requires: %{x11_devel}}
  337. %{?sm_devel:Requires: %{sm_devel}}
  338. %{?ice_devel:Requires: %{ice_devel}}
  339. %{?libaudio_devel:Requires: %{libaudio_devel}}
  340. %description -n %{libtqt3}-mt-devel
  341. TQt is a C++ class library optimized for graphical user interface
  342. development. This package contains the libtqt-mt.so symlink, necessary
  343. for building threaded TQt applications as well as the libtqui.so symlink
  344. and the necessary header files for libtqui.so. (See README.Debian and
  345. the TQt Documentation for instructions on libtqui.so)
  346. WARNING: If you plan to build some older TQt3 applications, you will
  347. most probably have to install the tqt3-compat-headers package. It
  348. contains all the headers which are not part of the official TQt3 API
  349. anymore but which are still used by some programs. So if you encounter
  350. problems with missing header files, please install this package first
  351. before you send a bugreport.
  352. %post -n %{libtqt3}-mt-devel
  353. /sbin/ldconfig || :
  354. %postun -n %{libtqt3}-mt-devel
  355. /sbin/ldconfig || :
  356. %files -n %{libtqt3}-mt-devel
  357. %defattr(-,root,root,-)
  358. %{_libdir}/libtqt-mt.la
  359. %{_libdir}/libtqt-mt.so
  360. %{_libdir}/libtqt-mt.prl
  361. %{_libdir}/libtqui.so
  362. %{_libdir}/libtqui.prl
  363. %{_libdir}/pkgconfig/tqt-mt.pc
  364. %dir %{_includedir}/tqt3
  365. %{_includedir}/tqt3/ntqgl.h
  366. %{_includedir}/tqt3/ntqglcolormap.h
  367. %{_includedir}/tqt3/ntqwidgetfactory.h
  368. %{_includedir}/tqt3/actioninterface.h
  369. %{_includedir}/tqt3/arghintwidget.h
  370. %{_includedir}/tqt3/browser.h
  371. %{_includedir}/tqt3/cindent.h
  372. %{_includedir}/tqt3/classbrowserinterface.h
  373. %{_includedir}/tqt3/completion.h
  374. %{_includedir}/tqt3/conf.h
  375. %{_includedir}/tqt3/designerinterface.h
  376. %{_includedir}/tqt3/editor.h
  377. %{_includedir}/tqt3/editorinterface.h
  378. %{_includedir}/tqt3/filterinterface.h
  379. %{_includedir}/tqt3/interpreterinterface.h
  380. %{_includedir}/tqt3/languageinterface.h
  381. %{_includedir}/tqt3/markerwidget.h
  382. %{_includedir}/tqt3/ntqabstractlayout.h
  383. %{_includedir}/tqt3/ntqaccel.h
  384. %{_includedir}/tqt3/ntqaccessible.h
  385. %{_includedir}/tqt3/ntqaction.h
  386. %{_includedir}/tqt3/ntqapplication.h
  387. %{_includedir}/tqt3/ntqasciicache.h
  388. %{_includedir}/tqt3/ntqasciidict.h
  389. %{_includedir}/tqt3/ntqasyncimageio.h
  390. %{_includedir}/tqt3/ntqasyncio.h
  391. %{_includedir}/tqt3/ntqbig5codec.h
  392. %{_includedir}/tqt3/ntqbitarray.h
  393. %{_includedir}/tqt3/ntqbitmap.h
  394. %{_includedir}/tqt3/ntqbrush.h
  395. %{_includedir}/tqt3/ntqbuffer.h
  396. %{_includedir}/tqt3/ntqbutton.h
  397. %{_includedir}/tqt3/ntqbuttongroup.h
  398. %{_includedir}/tqt3/ntqcache.h
  399. %{_includedir}/tqt3/ntqcanvas.h
  400. %{_includedir}/tqt3/ntqcdestyle.h
  401. %{_includedir}/tqt3/ntqcheckbox.h
  402. %{_includedir}/tqt3/ntqcleanuphandler.h
  403. %{_includedir}/tqt3/ntqclipboard.h
  404. %{_includedir}/tqt3/ntqcolor.h
  405. %{_includedir}/tqt3/ntqcolordialog.h
  406. %{_includedir}/tqt3/ntqcombobox.h
  407. %{_includedir}/tqt3/ntqcommonstyle.h
  408. %{_includedir}/tqt3/ntqcompactstyle.h
  409. %{_includedir}/tqt3/ntqconfig.h
  410. %{_includedir}/tqt3/ntqconnection.h
  411. %{_includedir}/tqt3/ntqcstring.h
  412. %{_includedir}/tqt3/ntqcursor.h
  413. %{_includedir}/tqt3/ntqdatabrowser.h
  414. %{_includedir}/tqt3/ntqdatastream.h
  415. %{_includedir}/tqt3/ntqdatatable.h
  416. %{_includedir}/tqt3/ntqdataview.h
  417. %{_includedir}/tqt3/ntqdatetime.h
  418. %{_includedir}/tqt3/ntqdatetimeedit.h
  419. %{_includedir}/tqt3/ntqdeepcopy.h
  420. %{_includedir}/tqt3/ntqdesktopwidget.h
  421. %{_includedir}/tqt3/ntqdial.h
  422. %{_includedir}/tqt3/ntqdialog.h
  423. %{_includedir}/tqt3/ntqdict.h
  424. %{_includedir}/tqt3/ntqdir.h
  425. %{_includedir}/tqt3/ntqdns.h
  426. %{_includedir}/tqt3/ntqdockarea.h
  427. %{_includedir}/tqt3/ntqdockwindow.h
  428. %{_includedir}/tqt3/ntqdom.h
  429. %{_includedir}/tqt3/ntqdragobject.h
  430. %{_includedir}/tqt3/ntqdrawutil.h
  431. %{_includedir}/tqt3/ntqdropsite.h
  432. %{_includedir}/tqt3/ntqeditorfactory.h
  433. %{_includedir}/tqt3/ntqerrormessage.h
  434. %{_includedir}/tqt3/ntqeucjpcodec.h
  435. %{_includedir}/tqt3/ntqeuckrcodec.h
  436. %{_includedir}/tqt3/ntqevent.h
  437. %{_includedir}/tqt3/ntqeventloop.h
  438. %{_includedir}/tqt3/ntqfeatures.h
  439. %{_includedir}/tqt3/ntqfile.h
  440. %{_includedir}/tqt3/ntqfiledialog.h
  441. %{_includedir}/tqt3/ntqfileinfo.h
  442. %{_includedir}/tqt3/ntqfocusdata.h
  443. %{_includedir}/tqt3/ntqfont.h
  444. %{_includedir}/tqt3/ntqfontdatabase.h
  445. %{_includedir}/tqt3/ntqfontdialog.h
  446. %{_includedir}/tqt3/ntqfontinfo.h
  447. %{_includedir}/tqt3/ntqfontmetrics.h
  448. %{_includedir}/tqt3/ntqframe.h
  449. %{_includedir}/tqt3/ntqftp.h
  450. %{_includedir}/tqt3/ntqgarray.h
  451. %{_includedir}/tqt3/ntqgb18030codec.h
  452. %{_includedir}/tqt3/ntqgbkcodec.h
  453. %{_includedir}/tqt3/ntqgcache.h
  454. %{_includedir}/tqt3/ntqgdict.h
  455. %{_includedir}/tqt3/ntqgeneric.h
  456. %{_includedir}/tqt3/ntqgif.h
  457. %{_includedir}/tqt3/ntqglist.h
  458. %{_includedir}/tqt3/ntqglobal.h
  459. %{_includedir}/tqt3/ntqgplugin.h
  460. %{_includedir}/tqt3/ntqgrid.h
  461. %{_includedir}/tqt3/ntqgridview.h
  462. %{_includedir}/tqt3/ntqgroupbox.h
  463. %{_includedir}/tqt3/ntqguardedptr.h
  464. %{_includedir}/tqt3/ntqgvector.h
  465. %{_includedir}/tqt3/ntqhbox.h
  466. %{_includedir}/tqt3/ntqhbuttongroup.h
  467. %{_includedir}/tqt3/ntqheader.h
  468. %{_includedir}/tqt3/ntqhgroupbox.h
  469. %{_includedir}/tqt3/ntqhostaddress.h
  470. %{_includedir}/tqt3/ntqhttp.h
  471. %{_includedir}/tqt3/ntqiconset.h
  472. %{_includedir}/tqt3/ntqiconview.h
  473. %{_includedir}/tqt3/ntqimage.h
  474. %{_includedir}/tqt3/ntqimageformatplugin.h
  475. %{_includedir}/tqt3/ntqinputcontext.h
  476. %{_includedir}/tqt3/ntqinputcontextfactory.h
  477. %{_includedir}/tqt3/ntqinputcontextplugin.h
  478. %{_includedir}/tqt3/ntqinputdialog.h
  479. %{_includedir}/tqt3/ntqintcache.h
  480. %{_includedir}/tqt3/ntqintdict.h
  481. %{_includedir}/tqt3/ntqinterlacestyle.h
  482. %{_includedir}/tqt3/ntqiodevice.h
  483. %{_includedir}/tqt3/ntqjiscodec.h
  484. %{_includedir}/tqt3/ntqjpegio.h
  485. %{_includedir}/tqt3/ntqjpunicode.h
  486. %{_includedir}/tqt3/ntqkeycode.h
  487. %{_includedir}/tqt3/ntqkeysequence.h
  488. %{_includedir}/tqt3/ntqlabel.h
  489. %{_includedir}/tqt3/ntqlayout.h
  490. %{_includedir}/tqt3/ntqlcdnumber.h
  491. %{_includedir}/tqt3/ntqlibrary.h
  492. %{_includedir}/tqt3/ntqlineedit.h
  493. %{_includedir}/tqt3/ntqlistbox.h
  494. %{_includedir}/tqt3/ntqlistview.h
  495. %{_includedir}/tqt3/ntqlocale.h
  496. %{_includedir}/tqt3/ntqlocalfs.h
  497. %{_includedir}/tqt3/ntqmainwindow.h
  498. %{_includedir}/tqt3/ntqmap.h
  499. %{_includedir}/tqt3/ntqmemarray.h
  500. %{_includedir}/tqt3/ntqmenubar.h
  501. %{_includedir}/tqt3/ntqmenudata.h
  502. %{_includedir}/tqt3/ntqmessagebox.h
  503. %{_includedir}/tqt3/ntqmetaobject.h
  504. %{_includedir}/tqt3/ntqmime.h
  505. %{_includedir}/tqt3/ntqmngio.h
  506. %{_includedir}/tqt3/ntqmodules.h
  507. %{_includedir}/tqt3/ntqmotifplusstyle.h
  508. %{_includedir}/tqt3/ntqmotifstyle.h
  509. %{_includedir}/tqt3/ntqmovie.h
  510. %{_includedir}/tqt3/ntqmultilineedit.h
  511. %{_includedir}/tqt3/ntqmutex.h
  512. %{_includedir}/tqt3/ntqnamespace.h
  513. %{_includedir}/tqt3/ntqnetwork.h
  514. %{_includedir}/tqt3/ntqnetworkprotocol.h
  515. %{_includedir}/tqt3/ntqnp.h
  516. %{_includedir}/tqt3/ntqobject.h
  517. %{_includedir}/tqt3/ntqobjectcleanuphandler.h
  518. %{_includedir}/tqt3/ntqobjectdefs.h
  519. %{_includedir}/tqt3/ntqobjectdict.h
  520. %{_includedir}/tqt3/ntqobjectlist.h
  521. %{_includedir}/tqt3/ntqpaintdevice.h
  522. %{_includedir}/tqt3/ntqpaintdevicemetrics.h
  523. %{_includedir}/tqt3/ntqpainter.h
  524. %{_includedir}/tqt3/ntqpair.h
  525. %{_includedir}/tqt3/ntqpalette.h
  526. %{_includedir}/tqt3/ntqpen.h
  527. %{_includedir}/tqt3/ntqpicture.h
  528. %{_includedir}/tqt3/ntqpixmap.h
  529. %{_includedir}/tqt3/ntqpixmapcache.h
  530. %{_includedir}/tqt3/ntqplatinumstyle.h
  531. %{_includedir}/tqt3/ntqpngio.h
  532. %{_includedir}/tqt3/ntqpoint.h
  533. %{_includedir}/tqt3/ntqpointarray.h
  534. %{_includedir}/tqt3/ntqpolygonscanner.h
  535. %{_includedir}/tqt3/ntqpopupmenu.h
  536. %{_includedir}/tqt3/ntqprintdialog.h
  537. %{_includedir}/tqt3/ntqprinter.h
  538. %{_includedir}/tqt3/ntqprocess.h
  539. %{_includedir}/tqt3/ntqprogressbar.h
  540. %{_includedir}/tqt3/ntqprogressdialog.h
  541. %{_includedir}/tqt3/ntqptrcollection.h
  542. %{_includedir}/tqt3/ntqptrdict.h
  543. %{_includedir}/tqt3/ntqptrlist.h
  544. %{_includedir}/tqt3/ntqptrqueue.h
  545. %{_includedir}/tqt3/ntqptrstack.h
  546. %{_includedir}/tqt3/ntqptrvector.h
  547. %{_includedir}/tqt3/ntqpushbutton.h
  548. %{_includedir}/tqt3/ntqradiobutton.h
  549. %{_includedir}/tqt3/ntqrangecontrol.h
  550. %{_includedir}/tqt3/ntqrect.h
  551. %{_includedir}/tqt3/ntqregexp.h
  552. %{_includedir}/tqt3/ntqregion.h
  553. %{_includedir}/tqt3/ntqrtlcodec.h
  554. %{_includedir}/tqt3/ntqscrollbar.h
  555. %{_includedir}/tqt3/ntqscrollview.h
  556. %{_includedir}/tqt3/ntqsemaphore.h
  557. %{_includedir}/tqt3/ntqsemimodal.h
  558. %{_includedir}/tqt3/ntqserversocket.h
  559. %{_includedir}/tqt3/ntqsession.h
  560. %{_includedir}/tqt3/ntqsessionmanager.h
  561. %{_includedir}/tqt3/ntqsettings.h
  562. %{_includedir}/tqt3/ntqsgistyle.h
  563. %{_includedir}/tqt3/ntqshared.h
  564. %{_includedir}/tqt3/ntqsignal.h
  565. %{_includedir}/tqt3/ntqsignalmapper.h
  566. %{_includedir}/tqt3/ntqsignalslotimp.h
  567. %{_includedir}/tqt3/ntqsimplerichtext.h
  568. %{_includedir}/tqt3/ntqsize.h
  569. %{_includedir}/tqt3/ntqsizegrip.h
  570. %{_includedir}/tqt3/ntqsizepolicy.h
  571. %{_includedir}/tqt3/ntqsjiscodec.h
  572. %{_includedir}/tqt3/ntqslider.h
  573. %{_includedir}/tqt3/ntqsocket.h
  574. %{_includedir}/tqt3/ntqsocketdevice.h
  575. %{_includedir}/tqt3/ntqsocketnotifier.h
  576. %{_includedir}/tqt3/ntqsortedlist.h
  577. %{_includedir}/tqt3/ntqsound.h
  578. %{_includedir}/tqt3/ntqspinbox.h
  579. %{_includedir}/tqt3/ntqsplashscreen.h
  580. %{_includedir}/tqt3/ntqsplitter.h
  581. %{_includedir}/tqt3/ntqsql.h
  582. %{_includedir}/tqt3/ntqsqlcursor.h
  583. %{_includedir}/tqt3/ntqsqldatabase.h
  584. %{_includedir}/tqt3/ntqsqldriver.h
  585. %{_includedir}/tqt3/ntqsqldriverplugin.h
  586. %{_includedir}/tqt3/ntqsqleditorfactory.h
  587. %{_includedir}/tqt3/ntqsqlerror.h
  588. %{_includedir}/tqt3/ntqsqlfield.h
  589. %{_includedir}/tqt3/ntqsqlform.h
  590. %{_includedir}/tqt3/ntqsqlindex.h
  591. %{_includedir}/tqt3/ntqsqlpropertymap.h
  592. %{_includedir}/tqt3/ntqsqlquery.h
  593. %{_includedir}/tqt3/ntqsqlrecord.h
  594. %{_includedir}/tqt3/ntqsqlresult.h
  595. %{_includedir}/tqt3/ntqsqlselectcursor.h
  596. %{_includedir}/tqt3/ntqstatusbar.h
  597. %{_includedir}/tqt3/ntqstring.h
  598. %{_includedir}/tqt3/ntqstringlist.h
  599. %{_includedir}/tqt3/ntqstrlist.h
  600. %{_includedir}/tqt3/ntqstrvec.h
  601. %{_includedir}/tqt3/ntqstyle.h
  602. %{_includedir}/tqt3/ntqstylefactory.h
  603. %{_includedir}/tqt3/ntqstyleplugin.h
  604. %{_includedir}/tqt3/ntqstylesheet.h
  605. %{_includedir}/tqt3/ntqsyntaxhighlighter.h
  606. %{_includedir}/tqt3/ntqt.h
  607. %{_includedir}/tqt3/ntqtabbar.h
  608. %{_includedir}/tqt3/ntqtabdialog.h
  609. %{_includedir}/tqt3/ntqtable.h
  610. %{_includedir}/tqt3/ntqtabwidget.h
  611. %{_includedir}/tqt3/ntqtextbrowser.h
  612. %{_includedir}/tqt3/ntqtextcodec.h
  613. %{_includedir}/tqt3/ntqtextcodecfactory.h
  614. %{_includedir}/tqt3/ntqtextcodecplugin.h
  615. %{_includedir}/tqt3/ntqtextedit.h
  616. %{_includedir}/tqt3/ntqtextstream.h
  617. %{_includedir}/tqt3/ntqtextview.h
  618. %{_includedir}/tqt3/ntqthread.h
  619. %{_includedir}/tqt3/ntqthreadstorage.h
  620. %{_includedir}/tqt3/ntqtimer.h
  621. %{_includedir}/tqt3/ntqtl.h
  622. %{_includedir}/tqt3/ntqtoolbar.h
  623. %{_includedir}/tqt3/ntqtoolbox.h
  624. %{_includedir}/tqt3/ntqtoolbutton.h
  625. %{_includedir}/tqt3/ntqtooltip.h
  626. %{_includedir}/tqt3/ntqtranslator.h
  627. %{_includedir}/tqt3/ntqtsciicodec.h
  628. %{_includedir}/tqt3/ntqurl.h
  629. %{_includedir}/tqt3/ntqurlinfo.h
  630. %{_includedir}/tqt3/ntqurloperator.h
  631. %{_includedir}/tqt3/ntqutfcodec.h
  632. %{_includedir}/tqt3/ntquuid.h
  633. %{_includedir}/tqt3/ntqvalidator.h
  634. %{_includedir}/tqt3/ntqvaluelist.h
  635. %{_includedir}/tqt3/ntqvaluestack.h
  636. %{_includedir}/tqt3/ntqvaluevector.h
  637. %{_includedir}/tqt3/ntqvariant.h
  638. %{_includedir}/tqt3/ntqvbox.h
  639. %{_includedir}/tqt3/ntqvbuttongroup.h
  640. %{_includedir}/tqt3/ntqvfbhdr.h
  641. %{_includedir}/tqt3/ntqvgroupbox.h
  642. %{_includedir}/tqt3/ntqwaitcondition.h
  643. %{_includedir}/tqt3/ntqwhatsthis.h
  644. %{_includedir}/tqt3/ntqwidget.h
  645. %{_includedir}/tqt3/ntqwidgetintdict.h
  646. %{_includedir}/tqt3/ntqwidgetlist.h
  647. %{_includedir}/tqt3/ntqwidgetplugin.h
  648. %{_includedir}/tqt3/ntqwidgetstack.h
  649. %{_includedir}/tqt3/ntqwindowdefs.h
  650. %{_includedir}/tqt3/ntqwindowsstyle.h
  651. %{_includedir}/tqt3/ntqwinexport.h
  652. %{_includedir}/tqt3/ntqwizard.h
  653. %{_includedir}/tqt3/ntqwmatrix.h
  654. %{_includedir}/tqt3/ntqworkspace.h
  655. %{_includedir}/tqt3/ntqxml.h
  656. %{_includedir}/tqt3/paragdata.h
  657. %{_includedir}/tqt3/parenmatcher.h
  658. %{_includedir}/tqt3/preferenceinterface.h
  659. %{_includedir}/tqt3/preferences.h
  660. %{_includedir}/tqt3/preferences.ui.h
  661. %{_includedir}/tqt3/projectsettingsiface.h
  662. %{_includedir}/tqt3/qconfig-dist.h
  663. %{_includedir}/tqt3/qconfig-large.h
  664. %{_includedir}/tqt3/qconfig-medium.h
  665. %{_includedir}/tqt3/qconfig-minimal.h
  666. %{_includedir}/tqt3/qconfig-small.h
  667. %{_includedir}/tqt3/qsql_ibase.h
  668. %{_includedir}/tqt3/qsql_mysql.h
  669. %{_includedir}/tqt3/qsql_odbc.h
  670. %{_includedir}/tqt3/qsql_psql.h
  671. %{_includedir}/tqt3/qsql_sqlite.h
  672. %{_includedir}/tqt3/qsql_sqlite3.h
  673. %{_includedir}/tqt3/qsqlcachedresult.h
  674. %{_includedir}/tqt3/qt_pch.h
  675. %{_includedir}/tqt3/qtmultilineedit.h
  676. %{_includedir}/tqt3/qttableview.h
  677. %{_includedir}/tqt3/qwindow.h
  678. %{_includedir}/tqt3/sourcetemplateiface.h
  679. %{_includedir}/tqt3/templatewizardiface.h
  680. %{_includedir}/tqt3/viewmanager.h
  681. %{_includedir}/tqt3/widgetinterface.h
  682. %dir %{_includedir}/tqt3/private/
  683. %{_includedir}/tqt3/private/*.h
  684. ##########
  685. %package -n %{libtqt3}-mt-mysql
  686. Summary: MySQL database driver for TQt3 (Threaded)
  687. Group: System/GUI/Other
  688. Provides: libtqt3-mt-mysql = %{version}-%{release}
  689. Requires: %{libtqt3}-mt = %{version}-%{release}
  690. %description -n %{libtqt3}-mt-mysql
  691. This package contains the threaded MySQL plugin for TQt3. Install it if
  692. you intend to use or write TQt programs that are to access a MySQL DB.
  693. %files -n %{libtqt3}-mt-mysql
  694. %defattr(-,root,root,-)
  695. %{_libdir}/tqt3/plugins/sqldrivers/libqsqlmysql.so
  696. ##########
  697. %package -n %{libtqt3}-mt-odbc
  698. Summary: ODBC database driver for TQt3 (Threaded)
  699. Group: System/GUI/Other
  700. Provides: libtqt3-mt-odbc = %{version}-%{release}
  701. Requires: %{libtqt3}-mt = %{version}-%{release}
  702. %description -n %{libtqt3}-mt-odbc
  703. This package contains the threaded ODBC plugin for TQt3. Install it if
  704. you intend to use or write TQt programs that are to access an ODBC DB.
  705. %files -n %{libtqt3}-mt-odbc
  706. %defattr(-,root,root,-)
  707. %{_libdir}/tqt3/plugins/sqldrivers/libqsqlodbc.so
  708. ##########
  709. %package -n %{libtqt3}-mt-psql
  710. Summary: PostgreSQL database driver for TQt3 (Threaded)
  711. Group: System/GUI/Other
  712. Provides: libtqt3-mt-psql = %{version}-%{release}
  713. Requires: %{libtqt3}-mt = %{version}-%{release}
  714. %description -n %{libtqt3}-mt-psql
  715. This package contains the threaded PostgreSQL plugin for TQt3.
  716. Install it if you intend to use or write TQt programs that are
  717. to access a PostgreSQL DB.
  718. %files -n %{libtqt3}-mt-psql
  719. %defattr(-,root,root,-)
  720. %{_libdir}/tqt3/plugins/sqldrivers/libqsqlpsql.so
  721. ##########
  722. %if 0%{?with_ibase}
  723. %package -n %{libtqt3}-mt-ibase
  724. Summary: InterBase/FireBird database driver for TQt3 (Threaded)
  725. Group: System/GUI/Other
  726. Provides: libtqt3-mt-ibase = %{version}-%{release}
  727. Requires: %{libtqt3}-mt = %{version}-%{release}
  728. %description -n %{libtqt3}-mt-ibase
  729. This package contains the threaded InterBase/FireBird plugin
  730. for TQt3. Install it if you intend to use or write TQt programs
  731. that are to access an InterBase/FireBird DB.
  732. %files -n %{libtqt3}-mt-ibase
  733. %defattr(-,root,root,-)
  734. %{_libdir}/tqt3/plugins/sqldrivers/libqsqlibase.so
  735. %endif
  736. ##########
  737. %package -n %{libtqt3}-mt-sqlite
  738. Summary: SQLite database driver for TQt3 (Threaded)
  739. Group: System/GUI/Other
  740. Provides: libtqt3-mt-sqlite = %{version}-%{release}
  741. Requires: %{libtqt3}-mt = %{version}-%{release}
  742. %description -n %{libtqt3}-mt-sqlite
  743. This package contains the threaded SQLite plugin for TQt3. Install
  744. it if you intend to use or write TQt programs that are to access an
  745. SQLite DB.
  746. %files -n %{libtqt3}-mt-sqlite
  747. %defattr(-,root,root,-)
  748. %{_libdir}/tqt3/plugins/sqldrivers/libqsqlite.so
  749. ##########
  750. %package -n %{libtqt3}-mt-sqlite3
  751. Summary: SQLite3 database driver for TQt3 (Threaded)
  752. Group: System/GUI/Other
  753. Provides: libtqt3-mt-sqlite3 = %{version}-%{release}
  754. Requires: %{libtqt3}-mt = %{version}-%{release}
  755. %description -n %{libtqt3}-mt-sqlite3
  756. This package contains the threaded SQLite3 plugin for TQt3. Install
  757. it if you intend to use or write TQt programs that are to access an
  758. SQLite3 DB.
  759. %files -n %{libtqt3}-mt-sqlite3
  760. %defattr(-,root,root,-)
  761. %{_libdir}/tqt3/plugins/sqldrivers/libqsqlite3.so
  762. ###########
  763. %package -n tqt3-compat-headers
  764. Summary: TQt 1.x and 2.x compatibility includes
  765. Group: Development/Libraries/X11
  766. Requires: %{libtqt3}-mt = %{version}-%{release}
  767. %description -n tqt3-compat-headers
  768. This package contains header files that are intended for build
  769. compatibility for applications that build with TQt3 but still use
  770. deprecated includes. It is meant as an intermediate solution and
  771. these header files are not part of the official TQt3 API.
  772. All sourcecode that is still using the headers of this package is
  773. subject to be changed to use the new header files which are in
  774. libtqt3-headers.
  775. %files -n tqt3-compat-headers
  776. %defattr(-,root,root,-)
  777. %{_includedir}/tqt3/ntqapp.h
  778. %{_includedir}/tqt3/ntqarray.h
  779. %{_includedir}/tqt3/ntqbitarry.h
  780. %{_includedir}/tqt3/ntqbttngrp.h
  781. %{_includedir}/tqt3/ntqchkbox.h
  782. %{_includedir}/tqt3/ntqclipbrd.h
  783. %{_includedir}/tqt3/ntqcollect.h
  784. %{_includedir}/tqt3/ntqcollection.h
  785. %{_includedir}/tqt3/ntqcombo.h
  786. %{_includedir}/tqt3/ntqconnect.h
  787. %{_includedir}/tqt3/ntqdatetm.h
  788. %{_includedir}/tqt3/ntqdrawutl.h
  789. %{_includedir}/tqt3/ntqdstream.h
  790. %{_includedir}/tqt3/ntqfiledef.h
  791. %{_includedir}/tqt3/ntqfiledlg.h
  792. %{_includedir}/tqt3/ntqfileinf.h
  793. %{_includedir}/tqt3/ntqfontinf.h
  794. %{_includedir}/tqt3/ntqfontmet.h
  795. %{_includedir}/tqt3/ntqgrpbox.h
  796. %{_includedir}/tqt3/ntqintcach.h
  797. %{_includedir}/tqt3/ntqiodev.h
  798. %{_includedir}/tqt3/ntqlcdnum.h
  799. %{_includedir}/tqt3/ntqlined.h
  800. %{_includedir}/tqt3/ntqmenudta.h
  801. %{_includedir}/tqt3/ntqmetaobj.h
  802. %{_includedir}/tqt3/ntqmlined.h
  803. %{_includedir}/tqt3/ntqmsgbox.h
  804. %{_includedir}/tqt3/ntqmultilinedit.h
  805. %{_includedir}/tqt3/ntqobjcoll.h
  806. %{_includedir}/tqt3/ntqobjdefs.h
  807. %{_includedir}/tqt3/ntqpdevmet.h
  808. %{_includedir}/tqt3/ntqpmcache.h
  809. %{_includedir}/tqt3/ntqpntarry.h
  810. %{_includedir}/tqt3/ntqpopmenu.h
  811. %{_includedir}/tqt3/ntqprndlg.h
  812. %{_includedir}/tqt3/ntqprogbar.h
  813. %{_includedir}/tqt3/ntqprogdlg.h
  814. %{_includedir}/tqt3/ntqpsprn.h
  815. %{_includedir}/tqt3/ntqpushbt.h
  816. %{_includedir}/tqt3/ntqqueue.h
  817. %{_includedir}/tqt3/ntqradiobt.h
  818. %{_includedir}/tqt3/ntqrangect.h
  819. %{_includedir}/tqt3/ntqscrbar.h
  820. %{_includedir}/tqt3/ntqsocknot.h
  821. %{_includedir}/tqt3/ntqstack.h
  822. %{_includedir}/tqt3/ntqtabdlg.h
  823. %{_includedir}/tqt3/ntqtstream.h
  824. %{_includedir}/tqt3/ntqwidcoll.h
  825. %{_includedir}/tqt3/ntqwindefs.h
  826. %dir %{_docdir}/tqt3-compat-headers
  827. %{_docdir}/tqt3-compat-headers/attic.tar.gz
  828. ###########
  829. %package -n tqt3-dev-tools
  830. Summary: TQt3 development tools
  831. Group: Development/Libraries/X11
  832. Requires: %{libtqt3}-mt-devel = %{version}-%{release}
  833. Requires: tqt3-dev-tools-devel = %{version}-%{release}
  834. %description -n tqt3-dev-tools
  835. This package contains all tools that are necessary to build programs
  836. that are written using TQt3. These are: qmake, uic and moc.
  837. For TQt3 development, you most likely want to install this package.
  838. %files -n tqt3-dev-tools
  839. %defattr(-,root,root,-)
  840. %{_datadir}/tqt3/doc/html/qmake*html
  841. %{_datadir}/tqt3/doc/html/qmake*dcf
  842. %{_bindir}/tqmake
  843. %{_bindir}/tqlupdate
  844. %{_bindir}/tqlrelease
  845. %{_bindir}/tquic
  846. %{_bindir}/tqmoc
  847. %{_bindir}/tqembed
  848. %{_mandir}/man1/lupdate-tqt3.1*
  849. %{_mandir}/man1/lrelease-tqt3.1*
  850. %{_mandir}/man1/moc-tqt3.1*
  851. %{_mandir}/man1/uic-tqt3.1*
  852. ##########
  853. %package -n tqt3-dev-tools-devel
  854. Summary: TQt3 development tools
  855. Group: Development/Libraries/X11
  856. %description -n tqt3-dev-tools-devel
  857. This package contains all tools that are necessary to build programs
  858. that are written using TQt3.
  859. %files -n tqt3-dev-tools-devel
  860. %defattr(-,root,root,-)
  861. %dir %{_datadir}/tqt3/mkspecs/
  862. %{_datadir}/tqt3/mkspecs/*
  863. ##########
  864. %package -n tqt3-designer
  865. Summary: TQt3 Designer
  866. Group: System/GUI/Other
  867. Requires: %{libtqt3}-mt = %{version}-%{release}
  868. Requires: tqt3-doc = %{version}-%{release}
  869. %description -n tqt3-designer
  870. The TQt Designer is a GUI design program that interactively lets you
  871. construct user interfaces for the TQt library. Additionally it lets you
  872. create whole project and works together with the database drivers
  873. provided by TQt to create applications with easy database access through
  874. TQt. The resulting user interface files can then be converted to
  875. C++ classes using the uic commandline utility which is usually done
  876. automatically for the developer with a project management with qmake
  877. or automake.
  878. %files -n tqt3-designer
  879. %defattr(-,root,root,-)
  880. %{_bindir}/tqdesigner
  881. %{_bindir}/tqtcreatecw
  882. %{_bindir}/tqtconv2ui
  883. %{_datadir}/tqt3/doc/html/designer*html
  884. %{_datadir}/tqt3/doc/html/designer*dcf
  885. %{_datadir}/tqt3/doc/html/designer*jpg
  886. %dir %{_datadir}/tqt3/templates/
  887. %{_datadir}/tqt3/templates/*
  888. %{_libdir}/tqt3/plugins/designer/libcppeditor.so
  889. %{_libdir}/tqt3/plugins/designer/libdlgplugin.so
  890. %{_libdir}/tqt3/plugins/designer/libgladeplugin.so
  891. %{_libdir}/tqt3/plugins/designer/libkdevdlgplugin.so
  892. %{_libdir}/tqt3/plugins/designer/librcplugin.so
  893. %{_libdir}/tqt3/plugins/designer/libwizards.so
  894. %dir %{_datadir}/tqt3/tools/tqtconv2ui
  895. %{_datadir}/tqt3/tools/tqtconv2ui/main.cpp
  896. %{_datadir}/tqt3/tools/tqtconv2ui/tqtconv2ui.pro
  897. %dir %{_datadir}/tqt3/tools/tqtcreatecw
  898. %{_datadir}/tqt3/tools/tqtcreatecw/README
  899. %{_datadir}/tqt3/tools/tqtcreatecw/main.cpp
  900. %{_datadir}/tqt3/tools/tqtcreatecw/tqtcreatecw.pro
  901. %{_datadir}/applications/tqdesigner.desktop
  902. %{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png
  903. ###########
  904. %package -n tqt3-apps-devel
  905. Summary: TQt3 Developer applications development files
  906. Group: Development/Libraries/X11
  907. Requires: %{libtqt3}-mt-devel = %{version}-%{release}
  908. %description -n tqt3-apps-devel
  909. This package is intended for developers who want to develop applications
  910. using the additional static libraries that ship with the applications
  911. included with TQt; the TQt Designer and the TQt Assistant.
  912. It allows integrating additional enhancements into the TQt Designer
  913. respectively faciliate the TQt Assistant from within your TQt application
  914. to interactively call the Assistant for displaying online help that the
  915. developer includes with his application.
  916. %post -n tqt3-apps-devel
  917. /sbin/ldconfig || :
  918. %postun -n tqt3-apps-devel
  919. /sbin/ldconfig || :
  920. %files -n tqt3-apps-devel
  921. %defattr(-,root,root,-)
  922. %{_libdir}/libtqtdesignercore.prl
  923. %{_libdir}/libtqtdesignercore.so
  924. %{_libdir}/libtqtdesignercore.so.1
  925. %{_libdir}/libtqtdesignercore.so.1.0
  926. %{_libdir}/libtqtdesignercore.so.1.0.0
  927. %{_libdir}/libtqteditor.prl
  928. %{_libdir}/libtqteditor.so
  929. %{_libdir}/libtqteditor.so.1
  930. %{_libdir}/libtqteditor.so.1.0
  931. %{_libdir}/libtqteditor.so.1.0.0
  932. %{_libdir}/libtqassistantclient.prl
  933. %{_libdir}/libtqassistantclient.so
  934. %{_libdir}/libtqassistantclient.so.1
  935. %{_libdir}/libtqassistantclient.so.1.0
  936. %{_libdir}/libtqassistantclient.so.1.0.0
  937. %{_includedir}/tqt3/ntqassistantclient.h
  938. ##########
  939. %package -n tqt3-linguist
  940. Summary: The TQt3 Linguist
  941. Group: System/GUI/Other
  942. Requires: %{libtqt3}-mt = %{version}-%{release}
  943. Requires: tqt3-doc = %{version}-%{release}
  944. %description -n tqt3-linguist
  945. This package contains the TQt3 Linguist which provides translators a
  946. tool perfect for translating any TQt-based application into other
  947. languages and can be used and installed independently of any TQt
  948. development files by the translator.
  949. %files -n tqt3-linguist
  950. %defattr(-,root,root,-)
  951. %{_bindir}/tqlinguist
  952. %dir %{_datadir}/tqt3/phrasebooks/
  953. %{_datadir}/tqt3/phrasebooks/*
  954. %{_datadir}/tqt3/doc/html/linguist*html
  955. %{_datadir}/tqt3/doc/html/linguist*dcf
  956. %dir %{_docdir}/tqt3-linguist
  957. %{_docdir}/tqt3-linguist/qt_untranslated.ts
  958. %{_datadir}/applications/tqlinguist.desktop
  959. %{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png
  960. ##########
  961. %package -n tqt3-assistant
  962. Summary: The TQt3 assistant application
  963. Group: System/GUI/Other
  964. Requires: %{libtqt3}-mt = %{version}-%{release}
  965. Requires: tqt3-doc = %{version}-%{release}
  966. %description -n tqt3-assistant
  967. This package contains the TQt3 Assistant, an easy to use frontend for
  968. the complete TQt3 documentation and serves as an online help viewer for
  969. any TQt program that wants to give the usesr access to online help.
  970. Within the TQt tools it is used as the help viewer for the online help
  971. for the TQt3 Designer and Linguist as well as qmake and the TQt 3 API
  972. documentation.
  973. Developers of TQt Application who want to faciliate the TQt Assistant for online
  974. help display should refer to the README.Debian file for libtqt3-mt-devel and
  975. the package tqt3-apps-devel.
  976. %files -n tqt3-assistant
  977. %defattr(-,root,root,-)
  978. %{_bindir}/tqassistant
  979. %{_datadir}/icons/hicolor/32x32/apps/tqassistant.png
  980. %{_datadir}/tqt3/doc/html/assistant*html
  981. %{_datadir}/tqt3/doc/html/assistant*dcf
  982. %{_datadir}/applications/tqassistant.desktop
  983. %{_datadir}/icons/hicolor/32x32/apps/tqassistant.png
  984. ##########
  985. %package -n tqt3-qtconfig
  986. Summary: The TQt3 Configuration Application
  987. Group: Development/Libraries/X11
  988. Requires: %{libtqt3}-mt = %{version}-%{release}
  989. Requires: tqt3-doc = %{version}-%{release}
  990. %description -n tqt3-qtconfig
  991. The TQt Configuration program allows endusers to configure the look
  992. and behavior of any TQt3 application. It is mostly only necessary
  993. on systems which don't run TDE because the Trinity control center already
  994. covers this configuration automatically for the users TQt3 applications
  995. according to his desktop settings in TDE. However, if you need to run
  996. CJK-fonts or other non-latin scripts, you will most likely want to
  997. install this package.
  998. %files -n tqt3-qtconfig
  999. %defattr(-,root,root,-)
  1000. %{_bindir}/tqtconfig
  1001. %{_datadir}/applications/tqtconfig.desktop
  1002. %{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png
  1003. ###########
  1004. %package -n tqt3-dev-tools-embedded
  1005. Summary: Tools to develop embedded TQt applications
  1006. Group: System/GUI/Other
  1007. Requires: %{libtqt3}-mt-devel = %{version}-%{release}
  1008. %description -n tqt3-dev-tools-embedded
  1009. This package contains applications only suitable for developing
  1010. applications with TQt Embedded and/or Qtopia. It provides the QVFB
  1011. program for simulating an embedded device desktop as well as maketqpf
  1012. for converting fonts to embedded fonts suitable for being utilized
  1013. by TQt Embedded applications.
  1014. %files -n tqt3-dev-tools-embedded
  1015. %defattr(-,root,root,-)
  1016. %{_bindir}/maketqpf
  1017. %{_bindir}/tqvfb
  1018. %dir %{_sysconfdir}/tqt3/tqvfb
  1019. %config %{_sysconfdir}/tqt3/tqvfb/pda.skin
  1020. %dir %{_datadir}/tqvfb
  1021. %{_datadir}/tqvfb/pda_down.png
  1022. %{_datadir}/tqvfb/pda_up.png
  1023. ###########
  1024. %package -n tqt3-dev-tools-compat
  1025. Summary: Conversion utilities for TQt3 development
  1026. Group: System/GUI/Other
  1027. Requires: %{libtqt3}-mt-devel = %{version}-%{release}
  1028. %description -n tqt3-dev-tools-compat
  1029. This package contains some older TQt tools (namely tqtrename140,
  1030. tqm2ts, tqtmergetr, tqtfindtr and msg2tqm). These tools are needed only by
  1031. application developers who need to migrate any TQt application written
  1032. for TQt 1.x or 2.x over to TQt 3.x. The purpose of the tools are to
  1033. help fixing the changes with include file renaming as well as migrating
  1034. the message file format of TQt 2 translation files or any gettext-based
  1035. translation system to the TQt 3 system.
  1036. %files -n tqt3-dev-tools-compat
  1037. %defattr(-,root,root,-)
  1038. %{_bindir}/tqtrename140
  1039. %{_bindir}/tqm2ts
  1040. %{_bindir}/tqtmergetr
  1041. %{_bindir}/tqtfindtr
  1042. %{_bindir}/msg2tqm
  1043. ##########
  1044. %package -n tqt3-i18n
  1045. Summary: Translation (i18n) files for TQt3 library
  1046. Group: System/GUI/Other
  1047. Requires: %{libtqt3}-mt = %{version}-%{release}
  1048. %description -n tqt3-i18n
  1049. This package contains the internationalization files for the TQt library.
  1050. TQt applications that are internationalized will need to depend on this package
  1051. for full internationalization support of the application towards the end user.
  1052. %files -n tqt3-i18n
  1053. %defattr(-,root,root,-)
  1054. %dir %{_datadir}/tqt3/translations/
  1055. %{_datadir}/tqt3/translations/assistant_de.qm
  1056. %{_datadir}/tqt3/translations/assistant_fr.qm
  1057. %{_datadir}/tqt3/translations/designer_de.qm
  1058. %{_datadir}/tqt3/translations/designer_fr.qm
  1059. %{_datadir}/tqt3/translations/linguist_de.qm
  1060. %{_datadir}/tqt3/translations/linguist_fr.qm
  1061. %{_datadir}/tqt3/translations/qt_ar.qm
  1062. %{_datadir}/tqt3/translations/qt_ca.qm
  1063. %{_datadir}/tqt3/translations/qt_cs.qm
  1064. %{_datadir}/tqt3/translations/qt_de.qm
  1065. %{_datadir}/tqt3/translations/qt_es.qm
  1066. %{_datadir}/tqt3/translations/qt_fr.qm
  1067. %{_datadir}/tqt3/translations/qt_he.qm
  1068. %{_datadir}/tqt3/translations/qt_it.qm
  1069. %{_datadir}/tqt3/translations/qt_ja.qm
  1070. %{_datadir}/tqt3/translations/qt_nb.qm
  1071. %{_datadir}/tqt3/translations/qt_pt-br.qm
  1072. %{_datadir}/tqt3/translations/qt_ru.qm
  1073. %{_datadir}/tqt3/translations/qt_sk.qm
  1074. %{_datadir}/tqt3/translations/qt_zh-cn.qm
  1075. %{_datadir}/tqt3/translations/qt_zh-tw.qm
  1076. ##########
  1077. %package -n tqt3-doc
  1078. Summary: TQt3 API documentation
  1079. Group: System/GUI/Other
  1080. %description -n tqt3-doc
  1081. This package contains the complete API documentation for TQt3.
  1082. Examples to coding are in tqt3-examples. The documentation is provided
  1083. in HTML and manpage format; the HTML version can be viewed in conjunction
  1084. with the TQt Assistant.
  1085. %files -n tqt3-doc
  1086. %defattr(-,root,root,-)
  1087. %exclude %{_datadir}/tqt3/doc/html/qmake*html
  1088. %exclude %{_datadir}/tqt3/doc/html/qmake*dcf
  1089. %exclude %{_datadir}/tqt3/doc/html/designer*html
  1090. %exclude %{_datadir}/tqt3/doc/html/designer*dcf
  1091. %exclude %{_datadir}/tqt3/doc/html/designer*jpg
  1092. %exclude %{_datadir}/tqt3/doc/html/linguist*html
  1093. %exclude %{_datadir}/tqt3/doc/html/linguist*dcf
  1094. %exclude %{_datadir}/tqt3/doc/html/assistant*html
  1095. %exclude %{_datadir}/tqt3/doc/html/assistant*dcf
  1096. %{_datadir}/tqt3/doc/html/*
  1097. ##########
  1098. %package -n tqt3-examples
  1099. summary: Examples for TQt3
  1100. Group: System/GUI/Other
  1101. %description -n tqt3-examples
  1102. These are examples provided with TQt3. They may be especially useful for
  1103. you if you are learning to program in TQt as they cover tquite a lot of
  1104. things that are possible with TQt3.
  1105. %files -n tqt3-examples
  1106. %defattr(-,root,root,-)
  1107. %dir %{_docdir}/tqt3-examples/
  1108. %{_docdir}/tqt3-examples/build-examples
  1109. %{_docdir}/tqt3-examples/tqt3-examples.tar.gz
  1110. ##########
  1111. %if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
  1112. %debug_package
  1113. %endif
  1114. ##########
  1115. %prep
  1116. %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
  1117. # Fix strange FTBFS on RHEL5
  1118. %if 0%{?rhel} == 5
  1119. %__sed -i "src/kernel/ntqstyle.h" -e "s|#ifdef ENABLE_T*QSTYLECONTROLELEMENTDATA_SLOW_COPY|#if 1|"
  1120. %endif
  1121. %if 0%{?suse_version}
  1122. echo "suse_version = %{?suse_version}"
  1123. echo "sle_version = %{?sle_version}"
  1124. %endif
  1125. # Add missing sqlite3 header
  1126. %__ln_s ../src/sql/drivers/sqlite3/qsql_sqlite3.h include/qsql_sqlite3.h
  1127. # fix variables in 'qmake.conf'
  1128. %__sed -i mkspecs/*/qmake.conf \
  1129. -e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/tqt3|" \
  1130. -e "s|\$(QTDIR)|/usr|g" \
  1131. -e "s|-lqt|-ltqt|g" \
  1132. -e "s|^QMAKE_CFLAGS =.*|QMAKE_CFLAGS = %{?optflags} -pipe -fvisibility=hidden -fvisibility-inlines-hidden|" \
  1133. -e "s|^QMAKE_INCDIR =.*|QMAKE_INCDIR = %{_includedir}|" \
  1134. -e "s|^QMAKE_LIBDIR =.*|QMAKE_LIBDIR = %{_libdir}|" \
  1135. -e "s|^QMAKE_RPATH = .*|QMAKE_RPATH =|" \
  1136. -e "s|^QMAKE_STRIP =.*|QMAKE_STRIP =|" \
  1137. -e "s|^QMAKE_STRIPFLAGS_LIB +=.*|QMAKE_STRIPFLAGS_LIB +=|" \
  1138. -e "s|^QMAKE_MOC =.*|QMAKE_MOC = %{_bindir}/tqmoc|" \
  1139. -e "s|^QMAKE_UIC =.*|QMAKE_UIC = %{_bindir}/tquic|" \
  1140. -e "s|^QMAKE_INCDIR_QT =.*|QMAKE_INCDIR_QT = %{_includedir}/tqt3|" \
  1141. -e "s|^QMAKE_LIBDIR_QT =.*|QMAKE_LIBDIR_QT = %{_libdir}|" \
  1142. %build
  1143. unset QTDIR QTINC QTLIB
  1144. export QTDIR=$(pwd)
  1145. export PATH=${QTDIR}/bin:${PATH}
  1146. export MANPATH=${QTDIR}/doc/man:${MANPATH}
  1147. export LD_LIBRARY_PATH="${QTDIR}/lib"
  1148. # Checks for supplementary include dir
  1149. INCDIRS=""
  1150. for d in \
  1151. %{_includedir}/fontconfig \
  1152. %{_includedir}/pgsql \
  1153. %{_includedir}/pgsql/server \
  1154. %{_includedir}/postgresql/server \
  1155. %{_includedir}/Xft2 \
  1156. %{_includedir}/Xft2/X11/Xft \
  1157. %{_includedir}/mysql \
  1158. %{_includedir}/libpng15 \
  1159. %{_includedir}/libpng16 \
  1160. %{_includedir}/tirpc \
  1161. ; do
  1162. if [ -d "${d}" ]; then
  1163. INCDIRS="${INCDIRS} -I${d}"
  1164. fi
  1165. done
  1166. # Checks for supplementary library dirs
  1167. LIBDIRS=""
  1168. for d in \
  1169. %{_libdir}/mysql \
  1170. %{_libdir}/pgsql \
  1171. ; do
  1172. if [ -d "${d}" ]; then
  1173. LIBDIRS="${LIBDIRS} -L${d}"
  1174. fi
  1175. done
  1176. # build shared, threaded (default) libraries
  1177. echo yes | ./configure \
  1178. ${INCDIRS} \
  1179. ${LIBDIRS} \
  1180. -L%{_libdir} \
  1181. -prefix "%{_prefix}" \
  1182. -libdir "%{_libdir}" \
  1183. -sysconfdir "%{_sysconfdir}/tqt3" \
  1184. -datadir "%{_datadir}/tqt3" \
  1185. -headerdir "%{_includedir}/tqt3" \
  1186. -docdir "%{_datadir}/tqt3/doc" \
  1187. -plugindir "%{_libdir}/tqt3/plugins" \
  1188. -translationdir "%{_datadir}/tqt3/translations" \
  1189. \
  1190. -thread \
  1191. -shared \
  1192. -fast \
  1193. -no-exceptions \
  1194. %if "%{_lib}" == "lib64"
  1195. -platform linux-g++-64 \
  1196. %else
  1197. -platform linux-g++ \
  1198. %endif
  1199. \
  1200. %{?with_nis:-nis} %{?!with_nis:-no-nis} \
  1201. -no-pch \
  1202. -cups \
  1203. -stl \
  1204. -ipv6 \
  1205. \
  1206. -sm \
  1207. -xshape \
  1208. -xinerama \
  1209. -xcursor \
  1210. -xrandr \
  1211. -xrender \
  1212. -xft \
  1213. -tablet \
  1214. -xkb \
  1215. \
  1216. -system-zlib \
  1217. -system-libpng \
  1218. -system-libmng \
  1219. -system-libjpeg \
  1220. %{?with_nas:-system-nas-sound} %{?!with_nas:-no-nas-sound} \
  1221. \
  1222. -enable-opengl \
  1223. -dlopen-opengl \
  1224. \
  1225. -qt-gif \
  1226. -qt-imgfmt-mng \
  1227. -qt-imgfmt-png \
  1228. -qt-imgfmt-jpeg \
  1229. -plugin-imgfmt-mng \
  1230. \
  1231. -plugin-sql-odbc \
  1232. -plugin-sql-psql \
  1233. -plugin-sql-mysql \
  1234. %{?with_ibase:-plugin-sql-ibase} \
  1235. -plugin-sql-sqlite \
  1236. -plugin-sql-sqlite3 \
  1237. \
  1238. -lfontconfig \
  1239. -inputmethod \
  1240. %{?with_glibmainloop:-glibmainloop} \
  1241. -debug \
  1242. -v
  1243. # proceed
  1244. %__make %{?_smp_mflags} sub-src sub-plugins sub-tools
  1245. # build tqtconv2ui
  1246. %__make -C tools/designer/tools/tqtconv2ui
  1247. # build tqvfb
  1248. %__make -C tools/tqvfb
  1249. # fix .prl files
  1250. %__sed -i lib/*.prl -e "s|${QTDIR}|%{_datadir}/tqt3|g"
  1251. %install
  1252. %__rm -rf %{buildroot}
  1253. export QTDIR=$(pwd)
  1254. export PATH="${QTDIR}/bin:${PATH}"
  1255. export LD_LIBRARY_PATH=${QTDIR}/lib
  1256. # Installs 'libtqt-mt.so.3' library
  1257. %__make -C src INSTALL_ROOT="%{?buildroot}" install_target
  1258. # Installs all the remaining
  1259. %__make INSTALL_ROOT=%{?buildroot} install
  1260. %__make INSTALL_ROOT=%{?buildroot} plugins-install
  1261. %__install -m755 "bin/tqtrename140" "%{?buildroot}%{_bindir}"
  1262. %__install -m755 "bin/tqtfindtr" "%{?buildroot}%{_bindir}"
  1263. # install tqtconv2ui
  1264. %__install -m755 "bin/tqtconv2ui" "%{?buildroot}%{_bindir}/tqtconv2ui"
  1265. # install tqvfb
  1266. %__install -m755 -D "tools/tqvfb/tqvfb" "%{?buildroot}%{_bindir}/tqvfb"
  1267. %__install -m644 -D "tools/tqvfb/pda.skin" "%{?buildroot}%{_sysconfdir}/tqt3/tqvfb/pda.skin"
  1268. %__install -m644 -D "tools/tqvfb/pda_down.png" "%{?buildroot}%{_datadir}/tqvfb/pda_down.png"
  1269. %__install -m644 -D "tools/tqvfb/pda_up.png" "%{?buildroot}%{_datadir}/tqvfb/pda_up.png"
  1270. ## create tqt3-apps-dev-package
  1271. cp tools/designer/interfaces/*.h "%{?buildroot}%{?_includedir}/tqt3/"
  1272. cp tools/designer/editor/*.h "%{?buildroot}%{?_includedir}/tqt3/"
  1273. # language file for linguist
  1274. %__install -D -m644 "translations/template.ts" "%{?buildroot}%{?_docdir}/tqt3-linguist/qt_untranslated.ts"
  1275. # fix that stupid friggin professional file
  1276. perl -pi -e 's{\$$\$$QT_SOURCE_TREE}{$(QTDIR)}' "src/qt_professional.pri"
  1277. ## i18n files for designer, linguist and assistant
  1278. for i in designer/designer assistant linguist/linguist; do
  1279. pushd "tools/${i}"
  1280. tqlrelease "${i##*/}.pro"
  1281. for j in ${i##*/}_*.qm; do
  1282. install -m644 "${j}" "%{?buildroot}%{_datadir}/tqt3/translations/"
  1283. done
  1284. popd
  1285. done
  1286. # desktop lnk files
  1287. %__install -m644 -D "%{SOURCE11}" "%{?buildroot}%{_datadir}/applications/tqassistant.desktop"
  1288. %__install -m644 -D "%{SOURCE12}" "%{?buildroot}%{_datadir}/applications/tqdesigner.desktop"
  1289. %__install -m644 -D "%{SOURCE13}" "%{?buildroot}%{_datadir}/applications/tqlinguist.desktop"
  1290. %__install -m644 -D "%{SOURCE14}" "%{?buildroot}%{_datadir}/applications/tqtconfig.desktop"
  1291. %if 0%{?suse_version}
  1292. %suse_update_desktop_file tqassistant Documentation
  1293. %suse_update_desktop_file tqdesigner GUIDesigner
  1294. %suse_update_desktop_file tqlinguist Translation
  1295. %suse_update_desktop_file tqtconfig Utility
  1296. %endif
  1297. # Install applications icons
  1298. %__install -m644 -D "tools/assistant/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png"
  1299. %__install -m644 -D "tools/designer/designer/images/designer_appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png"
  1300. %__install -m644 -D "tools/linguist/linguist/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png"
  1301. %__install -m644 -D "tools/qtconfig/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png"
  1302. # build attic package and copy it to tqt3-compat-headers
  1303. pushd src
  1304. tar cvvfz "attic.tar.gz" attic/
  1305. install -D -m644 "attic.tar.gz" "%{?buildroot}%{_docdir}/tqt3-compat-headers/attic.tar.gz"
  1306. popd
  1307. # install the man pages
  1308. install -D -m644 "doc/man/man1/moc.1" "%{?buildroot}%{_mandir}/man1/moc-tqt3.1"
  1309. install -D -m644 "doc/man/man1/uic.1" "%{?buildroot}%{_mandir}/man1/uic-tqt3.1"
  1310. install -D -m644 "doc/man/man1/lrelease.1" "%{?buildroot}%{_mandir}/man1/lrelease-tqt3.1"
  1311. install -D -m644 "doc/man/man1/lupdate.1" "%{?buildroot}%{_mandir}/man1/lupdate-tqt3.1"
  1312. # Install source for the designer tools, such as tqtcreatecw.
  1313. cp -ra tools/designer/tools %{?buildroot}%{_datadir}/tqt3/tools
  1314. rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/tqtcreatecw
  1315. rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/.moc
  1316. rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/.obj
  1317. rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/Makefile
  1318. rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/tqtconv2ui
  1319. rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/.moc
  1320. rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/.obj
  1321. rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/Makefile
  1322. # create examples package
  1323. %__install -d tqt3-examples
  1324. cp -ax examples tqt3-examples/
  1325. cp -ax tutorial tqt3-examples/
  1326. mkdir -p tqt3-examples/tools/designer
  1327. cp -ax tools/designer/examples tqt3-examples/tools/designer/
  1328. mkdir -p tqt3-examples/tools/linguist
  1329. cp -ax tools/linguist/tutorial tqt3-examples/tools/linguist/
  1330. find tqt3-examples -name "tt1" -print | xargs rm -rf
  1331. find tqt3-examples -name "tt2" -print | xargs rm -rf
  1332. find tqt3-examples -name "tt3" -print | xargs rm -rf
  1333. find tqt3-examples -name ".moc" | xargs rm -rf
  1334. find tqt3-examples -name ".obj" | xargs rm -rf
  1335. find tqt3-examples -name "Makefile" | xargs rm -rf
  1336. install -D -m 755 %{SOURCE1} %{?buildroot}%{_docdir}/tqt3-examples/build-examples
  1337. tar cvvfz tqt3-examples.tar.gz tqt3-examples/
  1338. install -D -m644 "tqt3-examples.tar.gz" "%{?buildroot}%{_docdir}/tqt3-examples/tqt3-examples.tar.gz"
  1339. # Fix wrong permissions
  1340. chmod 644 "%{?buildroot}%{_datadir}/tqt3/mkspecs/"*/*
  1341. %clean
  1342. %__rm -rf %{buildroot}
  1343. %changelog