Dnia 06.01.2008 22:44 Adam Gołębiowski popełnił(a):
> a teraz?
Wygląda ok - dzięki
Przy okazji mam gtick.spec z uaktualnioną wersją - u mnie się buduje i działa
# $Revision: 1.5 $, $Date: 2007/04/02 11:26:48 $
#
# Conditional build:
%bcond_without sndfile # build without sndfile
#
Summary: Metronome application for GNU/Linux
Summary(pl.UTF-8): Metronom dla Linuksa
Name: gtick
Version: 0.4.1
Release: 1
License: GPL
Group: X11/Applications/Sound
Source0: http://www.antcom.de/gtick/download/%{name}-%{version}.tar.gz
# Source0-md5: ae0b2152cdfb98e0bba4d4e6258a22c0
Source1: %{name}.desktop
URL: http://www.antcom.de/gtick/
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%{!?with_sndfile:out}-sndfile
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_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)
%doc README TODO ChangeLog NEWS THANKS AUTHORS doc/NOTES
%attr(755,root,root) %{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%{_desktopdir}/%{name}.desktop
%{_pixmapsdir}/%{name}.xpm
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <[EMAIL PROTECTED]>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log: gtick.spec,v $
Revision 1.5 2007/04/02 11:26:48 qboosh
- unified
Revision 1.4 2007/04/02 06:18:21 glen
- kill double utf8 encoded, bcond header
Revision 1.3 2007/04/02 00:49:42 shadzik
- cosmetics
Revision 1.2 2007/04/02 00:45:10 shadzik
- put URL below sources
Revision 1.1 2007/04/01 23:56:54 shadzik
- initial
- by Wojtek Grabowski <w-grab at o2 dot pl>
_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl