LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File lyricue.spec of Package lyricue (Project home:zhonghuaren)

Summary:	The GNU Lyric Display System
Name:		lyricue
Version:	3.7.1
Release:	1
License:	GPL
Group:		Applications/Multimedia
URL:		http://www.lyricue.org/
Source0:	http://www.lyricue.org/archive/%{name}_%{version}.tar.gz
BuildRequires:  libpng-devel
BuildRequires:	intltool
BuildRequires:	gtk2-devel
BuildRequires:	clutter-gtk-devel
BuildRequires:	clutter-gst-devel
BuildRequires:	mysql-devel
BuildRequires:	sane-backends-devel
BuildRequires:  avahi-devel
BuildRequires:  avahi-glib-devel
Requires:	mysql
Requires:	mysql-libs
Requires:	perl-DBD-mysql
Requires:	perl-Gnome2-Canvas
Requires:	perl-Gtk2-Spell
Requires:	perl-URI

%description
This application is used to edit/display song lyrics and passages of
text on a second screen/projector for use at live events such as
church services, concerts and seminars.

%prep
%setup -q
#sed -i 's/clutter-gtk-0.10/clutter-gtk-1.0/' configure
sed -i '3337,3607d' configure
sed -i 's|$ac_cv_objext|o|' configure

%build
%configure
sed -i 's|-Wall|-Wall -fPIC|' Makefile */Makefile
make

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
mv $RPM_BUILD_ROOT/%{_datadir}/doc/%{name} $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version}
%{find_lang} %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%config(noreplace) %{_sysconfdir}/lyricue/*
%{_bindir}/*
%{_datadir}/%{name}
%{_datadir}/gnome/help/%{name}
%{_datadir}/applications/*.desktop
%{_datadir}/doc/%{name}-%{version}
%{_sysconfdir}/apport/crashdb.conf.d/*
%{_datadir}/apport/package-hooks/*

%changelog
* Wed May 13 2015 Huaren Zhong <huaren.zhong@gmail.com> 3.7.1
- Rebuild for Fedora
* Mon Aug 03 2009 slick50 <lxgator@gmail.com> 2.0.0-1pclos2009
- initial pkg