]> git.pld-linux.org Git - packages/lyricue.git/blame_incremental - lyricue.spec
Resolve conflict
[packages/lyricue.git] / lyricue.spec
... / ...
CommitLineData
1# TODO:
2# - Make sure display and remote subpackages can run without the client
3
4%include /usr/lib/rpm/macros.perl
5
6Summary: GNU Lyric Display System, client interface
7Name: lyricue
8Version: 3.5.3
9Release: 1
10License: GPL
11Group: X11/Applications/Graphics
12Source0: http://www.lyricue.org/archive/%{name}_%{version}.tar.gz
13# Source0-md5: 7276c53c70a3b4334f0d4cc2a7ba9539
14Patch0: %{name}-clutter-gst.patch
15Patch1: %{name}-gstreamer.patch
16URL: http://www.lyricue.org
17BuildRequires: clutter-gst-devel >= 0.10
18BuildRequires: clutter-gtk-devel >= 0.10
19BuildRequires: gettext-devel
20BuildRequires: gtk+2-devel
21BuildRequires: intltool
22BuildRequires: mysql-devel
23BuildRequires: pkgconfig
24BuildRequires: rpm-perlprov
25BuildRequires: sed >= 4.0
26Requires: %{name}-display = %{version}-%{release}
27Requires: %{name}-remote = %{version}-%{release}
28Requires: clutter-gst >= 0.10
29Requires: clutter-gtk >= 0.10
30Requires: mysql-client
31Requires: perl-Gtk2 >= 1.220
32Suggests: ImageMagick
33Suggests: diatheke
34Suggests: mysql
35Suggests: perl-DBD-SQLite
36Suggests: perl-DBD-mysql
37Suggests: perl-Gtk2-Spell
38Suggests: perl-Gtk2-TrayIcon
39Suggests: totem
40Suggests: unoconv
41BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43%description
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.
48
49%package display
50Summary: GNU Lyric Display System, display interface
51Group: X11/Applications/Graphics
52Requires: perl-Gtk2 >= 1.220
53Suggests: perl-DBD-SQLite
54Suggests: perl-DBD-mysql
55Suggests: perl-Locale-gettext
56Suggests: totem
57Obsoletes: lyricue-server
58
59%description display
60Component to handle action display and projection of slides.
61
62%package remote
63Summary: GNU Lyric Display System, remote control cli
64Group: Libraries
65
66%description remote
67Remote 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
84rm -rf $RPM_BUILD_ROOT
85%{__make} install \
86 DESTDIR=$RPM_BUILD_ROOT
87
88%find_lang %{name} --with-gnome
89
90%clean
91rm -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.044998 seconds and 4 git commands to generate.