Name: lemonpos Version: 0.9.4 Release: 2%{dist} Summary: Point Of Sale Application For KDE4 Group: Applications/Productivity License: GPLv2 URL: http://www.lemonpos.org/ Source0: http://downloads.sourceforge.net/project/lemonpos/citronic/%{name}-%{version}-rc7.tar.bz2 Patch1: locale.patch BuildRoot: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake desktop-file-utils kdelibs4-devel gettext Requires: qt qt-x11 mysql-server %description Lemon is an open source POS (point of sale) for Linux, and other Unix. It is a general POS, not targeted to a specific business. It has been developed for ease of use and customization, and to support bar-code scanners and ticket printers. At this point, it has been tested with a parallel port ticket printer (Star Micronics, SP500). More information on http://www.lemonpos.org/ Authors: -------- Miguel Chávez Gamboa %prep %setup -q -n %{name} %patch1 -p1 -b .locale %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake_kde4} .. popd make %{?_smp_mflags} -C %{_target_platform} %install rm -rf %{buildroot} make install/fast -C %{_target_platform} DESTDIR=%{buildroot} %check desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/lemon.desktop desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/squeeze.desktop %find_lang lemon %find_lang squeeze cat lemon.lang squeeze.lang > %{name}.lang %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root) %doc COPYING database_resources %{_kde4_bindir}/lemon %{_kde4_bindir}/squeeze %{_kde4_datadir}/applications/kde4/*.desktop %{_kde4_datadir}/icons/hicolor/*/*/*.png %{_kde4_datadir}/config.kcfg/*.kcfg %{_kde4_datadir}/config/lemonrc %{_kde4_datadir}/kde4/apps/lemon %{_kde4_datadir}/kde4/apps/squeeze %changelog *Sun Oct 30 2011 siddharth sharma - 0.9.4-2 - Fixing source Url - Fixing BuildRequires *Sat Oct 29 2011 siddharth sharma - 0.9.4-1 - Bump up release version - Fixing up spec for packaging - Fixing locale as upstream had bad locale setup ,cz to cs and redundancy with zh locale files *Sat Jan 8 2011 siddharth Sharma - 0.9.3-1 - Initial Release 1