lingot.spec

Jacek 'jackass' Brzozowski metallowiec at op.pl
Sun Jan 22 22:34:57 CET 2006


znów kikla poprawek... Dzięki za podpowiedzi, jak jest coś jeszcze to 
krytykujcie
-------------- next part --------------
--- lingot-0.6.1/Makefile.in~	2005-07-25 01:41:26.000000000 +0200
+++ lingot-0.6.1/Makefile.in	2006-01-22 21:36:30.000000000 +0100
@@ -42,9 +42,8 @@
 	$(CXX) $(C_FLAGS) -c $< -o $@
 
 install: $(PROJECT)
-	install -d @prefix@
-	install -d @prefix@/bin
-	install $(PROJECT) @prefix@/bin
+	install -d $(DESTDIR)@prefix@/bin
+	install $(PROJECT) $(DESTDIR)@prefix@/bin
 
 clean:
 	find -type f -path '*.o' | xargs rm -f
-------------- 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:	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-devel
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ło testowane).

%prep
%setup -q
%patch0 -p1

%build
%{__aclocal}
%{__autoconf}
%{__autoheader}
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__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 $


More information about the pld-devel-pl mailing list