Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > 73c152b5b7b50bc196df8b429b2f6b85 > files > 2

libksane-4.8.5-1.1.mga2.src.rpm

%define rel 1
%define subrel 1

Name: libksane
Summary:  A library for dealing with scanners 
Version: 4.8.5
Release: %mkrel %{rel}
Epoch: 2
Group: Graphical desktop/KDE
License: GPLv2
URL: https://projects.kde.org/projects/kde/kdegraphics/libs/libksane
Source: ftp://ftp.kde.org/pub/kde/stable/%version/src/%name-%version.tar.xz
BuildRequires: kdelibs4-devel >= 2:%{version}
BuildRequires: libsane-devel
Conflicts: kdegraphics4-core < 2:4.6.90
# Branch Patch (100-200)

%description
LibKSane is a KDE interface for SANE library to control flat scanner.

%files
%_kde_iconsdir/hicolor/*/actions/black-white.png
%_kde_iconsdir/hicolor/*/actions/color.png
%_kde_iconsdir/hicolor/*/actions/gray-scale.png

#------------------------------------------------------------------------------

%define ksane_major 0
%define libksane %mklibname ksane %ksane_major

%package -n %libksane
Summary: A library for dealing with scanners 
Group: System/Libraries

%description -n %libksane
LibKSane is a KDE interface for SANE library to control flat scanners.

%files -n %libksane
%_kde_libdir/libksane.so.%{ksane_major}*

#------------------------------------------------------------------------------

%package devel
Summary: Devel stuff for %{name}
Group: Development/KDE and Qt
Requires: %libksane = %epoch:%version-%release
Conflicts: kdegraphics4-devel < 2:4.6.90

%description devel
LibKSane is a KDE interface for SANE library to control flat scanner.

This package contains header files needed if you wish to build applications
based on %{name}.

%files devel
%_kde_includedir/%{name}
%_kde_libdir/cmake/KSane/KSaneConfig.cmake
%_kde_libdir/libksane.so
%_kde_libdir/pkgconfig/libksane.pc

#------------------------------------------------------------------------------

%prep
%setup -q 

%build
export LD=/usr/bin/ld.gold 
%cmake_kde4 -DKDE4_ENABLE_FINAL=ON
%make

%install
rm -fr %buildroot
%makeinstall_std -C build


%changelog

* Mon Aug 06 2012 mikala <mikala> 2:4.8.5-1.1.mga2
+ Revision: 279068
- Update tarball to KDE SC 4.8.5
- Update tarball to 4.8.4

  + fwang <fwang>
    - new version 4.8.2

* Thu Mar 08 2012 mikala <mikala> 2:4.8.1-1.mga2
+ Revision: 221510
- New upstream tarball

* Thu Jan 19 2012 mikala <mikala> 2:4.8.0-1.mga2
+ Revision: 198116
- Updating tarball to KDE 4.8.0

* Thu Jan 05 2012 mikala <mikala> 2:4.7.97-1.mga2
+ Revision: 190870
- Update tarball to KDE SC 4.7.97

* Thu Dec 22 2011 mikala <mikala> 2:4.7.95-1.mga2
+ Revision: 185786
- Update tarball to KDE SC 4.7.95

* Thu Dec 15 2011 mikala <mikala> 2:4.7.90-1.mga2
+ Revision: 182180
- Update tarball to KDE SC 4.7.90
- remove redundant requires in -devel package
- use gold linker
- build with -DKDE4_ENABLE_FINAL=ON
- update URL

* Wed Dec 07 2011 mikala <mikala> 2:4.7.4-1.mga2
+ Revision: 178444
- Fix typo.
- Update tarball to KDE SC 4.7.4

* Wed Nov 02 2011 mikala <mikala> 2:4.7.3-1.mga2
+ Revision: 161405
- Update tarball to KDE SC 4.7.3

* Wed Oct 05 2011 mikala <mikala> 2:4.7.2-1.mga2
+ Revision: 151982
- Update tarball to KDE SC 4.7.2

* Wed Sep 07 2011 mikala <mikala> 2:4.7.1-1.mga2
+ Revision: 140673
- Update tarball to KDE SC 4.7.1
- Remove %%clean section
- Update tarball to KDE SC 4.7.0

* Mon Jul 11 2011 mikala <mikala> 2:4.6.95-0.mga2
+ Revision: 122312
- Update tarball to KDE 4.6.95 ( KDE SC 4.7 RC2)

* Wed Jun 29 2011 fwang <fwang> 2:4.6.90-3.mga2
+ Revision: 115971
- add conflicts on older packages

* Wed Jun 29 2011 mikala <mikala> 2:4.6.90-2.mga2
+ Revision: 115733
- imported package libksane