~chris-debenham/lyricue/master

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# $Revision: 1.12 $, $Date: 2010/03/14 10:18:19 $
# TODO:
# - Make sure display and remote subpackages can run without the client

%include    /usr/lib/rpm/macros.perl

Summary:    GNU Lyric Display System, client interface
Name:       lyricue
Version:    3.5.5
Release:    1
License:    GPL
Group:      X11/Applications/Graphics
Source0:    http://www.lyricue.org/archive/%{name}_%{version}.tar.gz
# Source0-md5:  7276c53c70a3b4334f0d4cc2a7ba9539
URL:        http://www.lyricue.org
BuildRequires:  gettext-devel
BuildRequires:  sed >= 4.0
BuildRequires:  clutter-devel
BuildRequires:  clutter-gst-devel
BuildRequires:  clutter-gtk-devel
BuildRequires:  mysql-devel
Requires:   mysql
Requires:   perl-DBI
Requires:   perl-DBI-MySQL
Requires:   perl-Gtk2 >= 1.220
Requires:   perl-Gtk2-GladeXML
Requires:   perl-URI
BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Lyricue is used to edit and display song lyrics and passages of text
along with images and videos on a second screen/projector. It was
designed for use at live events such as church services, concerts and
seminars.

%package display
Summary:    GNU Lyric Display System, display interface
Group:      X11/Applications/Graphics
Obsoletes:  lyricue-server

%description display
Component to handle action display and projection of slides.

%package remote
Summary:    GNU Lyric Display System, remote control cli
Group:  Libraries

%description remote
Remote control CLI to control the projection display from any shell.

%prep
%setup -q
#sed -e 's#po/es_ES#po/es#' -i Makefile
#mv po/es{_ES,}.po

%build
%configure \
    --prefix=%{_prefix}

%{__make}

%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
    DESTDIR=$RPM_BUILD_ROOT

%find_lang %{name} --with-gnome

rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/apport
rm -rf $RPM_BUILD_ROOT%{_datadir}/apport

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(644,root,root,755)
%doc %{_defaultdocdir}/%{name}*
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/*.conf
%attr(755,root,root) %{_bindir}/%{name}
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
%{_desktopdir}/%{name}.desktop

%files display
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/%{name}_display
%{_desktopdir}/%{name}_display.desktop

%files remote
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/%{name}_remote

%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} Lyricue Team <lds-devel@lists.sourceforge.net>
All persons listed below can be reached at lds-devel@lists.sourceforge.net

$Log: lyricue.spec,v $
Revision 1.12  2013/03/28 10:18:19  cjdebenh
New specfile from Caleb Maclennan

Revision 1.12  2010/03/14 10:18:19  cjdebenh
Remove GnomeCanvas Support and fix OSD with clutter 0.8

Revision 1.11  2009/07/30 04:19:51  cjdebenh
Move website references to lyricue.org

Revision 1.10  2009/06/16 23:05:08  cjdebenh
Better error reporting, handle locales better for preferences dialog and work on import db stuff

Revision 1.9  2009/06/10 04:58:21  cjdebenh
Move to 2.0.0

Revision 1.9  2009/06/10 04:27:52  cjdebenh
Update numbering to 2.0.0

Revision 1.8  2009/04/22 04:27:52  cjdebenh
Update numbering to 1.9.9

Revision 1.8  2009/22/04 02:18:22  cjdebenh
Update for 1.9.9 release

Revision 1.7  2008/10/03 02:18:22  cjdebenh
Update for 1.9.8 release

Revision 1.6  2007/11/12 03:40:57  cjdebenh
Import spec file from Caleb Maclennan