]> git.pld-linux.org Git - packages/lyricue.git/blob - lyricue.spec
- Trying to do perlprovs right with some help from SamChi
[packages/lyricue.git] / lyricue.spec
1 # TODO:
2 # - Split packages for core, client and remote
3 Summary:        GNU Lyric Display System, client interface
4 Name:           lyricue
5 Version:        2.0.0
6 Release:        8
7 License:        GPL
8 Group:          X11/Applications/Graphics
9 Source0:        http://www.adebenham.com/debian/%{name}_%{version}.tar.gz
10 # Source0-md5:  cd0fb1c9b0e6ccadc52cda2601b86be6
11 URL:            http://www.lyricue.org
12 Patch0:         %{name}-shebang.patch
13 BuildRequires:  rpm-perlprov
14 Requires:       mysql-client
15 Suggests:       %{name}-server
16 Suggests:       diatheke
17 Suggests:       mysql
18 Suggests:       perl(DBD::mysql)
19 Suggests:       perl(Gtk2::TrayIcon)
20 Suggests:       unoconv
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Lyricue is used to edit and display song lyrics and passages of text
25 along with images and videos on a second screen/projector. It was
26 designed for use at live events such as church services, concerts and
27 seminars.
28
29 %package server
30 Summary:        GNU Lyric Display System, server interface
31 Group:          X11/Applications/Graphics
32 BuildRequires:  rpm-perlprov
33 Suggests:       perl(DBD::mysql)
34 Suggests:       perl(Locale::gettext)
35
36 %description server
37 Component to handle action display and projection of slides.
38
39 %prep
40 %setup -q
41 %patch0 -p0
42
43 %build
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 mv $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/access.conf{.example,}
52
53 %find_lang %{name}
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files -f %{name}.lang
59 %defattr(644,root,root,755)
60 %dir %{_docdir}/%{name}
61 %doc %{_docdir}/%{name}/*
62 %dir %{_sysconfdir}/%{name}
63 %config(noreplace) %{_sysconfdir}/%{name}/*.conf
64 %attr(755,root,root) %{_bindir}/%{name}
65 %attr(755,root,root) %{_bindir}/%{name}_remote
66 %attr(755,root,root) %{_bindir}/import_media
67 %dir %{_datadir}/%{name}
68 %{_datadir}/%{name}/*
69 %{_desktopdir}/%{name}.desktop
70
71 %files server
72 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_bindir}/%{name}_server
74 %{_desktopdir}/%{name}_server.desktop
This page took 0.202346 seconds and 4 git commands to generate.