SPECS: cpuinfo.spec

Bartosz Świątek swiatek at informatik.hu-berlin.de
Sat Apr 15 11:41:20 CEST 2006


Nowy spec.
W przypadku braku zastrzezen, prosze o commit.
-------------- next part --------------
# $Revision: 1.0 $, $Date: 2006/04/15 22:52:54 $

Summary:	An applet to show CPU temperature and frequency.
Summary(pl):	Aplet pokazujący temperaturę i frekwencję procesora.
Name:		cpuinfo
Version:	0.4.2
Release:	1
License:	GPL
Group:		Applications
Source0:	33257-%{name}-%{version}.tar.gz
# Source0-md5:	539f3e8fb01fed3285493ec202c32424
URL:		http://www.kde-look.org/content/download.php?content=33257&id=1
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	gcc-c++
BuildRequires:	kdelibs-devel
Requires(postun):	/sbin/ldconfig
Requires(pre,post):	/sbin/ldconfig
Requires(preun):	/sbin/ldconfig
Requires:	kdelibs
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
This applet shows the current CPU temperature and frequency.

%description -l pl
Ten aplet pokazuje temperaturę i frekwencję procesora.

%prep
%setup -q -n %{name}

%build
%{__make} -f Makefile.cvs
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%pre
/sbin/ldconfig

%post
/sbin/ldconfig

%preun
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
%{_libdir}/*.a
%{_libdir}/kde3/*.la
%{_libdir}/kde3/*.so
%{_datadir}/apps/kicker/applets/cpuinfo.desktop

%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: cpuinfo.spec,v $



More information about the pld-devel-pl mailing list