tfla-01.spec

Jacek 'jackass' Brzozowski metallowiec at op.pl
Thu Aug 18 21:57:33 CEST 2005


Prosze o sprawdzenie i ewentualne dorzucenie. jak zwykle krytyka mile 
widziana.
-------------- next part --------------
# $Revision: 1.50 $, $Date: 2005/05/25 19:01:53 $
Summary:	tfla-01 - a simple logic analyzer for the PC
Summary(pl):	tfla-01 - prosty analizatar stanów logicznych dla PC
Name:		tfla-01
Version:	0.1.2
Release:	0.1
License:	GPL
Group:		Applications/Engineering
Source0:	http://download.berlios.de/tfla-01/%{name}-%{version}.tar.gz
# Source0-md5:	3f767d6258064cf7aec4375bd1406732
Source1:	%{name}.desktop
Patch0:		%{name}-dir.patch
URL:		http://tfla-01.berlios.de/
BuildRequires:	libieee1284-devel
BuildRequires:	qt >= 3.3.0
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Simple logic analyzer for the PC's parallel port. The schematic which
needs to be attached on the parallel port is included in this
installation package.

%description -l pl
Prosty analizator stanów logicznych dla portu parallel. Schemat
urz±dzenia pod³±czanego do portu parallel znajduje siê razem z
programem.

%prep
%setup -q
%patch0 -p1

%build
export QTDIR=%{_prefix}
qmake PREFIX=$RPM_BUILD_ROOT%{_prefix} tfla-01.pro debug=1
lrelease tfla-01.pro
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_desktopdir}
export QTDIR=%{_prefix}

qmake PREFIX=$RPM_BUILD_ROOT%{_prefix} tfla-01.pro
%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc README
%attr(755,root,root) %{_bindir}/*
%{_datadir}/%{name}
%{_datadir}/pixmaps/*
%{_docdir}/*
%{_desktopdir}/*

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log: tfla-01.spec,v $



-------------- next part --------------
--- src/aboutdialog.cpp	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/aboutdialog.cpp	2005-08-13 17:40:19.000000000 +0200
@@ -14,14 +14,14 @@
  *
  * -------------------------------------------------------------------------------------------------
  */
-#include <qlabel.h>
-#include <qhbox.h>
-#include <qvbox.h>
-#include <qfile.h>
-#include <qtextedit.h>
-#include <qapplication.h>
-#include <qdir.h>
-#include <qpushbutton.h>
+#include <qt/qlabel.h>
+#include <qt/qhbox.h>
+#include <qt/qvbox.h>
+#include <qt/qfile.h>
+#include <qt/qtextedit.h>
+#include <qt/qapplication.h>
+#include <qt/qdir.h>
+#include <qt/qpushbutton.h>
 
 #include "aboutdialog.h"
 
--- src/aboutdialog.h	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/aboutdialog.h	2005-08-13 17:40:19.000000000 +0200
@@ -17,10 +17,10 @@
 #ifndef ABOUTDIALOG_H
 #define ABOUTDIALOG_H
 
-#include <qtabwidget.h>
-#include <qdialog.h>
-#include <qvbox.h>
-#include <qlayout.h>
+#include <qt/qtabwidget.h>
+#include <qt/qdialog.h>
+#include <qt/qvbox.h>
+#include <qt/qlayout.h>
 
 class AboutDialog : public QDialog
 {
--- src/centralwidget.cpp	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/centralwidget.cpp	2005-08-13 17:40:19.000000000 +0200
@@ -14,10 +14,10 @@
  *
  * -------------------------------------------------------------------------------------------------
  */
-#include <qwidget.h>
-#include <qlayout.h>
-#include <qgroupbox.h>
-#include <qpushbutton.h>
+#include <qt/qwidget.h>
+#include <qt/qlayout.h>
+#include <qt/qgroupbox.h>
+#include <qt/qpushbutton.h>
 
 #include "centralwidget.h"
 #include "dataview.h"
--- src/centralwidget.h	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/centralwidget.h	2005-08-13 17:40:19.000000000 +0200
@@ -17,7 +17,7 @@
 #ifndef CENTRALWIDGET_H
 #define CENTRALWIDGET_H
 
-#include <qwidget.h>
+#include <qt/qwidget.h>
 
 #include "dataview.h"
 #include "parameterbox.h"
--- src/datacollector.cpp	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/datacollector.cpp	2005-08-13 17:40:19.000000000 +0200
@@ -18,9 +18,9 @@
 
 #include <vector>
 
-#include <qobject.h>
-#include <qdatetime.h>
-#include <qcstring.h>
+#include <qt/qobject.h>
+#include <qt/qdatetime.h>
+#include <qt/qcstring.h>
 
 #include "datacollector.h"
 #include "hardware/parportlist.h"
--- src/datacollector.h	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/datacollector.h	2005-08-13 17:40:19.000000000 +0200
@@ -17,11 +17,11 @@
 #ifndef DATACOLLECTOR_H
 #define DATACOLLECTOR_H
 
-#include <qobject.h>
-#include <qdatetime.h>
-#include <qcstring.h>
-#include <qvaluevector.h>
-#include <qthread.h>
+#include <qt/qobject.h>
+#include <qt/qdatetime.h>
+#include <qt/qcstring.h>
+#include <qt/qvaluevector.h>
+#include <qt/qthread.h>
 
 #include "hardware/parport.h"
 #include "global.h"
--- src/data.cpp	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/data.cpp	2005-08-13 17:40:19.000000000 +0200
@@ -14,7 +14,7 @@
  *
  * -------------------------------------------------------------------------------------------------
  */
-#include <qobject.h>
+#include <qt/qobject.h>
 
 #include "data.h"
 
--- src/data.h	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/data.h	2005-08-13 17:40:19.000000000 +0200
@@ -17,8 +17,8 @@
 #ifndef DATA_H
 #define DATA_H
 
-#include <qmainwindow.h>
-#include <qaction.h>
+#include <qt/qmainwindow.h>
+#include <qt/qaction.h>
 
 #include "global.h"
 
--- src/dataplot.cpp	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/dataplot.cpp	2005-08-13 17:40:19.000000000 +0200
@@ -14,11 +14,11 @@
  *
  * -------------------------------------------------------------------------------------------------
  */
-#include <qpixmap.h>
-#include <qpainter.h>
-#include <qevent.h>
-#include <qapplication.h>
-#include <qstatusbar.h>
+#include <qt/qpixmap.h>
+#include <qt/qpainter.h>
+#include <qt/qevent.h>
+#include <qt/qapplication.h>
+#include <qt/qstatusbar.h>
 
 #include "dataplot.h"
 #include "global.h"
--- src/dataplot.h	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/dataplot.h	2005-08-13 17:40:19.000000000 +0200
@@ -17,9 +17,9 @@
 #ifndef DATAPLOT_H
 #define DATAPLOT_H
 
-#include <qframe.h>
-#include <qvaluevector.h>
-#include <qpixmap.h>
+#include <qt/qframe.h>
+#include <qt/qvaluevector.h>
+#include <qt/qpixmap.h>
 
 class DataView;
 
--- src/dataview.cpp	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/dataview.cpp	2005-08-13 17:40:19.000000000 +0200
@@ -14,14 +14,14 @@
  *
  * -------------------------------------------------------------------------------------------------
  */
-#include <qframe.h>
-#include <qlayout.h>
-#include <qpixmap.h>
-#include <qapplication.h>
-#include <qscrollbar.h>
-#include <qfiledialog.h>
-#include <qstatusbar.h>
-#include <qmessagebox.h>
+#include <qt/qframe.h>
+#include <qt/qlayout.h>
+#include <qt/qpixmap.h>
+#include <qt/qapplication.h>
+#include <qt/qscrollbar.h>
+#include <qt/qfiledialog.h>
+#include <qt/qstatusbar.h>
+#include <qt/qmessagebox.h>
 
 #include "settings.h"
 #include "dataview.h"
--- src/dataview.h	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/dataview.h	2005-08-13 17:40:19.000000000 +0200
@@ -17,7 +17,7 @@
 #ifndef DATAVIEW_H
 #define DATAVIEW_H
 
-#include <qframe.h>
+#include <qt/qframe.h>
 
 #include "dataplot.h"
 #include "global.h"
--- src/global.h	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/global.h	2005-08-13 17:43:17.000000000 +0200
@@ -17,7 +17,7 @@
 #ifndef GLOBAL_H
 #define GLOBAL_H
 
-#include <qvaluevector.h>
+#include <qt/qvaluevector.h>
 
 /**
  * Byte is shorter than unsigned char.
diff -u src/hardware/parporterror.cpp tfla-01-0.1.2/src/hardware/parporterror.cpp
--- src/hardware/parporterror.cpp	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/hardware/parporterror.cpp	2005-08-13 17:40:19.000000000 +0200
@@ -14,7 +14,7 @@
  *
  * -------------------------------------------------------------------------------------------------
  */
-#include <qstring.h>
+#include <qt/qstring.h>
 #include <ieee1284.h>
 
 #include "parporterror.h"
Tylko w tfla-01-0.1.2/src/hardware: parporterror.cpp~
diff -u src/hardware/parporterror.h tfla-01-0.1.2/src/hardware/parporterror.h
--- src/hardware/parporterror.h	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/hardware/parporterror.h	2005-08-13 17:40:19.000000000 +0200
@@ -18,7 +18,7 @@
 #define PARPORTERROR_H
 
 #include <stdexcept>
-#include <qstring.h>
+#include <qt/qstring.h>
 
 #include <tferror.h>
 
Tylko w tfla-01-0.1.2/src/hardware: parporterror.h~
diff -u src/hardware/parport.h tfla-01-0.1.2/src/hardware/parport.h
--- src/hardware/parport.h	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/hardware/parport.h	2005-08-13 17:40:19.000000000 +0200
@@ -17,7 +17,7 @@
 #ifndef PARPORT_H
 #define PARPORT_H
 
-#include <qstring.h>
+#include <qt/qstring.h>
 
 #include <ieee1284.h>
 
Tylko w tfla-01-0.1.2/src/hardware: parport.h~
--- src/help.cpp	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/help.cpp	2005-08-13 17:40:19.000000000 +0200
@@ -16,13 +16,13 @@
  */
 #include <memory>
 
-#include <qobject.h>
-#include <qapplication.h>
-#include <qmessagebox.h>
-#include <qwidget.h>
-#include <qprocess.h>
-#include <qtextcodec.h>
-#include <qfile.h>
+#include <qt/qobject.h>
+#include <qt/qapplication.h>
+#include <qt/qmessagebox.h>
+#include <qt/qwidget.h>
+#include <qt/qprocess.h>
+#include <qt/qtextcodec.h>
+#include <qt/qfile.h>
 
 #include "global.h"
 #include "tfla01.h"
--- src/help.h	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/help.h	2005-08-13 17:40:19.000000000 +0200
@@ -17,8 +17,8 @@
 #ifndef HELP_H
 #define HELP_H
 
-#include <qassistantclient.h>
-#include <qobject.h>
+#include <qt/qassistantclient.h>
+#include <qt/qobject.h>
 
 class Help : public QObject
 {
--- src/main.cpp	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/main.cpp	2005-08-13 17:32:44.000000000 +0200
@@ -16,12 +16,12 @@
  */
 #include <memory>
 
-#include <qstring.h>
-#include <qapplication.h>
-#include <qpushbutton.h>
-#include <qtranslator.h>
-#include <qmessagebox.h>
-#include <qtextcodec.h>
+#include <qt/qstring.h>
+#include <qt/qapplication.h>
+#include <qt/qpushbutton.h>
+#include <qt/qtranslator.h>
+#include <qt/qmessagebox.h>
+#include <qt/qtextcodec.h>
 
 #include "tferror.h"
 #include "tfla01.h"
--- src/parameterbox.cpp	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/parameterbox.cpp	2005-08-13 17:40:19.000000000 +0200
@@ -14,15 +14,15 @@
  *
  * -------------------------------------------------------------------------------------------------
  */
-#include <qapplication.h>
-#include <qwidget.h>
-#include <qlayout.h>
-#include <qslider.h>
-#include <qlabel.h>
-#include <qlocale.h>
-#include <qdatetimeedit.h>
-#include <qdatetime.h>
-#include <qpushbutton.h>
+#include <qt/qapplication.h>
+#include <qt/qwidget.h>
+#include <qt/qlayout.h>
+#include <qt/qslider.h>
+#include <qt/qlabel.h>
+#include <qt/qlocale.h>
+#include <qt/qdatetimeedit.h>
+#include <qt/qdatetime.h>
+#include <qt/qpushbutton.h>
 
 #include "parameterbox.h"
 #include "triggerwidget.h"
--- src/parameterbox.h	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/parameterbox.h	2005-08-13 17:40:19.000000000 +0200
@@ -17,8 +17,8 @@
 #ifndef PARAMETERBOX_H
 #define PARAMETERBOX_H
 
-#include <qframe.h>
-#include <qlabel.h>
+#include <qt/qframe.h>
+#include <qt/qlabel.h>
 
 #include "global.h"
 
--- src/settings.cpp	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/settings.cpp	2005-08-13 17:40:19.000000000 +0200
@@ -14,9 +14,9 @@
  *
  * -------------------------------------------------------------------------------------------------
  */
-#include <qsettings.h>
-#include <qdir.h>
-#include <qapplication.h>
+#include <qt/qsettings.h>
+#include <qt/qdir.h>
+#include <qt/qapplication.h>
 
 #include "settings.h"
 #include "global.h"
--- src/settings.h	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/settings.h	2005-08-13 17:40:19.000000000 +0200
@@ -17,7 +17,7 @@
 #ifndef SETTINGS_H
 #define SETTINGS_H
 
-#include <qsettings.h>
+#include <qt/qsettings.h>
 
 class Settings
 {
--- src/tferror.h	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/tferror.h	2005-08-13 17:41:23.000000000 +0200
@@ -17,8 +17,8 @@
 #ifndef TFERROR_H
 #define TFERROR_H
 
-#include <qstring.h>
-#include <qobject.h>
+#include <qt/qstring.h>
+#include <qt/qobject.h>
 
 /**
  * Exception base class (or interface) for this application. A common base class for all exception 
--- src/tfla01.cpp	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/tfla01.cpp	2005-08-13 17:40:19.000000000 +0200
@@ -16,19 +16,19 @@
  */
 #include <memory>
 
-#include <qlocale.h>
-#include <qpixmap.h>
-#include <qtimer.h>
-#include <qinputdialog.h>
-#include <qeventloop.h>
-#include <qcursor.h>
-#include <qiconset.h>
-#include <qapplication.h>
-#include <qpopupmenu.h>
-#include <qmenubar.h>
-#include <qstatusbar.h>
-#include <qmessagebox.h>
-#include <qcolordialog.h>
+#include <qt/qlocale.h>
+#include <qt/qpixmap.h>
+#include <qt/qtimer.h>
+#include <qt/qinputdialog.h>
+#include <qt/qeventloop.h>
+#include <qt/qcursor.h>
+#include <qt/qiconset.h>
+#include <qt/qapplication.h>
+#include <qt/qpopupmenu.h>
+#include <qt/qmenubar.h>
+#include <qt/qstatusbar.h>
+#include <qt/qmessagebox.h>
+#include <qt/qcolordialog.h>
 
 #include "hardware/parportlist.h"
 #include "tfla01.h"
--- src/tfla01.h	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/tfla01.h	2005-08-13 17:40:19.000000000 +0200
@@ -17,8 +17,8 @@
 #ifndef TFLA01_H
 #define TFLA01_H
 
-#include <qmainwindow.h>
-#include <qaction.h>
+#include <qt/qmainwindow.h>
+#include <qt/qaction.h>
 
 #include "centralwidget.h"
 #include "help.h"
--- src/triggerwidget.cpp	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/triggerwidget.cpp	2005-08-13 17:40:19.000000000 +0200
@@ -14,8 +14,8 @@
  *
  * -------------------------------------------------------------------------------------------------
  */
-#include <qlayout.h>
-#include <qvbox.h>
+#include <qt/qlayout.h>
+#include <qt/qvbox.h>
 
 #include "triggerwidget.h"
 
--- src/triggerwidget.h	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/triggerwidget.h	2005-08-13 17:40:19.000000000 +0200
@@ -17,10 +17,10 @@
 #ifndef TRIGGERWIDGET_H
 #define TRIGGERWIDGET_H
 
-#include <qwidget.h>
-#include <qlabel.h>
-#include <qcheckbox.h>
-#include <qdatetime.h>
+#include <qt/qwidget.h>
+#include <qt/qlabel.h>
+#include <qt/qcheckbox.h>
+#include <qt/qdatetime.h>
 
 #include "global.h"
 
--- src/wheelscrollbar.h	2005-08-13 22:47:12.000000000 +0200
+++ tfla-01-0.1.2/src/wheelscrollbar.h	2005-08-13 17:40:19.000000000 +0200
@@ -17,7 +17,7 @@
 #ifndef WHEELSCROLLBAR_H
 #define WHEELSCROLLBAR_H
 
-#include <qscrollbar.h>
+#include <qt/qscrollbar.h>
 
 
 class WheelScrollBar : public QScrollBar



-------------- next part --------------
[Desktop Entry]
Name=tfla-01
Comment=
Comment[pl]=
Icon=tfla-01_32.png
Exec=tfla-01
Terminal=false
Type=Application
Categories=Utility;Electronics;
Encoding=UTF-8
# vi: encoding=utf-8





More information about the pld-devel-pl mailing list