gtick.spec - proszę o dodanie

Wojtek Grabowski w-grab at o2.pl
Sun Apr 1 16:18:48 CEST 2007


Zrobiony na podstawie strony domowej programu
U mnie wszystko działa - adapter twierdzi że jest ok

Pozdrawiam
-------------- next part --------------
# $Revision:$, $Date:$
%bcond_without	sndfile
Summary:	Metronome application for GNU/Linux
Summary(pl.UTF-8):	Metronom dla Linuksa
Name:		gtick
Version:	0.3.13
Release:	1
License:	GPL
Group:		X11/Applications/Sound
URL:		http://www.antcom.de/gtick/
Source0:	http://www.antcom.de/gtick/download/%{name}-%{version}.tar.gz
Source1:	%{name}.desktop
BuildRequires:	autoconf >= 2.57
BuildRequires:	automake
BuildRequires:	desktop-file-utils
BuildRequires:	glib2-devel
BuildRequires:	gtk+2-devel
%{?with_sndfile:BuildRequires:	libsndfile-devel}
BuildRequires:	pkgconfig
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
gtick is a metronome application supporting different meters (Even,
2/4, 3/4, 4/4 and more) and speeds ranging from 10 to 1000 bpm. It
utilizes GTK+ and OSS (ALSA compatible).

%description -l pl.UTF-8
Metronom muzyczny z estetycznym i wygodnym interfejsem GTK+.
Kompatybilny z OSS i ALSA. Jest łatwy w obsłudze oraz posiada
moşliwość regulacji parametrów w szerokich zakresach.


%prep
%setup -q




%build

%configure \
	%{?with_sndfile:--with-sndfile }

%{__make}

%install

rm -rf $RPM_BUILD_ROOT
%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

install -d $RPM_BUILD_ROOT%{_desktopdir} \
		$RPM_BUILD_ROOT%{_pixmapsdir}

install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}

install src/icon64x64.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT


%files -f %{name}.lang
%defattr(644,root,root,755)
%attr(755,-,-) %{_bindir}/%{name}
%{_mandir}/man*/*
%{_desktopdir}/%{name}.desktop
%{_pixmapsdir}/%{name}.xpm
%doc README COPYING TODO ChangeLog
%doc doc/NOTES
%doc NEWS THANKS INSTALL AUTHORS ABOUT-NLS


%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:$
-------------- next part --------------
[Desktop Entry]
Encoding=UTF-8
Name=Gtick Metronome
Name[pl]=Metronom - gtick
Comment=
Icon=gtick.xpm
Exec=gtick
Terminal=false
Type=Application
Categories=GNOME;Application;AudioVideo;
StartupNotify=true



More information about the pld-devel-pl mailing list