new spec (lyricue)
Caleb Maclennan
pld at chiefworks.com
Sat Nov 10 02:21:36 CET 2007
Thanks for the pointers Andrzej. I am attaching an updated
spec file with your changes.
Caleb
-------------- next part --------------
# $Revision:$, $Date:$
Summary: The GNU Lyric Display System
Name: lyricue
Version: 1.9.6
Release: 0.6
License: GPL
Group: X11/Applications/Graphics
URL: http://www.adebenham.com/lyricue/
Source0: http://www.adebenham.com/debian/%{name}_%{version}.tar.gz
Patch0: %{name}-makefile.patch
Patch1: %{name}-desktop.patch
Requires: mysql-client
Requires: perl-DBD-mysql
Requires: perl-DBI
Requires: perl-Gnome2-Canvas
Requires: perl-Gtk2-GladeXML
Requires: perl-Gtk2-Spell
Requires: perl-URI
Suggests: perl-Gtk2-TrayIcon
Suggests: perl-Locale-gettext
Suggests: sword-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
This application is used to edit/display song lyrics and passages of
text on a second screen/projector for use at live events such as
church services, concerts and seminars.
%prep
%setup -q
%patch0
%patch1
mv docs doc
%build
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{make} install DESTDIR=$RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT%{_datadir}/locale/es{_ES,}
%{find_lang} %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
%dir %{_docdir}/lyricue
%doc %{_docdir}/lyricue/*
%dir %{_sysconfdir}/lyricue
%dir %{_datadir}/lyricue
%{_datadir}/lyricue/*
%config(noreplace) %{_sysconfdir}/lyricue/*
%attr(755,root,root) %{_bindir}/*
%{_desktopdir}/*
%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:$
More information about the pld-devel-en
mailing list