tfla-01.spec

Jacek 'jackass' Brzozowski metallowiec at op.pl
Sat Aug 20 09:28:41 CEST 2005


Użytkownik Paweł Sakowski napisał:

>Od tego są CFLAGS
>  
>
a więc jeszcze raz. troche poprawione.

-------------- 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
URL:		http://tfla-01.berlios.de/
BuildRequires:	libieee1284-devel
BuildRequires:	qmake
BuildRequires:	qt-devel >= 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

%build
qmake
lrelease tfla-01.pro
%{__make} QTDIR=%{_prefix}

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_desktopdir}
qmake PREFIX=$RPM_BUILD_ROOT%{_prefix}

%{__make} install \
	QTDIR=%{_prefix}
	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/*.png
%{_docdir}/packages/tfla-01
%{_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 --------------
[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