new spec (lyricue)

Caleb Maclennan pld at chiefworks.com
Sat Nov 10 00:39:08 CET 2007


Hello all,

My thanks to everyone who has contributed to make PLD the great
distro that it is. I have been a user since a little before RA
was finalized and haven't missed a beat since. At last count
I have 5 TH and 14 AC systems and am the systems guru for 27 more
AC systems at a local ISP.

Up until now my contributions have been made by proxy through
aredridel, but I have been lurking here on the devel list for some
time and decided there was no reason I couldn't offer to be
involved more directly. I am experienced as a systems administrator
and familiar with PLD, but am fairly green as a developer. If
someone is willing to help me over the humps I would be glad to
become a contributor and help with specs and docs.

Attached is a new spec of an app I use that I would like to see
added at some point. It installs and runs correctly on TH, although
I have yet to check it on AC, and I am stumped as to why the
.desktop entry isn't working.

Caleb
-------------- next part --------------
# $Revision:$, $Date:$
Summary:	The GNU Lyric Display System
Name:		lyricue
Version:	1.9.6
Release:	0.4
License:	GPL
Group:		X11/Applications/Graphics
Source0:	http://www.adebenham.com/debian/%{name}_%{version}.tar.gz
URL:		http://www.adebenham.com/lyricue/
Requires:	mysql-client
Requires:	perl-DBI
Requires:	perl-URI
Requires:	perl-Gnome2-Canvas
Requires:	perl-DBD-mysql
Requires:	perl-Gtk2-GladeXML
Requires:	perl-Gtk2-Spell
Suggests:	perl-Gtk2-TrayIcon
Suggests:	perl-Locale-gettext
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Patch0:		%{name}-makefile.patch
Patch1:		%{name}-desktop.patch

%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

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc %{_docdir}/lyricue/*
%dir %{_docdir}/lyricue
%dir %{_sysconfdir}/lyricue
%dir %{_datadir}/lyricue
%config(noreplace) %{_sysconfdir}/lyricue/*
%lang(en_US) %dir %{_datadir}/locale/en_US
%lang(en_US) %dir %{_datadir}/locale/en_US/LC_MESSAGES
%lang(en_US) %{_datadir}/locale/en_US/LC_MESSAGES/lyricue.mo
%lang(es_ES) %dir %{_datadir}/locale/es_ES
%lang(es_ES) %dir %{_datadir}/locale/es_ES/LC_MESSAGES
%lang(es_ES) %{_datadir}/locale/es_ES/LC_MESSAGES/lyricue.mo
%lang(de) %dir %{_datadir}/locale/de
%lang(de) %dir %{_datadir}/locale/de/LC_MESSAGES
%lang(de) %{_datadir}/locale/de/LC_MESSAGES/lyricue.mo
%lang(fr) %dir %{_datadir}/locale/fr
%lang(fr) %dir %{_datadir}/locale/fr/LC_MESSAGES
%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/lyricue.mo
%lang(nl) %dir %{_datadir}/locale/nl
%lang(nl) %dir %{_datadir}/locale/nl/LC_MESSAGES
%lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/lyricue.mo
%lang(sv) %dir %{_datadir}/locale/sv
%lang(sv) %dir %{_datadir}/locale/sv/LC_MESSAGES
%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/lyricue.mo
%attr(755,root,root) %{_bindir}/lyricue
%attr(755,root,root) %{_bindir}/lyricue_server
%attr(755,root,root) %{_bindir}/lyricue_remote
%attr(755,root,root) %{_bindir}/import_media
%{_datadir}/lyricue/*
%{_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:$
-------------- next part --------------
--- Makefile	2007-08-06 20:14:47.000000000 -0600
+++ Makefile	2007-11-09 14:00:17.099116935 -0700
@@ -2,8 +2,8 @@
 SHARE = lyricue.glade images/lyricue.png images/lyricue-icon.png
 SQL = mysql/MySQL_create_Table.sql mysql/MySQL_create_media.sql mysql/Update_1.2.sql mysql/Update_1.9.sql mysql/Update_1.9.4.sql
 DESKTOP = lyricue.desktop lyricue_server.desktop
-ETC = default.conf
-DOCS = docs/Development.txt docs/example_song.txt docs/AUTHORS docs/NEWS docs/README docs/song_template.txt docs/TODO
+ETC = default.conf access.conf
+DOCS = doc/Development.txt doc/example_song.txt doc/AUTHORS doc/NEWS doc/README doc/song_template.txt doc/TODO
 INSTALL = /usr/bin/install -c -m 755
 INSTALLDATA = /usr/bin/install -c -m 644 -D
 POFILES = po/de.po po/en_US.po po/fr.po po/nl.po po/sv.po po/es_ES.po
@@ -33,8 +33,8 @@
 	mkdir -p $(DESTDIR)/usr/share/applications
 	$(INSTALLDATA) $(DESKTOP) $(DESTDIR)/usr/share/applications
 
-	mkdir -p $(DESTDIR)/usr/share/docs/lyricue
-	$(INSTALLDATA) $(DOCS) $(DESTDIR)/usr/share/docs/lyricue
+	mkdir -p $(DESTDIR)/usr/share/doc/lyricue
+	$(INSTALLDATA) $(DOCS) $(DESTDIR)/usr/share/doc/lyricue
 
 	@for t in $(MOFILES); do l=`basename $$t .po.mo`; $(INSTALLDATA) $$t $(DESTDIR)/usr/share/locale/$$l/LC_MESSAGES/lyricue.mo;done
 
-------------- next part --------------
--- lyricue.desktop	2007-08-06 20:14:47.000000000 -0600
+++ lyricue.desktop	2007-11-09 13:43:38.068525315 -0700
@@ -8,6 +8,5 @@
 X-GNOME-DocPath=
 Terminal=false
 Name=Lyricue
-GenericName=
-Categories=AudioVideo
+Categories=Graphics
 Comment=The GNU Lyric Display System
--- lyricue_server.desktop	2007-08-06 20:14:47.000000000 -0600
+++ lyricue_server.desktop	2007-11-09 13:45:09.123634287 -0700
@@ -5,13 +5,10 @@
 Exec=lyricue_server
 TryExec=
 Icon=/usr/share/lyricue/lyricue-icon.png
-X-GNOME-DocPath=
 Terminal=false
 Name=Lyricue Server
-GenericName=
 Comment=The GNU Lyric Display System Server
 MultipleArgs=false
-Categories=Application;AudioVideo
+Categories=Graphics
 StartupNotify=true
 Encoding=UTF-8
-X-Desktop-File-Install-Version=0.3


More information about the pld-devel-en mailing list