]> git.pld-linux.org Git - packages/lyricue.git/blob - lyricue.spec
Resolve conflict
[packages/lyricue.git] / lyricue.spec
1 # TODO:
2 # - Make sure display and remote subpackages can run without the client
3
4 %include    /usr/lib/rpm/macros.perl
5
6 Summary:        GNU Lyric Display System, client interface
7 Name:           lyricue
8 Version:        3.5.3
9 Release:        1
10 License:        GPL
11 Group:          X11/Applications/Graphics
12 Source0:        http://www.lyricue.org/archive/%{name}_%{version}.tar.gz
13 # Source0-md5:  7276c53c70a3b4334f0d4cc2a7ba9539
14 Patch0:         %{name}-clutter-gst.patch
15 Patch1:         %{name}-gstreamer.patch
16 URL:            http://www.lyricue.org
17 BuildRequires:  clutter-gst-devel >= 0.10
18 BuildRequires:  clutter-gtk-devel >= 0.10
19 BuildRequires:  gettext-devel
20 BuildRequires:  gtk+2-devel
21 BuildRequires:  intltool
22 BuildRequires:  mysql-devel
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpm-perlprov
25 BuildRequires:  sed >= 4.0
26 Requires:       %{name}-display = %{version}-%{release}
27 Requires:       %{name}-remote = %{version}-%{release}
28 Requires:       clutter-gst >= 0.10
29 Requires:       clutter-gtk >= 0.10
30 Requires:       mysql-client
31 Requires:       perl-Gtk2 >= 1.220
32 Suggests:       ImageMagick
33 Suggests:       diatheke
34 Suggests:       mysql
35 Suggests:       perl-DBD-SQLite
36 Suggests:       perl-DBD-mysql
37 Suggests:       perl-Gtk2-Spell
38 Suggests:       perl-Gtk2-TrayIcon
39 Suggests:       totem
40 Suggests:       unoconv
41 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43 %description
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.
48
49 %package display
50 Summary:        GNU Lyric Display System, display interface
51 Group:          X11/Applications/Graphics
52 Requires:       perl-Gtk2 >= 1.220
53 Suggests:       perl-DBD-SQLite
54 Suggests:       perl-DBD-mysql
55 Suggests:       perl-Locale-gettext
56 Suggests:       totem
57 Obsoletes:      lyricue-server
58
59 %description display
60 Component to handle action display and projection of slides.
61
62 %package remote
63 Summary:        GNU Lyric Display System, remote control cli
64 Group:          Libraries
65
66 %description remote
67 Remote control CLI to control the projection display from any shell.
68
69 %prep
70 %setup -q
71 %patch0 -p0
72 %patch1 -p0
73
74 # Fix perl shebang
75 %{__sed} -i -e '1s,^#!.*perl,#!%{__perl},' src/%{name} src/%{name}_remote
76
77 %build
78 %configure \
79         --prefix=%{_prefix}
80
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
88 %find_lang %{name} --with-gnome
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %files -f %{name}.lang
94 %defattr(644,root,root,755)
95 %doc %{_docdir}/%{name}
96 %dir %{_sysconfdir}/%{name}
97 %config(noreplace) %{_sysconfdir}/%{name}/*.conf
98 %attr(755,root,root) %{_bindir}/%{name}
99 %dir %{_datadir}/%{name}
100 %{_datadir}/%{name}/*
101 %{_desktopdir}/%{name}.desktop
102
103 %files display
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_bindir}/%{name}_display
106 %{_desktopdir}/%{name}_display.desktop
107
108 %files remote
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_bindir}/%{name}_remote
This page took 0.102323 seconds and 3 git commands to generate.