]> git.pld-linux.org Git - packages/lyricue.git/blame - lyricue.spec
Resolve conflict
[packages/lyricue.git] / lyricue.spec
CommitLineData
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 6Summary: GNU Lyric Display System, client interface
030824ed 7Name: lyricue
6f5cc404 8Version: 3.5.3
01a1cec5 9Release: 1
030824ed
CM
10License: GPL
11Group: X11/Applications/Graphics
f679a520 12Source0: http://www.lyricue.org/archive/%{name}_%{version}.tar.gz
0c32b9db 13# Source0-md5: 7276c53c70a3b4334f0d4cc2a7ba9539
37e0e0a2
ER
14Patch0: %{name}-clutter-gst.patch
15Patch1: %{name}-gstreamer.patch
18e7739d 16URL: http://www.lyricue.org
cb53e35a 17BuildRequires: clutter-gst-devel >= 0.10
5e60f7ee 18BuildRequires: clutter-gtk-devel >= 0.10
18e7739d 19BuildRequires: gettext-devel
2f735b49 20BuildRequires: gtk+2-devel
61b1a6dd 21BuildRequires: intltool
22BuildRequires: mysql-devel
23BuildRequires: pkgconfig
86f47f35 24BuildRequires: rpm-perlprov
18e7739d 25BuildRequires: sed >= 4.0
c1e71a9c
ER
26Requires: %{name}-display = %{version}-%{release}
27Requires: %{name}-remote = %{version}-%{release}
5e60f7ee
CM
28Requires: clutter-gst >= 0.10
29Requires: clutter-gtk >= 0.10
fc5593c2 30Requires: mysql-client
c9a37d94 31Requires: perl-Gtk2 >= 1.220
e4c55ef9 32Suggests: ImageMagick
f529baf7 33Suggests: diatheke
d9eb634d 34Suggests: mysql
f679a520 35Suggests: perl-DBD-SQLite
c1e71a9c 36Suggests: perl-DBD-mysql
8d043569 37Suggests: perl-Gtk2-Spell
9242600b 38Suggests: perl-Gtk2-TrayIcon
c9a37d94 39Suggests: totem
f529baf7 40Suggests: unoconv
030824ed
CM
41BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43%description
d9eb634d
ER
44Lyricue is used to edit and display song lyrics and passages of text
45along with images and videos on a second screen/projector. It was
46designed for use at live events such as church services, concerts and
47seminars.
a0a6c258 48
4308a692
CM
49%package display
50Summary: GNU Lyric Display System, display interface
a0a6c258 51Group: X11/Applications/Graphics
c9a37d94 52Requires: perl-Gtk2 >= 1.220
f679a520 53Suggests: perl-DBD-SQLite
c1e71a9c 54Suggests: perl-DBD-mysql
9242600b 55Suggests: perl-Locale-gettext
c9a37d94 56Suggests: totem
c1e71a9c 57Obsoletes: lyricue-server
a0a6c258 58
4308a692 59%description display
a0a6c258 60Component to handle action display and projection of slides.
030824ed 61
0992ab09
CM
62%package remote
63Summary: GNU Lyric Display System, remote control cli
37e0e0a2 64Group: Libraries
0992ab09
CM
65
66%description remote
4308a692 67Remote 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
84rm -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
91rm -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
This page took 0.101803 seconds and 4 git commands to generate.