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.

1534 lines
47KB

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