skanlite/skanlite.spec

68 lines
1.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: skanlite
Version: 1.1
Release: 1mamba
Summary: An image scanner application for KDE 4
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://kde-apps.org/content/show.php?content=109803
Source: ftp://ftp.kde.org/pub/kde/stable/skanlite/%{version}/src/skanlite-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kdelibs-devel
BuildRequires: libgcc
BuildRequires: libksane-devel
BuildRequires: libpng-devel
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Skanlite is an image scanner application for KDE 4.
%debug_package
%prep
%setup -q
%build
%cmake_kde4 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_kde4_bindir}/skanlite
%{_kde4_xdgappsdir}/skanlite.desktop
%dir %{_kde4_htmldir}/de/skanlite
%doc %lang(de) %{_kde4_htmldir}/de/skanlite/*
%doc %lang(en) %{_kde4_htmldir}/en/skanlite/*
#%doc %lang(es) %{_kde4_htmldir}/es/skanlite/*
#%doc %lang(et) %{_kde4_htmldir}/et/skanlite/*
%doc %lang(fr) %{_kde4_htmldir}/fr/skanlite/*
#%doc %lang(it) %{_kde4_htmldir}/it/skanlite/*
%doc %lang(nl) %{_kde4_htmldir}/nl/skanlite/*
#%doc %lang(pt) %{_kde4_htmldir}/pt/skanlite/*
#%doc %lang(pt_BR) %{_kde4_htmldir}/pt_BR/skanlite/*
#%doc %lang(sv) %{_kde4_htmldir}/sv/skanlite/*
%doc %lang(uk) %{_kde4_htmldir}/uk/skanlite/*
%changelog
* Wed Feb 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-1mamba
- update to 1.1
* Wed Oct 31 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9-1mamba
- package created by autospec