lingot.spec
Jacek 'jackass' Brzozowski
metallowiec at op.pl
Sun Jan 22 20:55:49 CET 2006
proszę o sprawdzenie i ewentualne dorzucenie do cvs. krytyka mile widziana
-------------- next part --------------
# $Revision: $, $Date: $
Summary: LINGOT - LINGOT Is Not a Guitar-Only Tuner
Summary(pl): LINGOT - LINGOT to nie tylko tuner gitarowy
Name: lingot
Version: 0.6.1
Release: 0.1
License: GPL
Group: X11/Applications/Multimedia
Source0: http://savannah.nongnu.org/download/lingot/%{name}-%{version}.tar.gz
# Source0-md5: 0131232953c7dc85e0042caa58fc15c8
Patch0: %{name}-makefile.patch
URL: http://www.nongnu.org/lingot/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gtk+ >= 2.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
LINGOT is a musical instrument tuner. It's accurate, easy to use, and
highly configurable. Originally conceived to tune electric guitars.
(Tuning another instruments has not been tested).
%description -l pl
LINGOT to stroik do instrumentów. Jest dokładny, łatwy w użyciu, i
wysoce konfigurowalny. Oryginalnie stworzony do strojenia gitar
elektrycznych. (Strojenie innych instrumentów nie był testowany).
%prep
%setup -q
%patch0 -p1
%build
%{__aclocal}
%{__autoconf}
%{__autoheader}
%configure \
--prefix=%{_prefix}
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README README.ES
%attr(755,root,root) %{_bindir}/*
%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: lingot.spec,v $
-------------- next part --------------
--- lingot-0.6.1/Makefile.in.org 2005-08-05 16:54:35.000000000 +0200
+++ lingot-0.6.1/Makefile.in 2005-08-05 16:55:57.000000000 +0200
@@ -42,9 +42,8 @@
$(CXX) $(C_FLAGS) -c $< -o $@
install: $(PROJECT)
- install -d @prefix@
- install -d @prefix@/bin
- install $(PROJECT) @prefix@/bin
+
+ install $(PROJECT) $(DESTDIR)@prefix@/bin
clean:
find -type f -path '*.o' | xargs rm -f
More information about the pld-devel-pl
mailing list