rpms/libkdcraw/FC-6 libkdcraw.spec,NONE,1.1

Marcin Garski (mgarski) fedora-extras-commits at redhat.com
Fri Jun 1 20:16:37 UTC 2007


Author: mgarski

Update of /cvs/pkgs/rpms/libkdcraw/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13007

Added Files:
	libkdcraw.spec 
Log Message:
Import libkdcraw in FC6 branch



--- NEW FILE libkdcraw.spec ---
Name:		libkdcraw
Version:	0.1.0
Release:	2%{?dist}
Summary:	A library for decoding RAW picture files

Group:		Applications/Multimedia
License:	GPL
URL:		http://www.digikam.org/
Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	kdelibs-devel lcms-devel gettext pkgconfig

%description
libkdcraw is a C++ interface around dcraw binary program used to decode RAW
picture files. The library documentation is available on header files.

This library is used by kipi-plugins, digiKam and others kipi host programs.

%package devel
Summary:	Development files for %{name}
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	pkgconfig

%description devel
This package contains the libraries, include files and other resources
needed to develop applications using %{name}.

%prep
%setup -q

%build
unset QTDIR || : ; . %{_sysconfdir}/profile.d/qt.sh

%configure \
	--disable-rpath \
	--disable-debug \
	--disable-dependency-tracking \
	--enable-final \
	--enable-new-ldflags \
	--disable-warnings
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

%find_lang %{name}

rm -f $RPM_BUILD_ROOT%{_libdir}/libkdcraw.la

%post
/sbin/ldconfig

touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
	%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%postun
/sbin/ldconfig

touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
	%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %name.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{_bindir}/kdcraw
%{_libdir}/libkdcraw.so.*
%{_datadir}/icons/hicolor/*/apps/kdcraw.png
%{_mandir}/man1/kdcraw.1*

%files devel
%defattr(-,root,root,-)
%{_includedir}/libkdcraw/
%{_libdir}/pkgconfig/libkdcraw.pc
%{_libdir}/libkdcraw.so

%changelog
* Tue May 29 2007 Marcin Garski <mgarski[AT]post.pl> 0.1.0-2
- Add pkgconfig as devel Requires
- Change Source0 URL

* Tue May 08 2007 Marcin Garski <mgarski[AT]post.pl> 0.1.0-1
- Initial specfile




More information about the scm-commits mailing list