]>
Commit | Line | Data |
---|---|---|
76322211 CM |
1 | # TODO: |
2 | # - Make sure display and remote subpackages can run without the client | |
3 | ||
95ed1aca | 4 | %include /usr/lib/rpm/macros.perl |
76322211 | 5 | |
a0a6c258 | 6 | Summary: GNU Lyric Display System, client interface |
030824ed | 7 | Name: lyricue |
6f5cc404 | 8 | Version: 3.5.3 |
01a1cec5 | 9 | Release: 1 |
030824ed CM |
10 | License: GPL |
11 | Group: X11/Applications/Graphics | |
f679a520 | 12 | Source0: http://www.lyricue.org/archive/%{name}_%{version}.tar.gz |
0c32b9db | 13 | # Source0-md5: 7276c53c70a3b4334f0d4cc2a7ba9539 |
37e0e0a2 ER |
14 | Patch0: %{name}-clutter-gst.patch |
15 | Patch1: %{name}-gstreamer.patch | |
18e7739d | 16 | URL: http://www.lyricue.org |
cb53e35a | 17 | BuildRequires: clutter-gst-devel >= 0.10 |
5e60f7ee | 18 | BuildRequires: clutter-gtk-devel >= 0.10 |
18e7739d | 19 | BuildRequires: gettext-devel |
2f735b49 | 20 | BuildRequires: gtk+2-devel |
61b1a6dd | 21 | BuildRequires: intltool |
22 | BuildRequires: mysql-devel | |
23 | BuildRequires: pkgconfig | |
86f47f35 | 24 | BuildRequires: rpm-perlprov |
18e7739d | 25 | BuildRequires: sed >= 4.0 |
c1e71a9c ER |
26 | Requires: %{name}-display = %{version}-%{release} |
27 | Requires: %{name}-remote = %{version}-%{release} | |
5e60f7ee CM |
28 | Requires: clutter-gst >= 0.10 |
29 | Requires: clutter-gtk >= 0.10 | |
fc5593c2 | 30 | Requires: mysql-client |
c9a37d94 | 31 | Requires: perl-Gtk2 >= 1.220 |
e4c55ef9 | 32 | Suggests: ImageMagick |
f529baf7 | 33 | Suggests: diatheke |
d9eb634d | 34 | Suggests: mysql |
f679a520 | 35 | Suggests: perl-DBD-SQLite |
c1e71a9c | 36 | Suggests: perl-DBD-mysql |
8d043569 | 37 | Suggests: perl-Gtk2-Spell |
9242600b | 38 | Suggests: perl-Gtk2-TrayIcon |
c9a37d94 | 39 | Suggests: totem |
f529baf7 | 40 | Suggests: unoconv |
030824ed CM |
41 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
42 | ||
43 | %description | |
d9eb634d ER |
44 | Lyricue is used to edit and display song lyrics and passages of text |
45 | along with images and videos on a second screen/projector. It was | |
46 | designed for use at live events such as church services, concerts and | |
47 | seminars. | |
a0a6c258 | 48 | |
4308a692 CM |
49 | %package display |
50 | Summary: GNU Lyric Display System, display interface | |
a0a6c258 | 51 | Group: X11/Applications/Graphics |
c9a37d94 | 52 | Requires: perl-Gtk2 >= 1.220 |
f679a520 | 53 | Suggests: perl-DBD-SQLite |
c1e71a9c | 54 | Suggests: perl-DBD-mysql |
9242600b | 55 | Suggests: perl-Locale-gettext |
c9a37d94 | 56 | Suggests: totem |
c1e71a9c | 57 | Obsoletes: lyricue-server |
a0a6c258 | 58 | |
4308a692 | 59 | %description display |
a0a6c258 | 60 | Component to handle action display and projection of slides. |
030824ed | 61 | |
0992ab09 CM |
62 | %package remote |
63 | Summary: GNU Lyric Display System, remote control cli | |
37e0e0a2 | 64 | Group: Libraries |
0992ab09 CM |
65 | |
66 | %description remote | |
4308a692 | 67 | Remote control CLI to control the projection display from any shell. |
0992ab09 | 68 | |
030824ed CM |
69 | %prep |
70 | %setup -q | |
76322211 CM |
71 | %patch0 -p0 |
72 | %patch1 -p0 | |
030824ed | 73 | |
4308a692 CM |
74 | # Fix perl shebang |
75 | %{__sed} -i -e '1s,^#!.*perl,#!%{__perl},' src/%{name} src/%{name}_remote | |
c9a37d94 | 76 | |
030824ed | 77 | %build |
c1e71a9c ER |
78 | %configure \ |
79 | --prefix=%{_prefix} | |
80 | ||
030824ed CM |
81 | %{__make} |
82 | ||
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
03582891 | 85 | %{__make} install \ |
030824ed CM |
86 | DESTDIR=$RPM_BUILD_ROOT |
87 | ||
6148683c | 88 | %find_lang %{name} --with-gnome |
218d1586 | 89 | |
030824ed CM |
90 | %clean |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
218d1586 | 93 | %files -f %{name}.lang |
030824ed | 94 | %defattr(644,root,root,755) |
4308a692 | 95 | %doc %{_docdir}/%{name} |
a0a6c258 | 96 | %dir %{_sysconfdir}/%{name} |
6c3e4404 | 97 | %config(noreplace) %{_sysconfdir}/%{name}/*.conf |
a0a6c258 | 98 | %attr(755,root,root) %{_bindir}/%{name} |
a0a6c258 | 99 | %dir %{_datadir}/%{name} |
a0a6c258 CM |
100 | %{_datadir}/%{name}/* |
101 | %{_desktopdir}/%{name}.desktop | |
a0a6c258 | 102 | |
4308a692 | 103 | %files display |
d9eb634d | 104 | %defattr(644,root,root,755) |
4308a692 CM |
105 | %attr(755,root,root) %{_bindir}/%{name}_display |
106 | %{_desktopdir}/%{name}_display.desktop | |
0992ab09 CM |
107 | |
108 | %files remote | |
109 | %defattr(644,root,root,755) | |
110 | %attr(755,root,root) %{_bindir}/%{name}_remote |