]> git.pld-linux.org Git - packages/kde4-libkdcraw.git/blobdiff - kde4-libkdcraw.spec
- updated to 4.12.3 (by update-kde4.sh)
[packages/kde4-libkdcraw.git] / kde4-libkdcraw.spec
index a65798f069fcda428a805b8dbf94cf17373caf32..b1a588193aff947ff5cfdb4f5f333e9f58e76273 100644 (file)
@@ -1,21 +1,22 @@
+%define         _state          stable
+%define                orgname         libkdcraw
+%define         qtver           4.8.1
+
 Summary:       KDcraw libary
 Summary(pl.UTF-8):     Biblioteka KDcraw
-Name:          libkdcraw
-Version:       0.1.3
+Name:          kde4-libkdcraw
+Version:       4.12.3
 Release:       1
 License:       GPL v2+
 Group:         X11/Libraries
-Source0:       http://dl.sourceforge.net/kipi/%{name}-%{version}.tar.bz2
-# Source0-md5: dc4772804c17d7eff4f913048b8e1c3c
-Patch0:                kde-ac260-lt.patch
-URL:           http://extragear.kde.org/apps/kipi/
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: gettext-devel
-BuildRequires: kdelibs-devel >= 9:3.2.0
+Source0:       ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
+# Source0-md5: 41cd073ec1f49d941680a5a78e855def
+URL:           http://www.kde.org/
 BuildRequires: lcms-devel
 BuildRequires: libjpeg-devel
+BuildRequires: libraw-devel >= 0.15
 BuildRequires: rpmbuild(macros) >= 1.164
+Obsoletes:     libkdcraw < 4.8.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -29,7 +30,7 @@ Summary:      Header files for libkdcraw development
 Summary(pl.UTF-8):     Pliki nagłówkowe dla programistów używających libkdcraw
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      kdelibs-devel >= 9:3.2.0
+Obsoletes:     libkdcraw-devel < 4.8.0
 
 %description devel
 Header files for libkdcraw development.
@@ -38,39 +39,37 @@ Header files for libkdcraw development.
 Pliki nagłówkowe dla programistów używających libkdcraw.
 
 %prep
-%setup -q
-%patch0 -p1
+%setup -q -n %{orgname}-%{version}
 
 %build
-cp -f /usr/share/automake/config.sub admin
-%{__make} -f admin/Makefile.common cvs
-%configure
+install -d build
+cd build
+%cmake \
+               ../
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       kde_htmldir=%{_kdedocdir} \
-       kde_libs_htmldir=%{_kdedocdir}
-
-%find_lang %{name} --all-name
+%{__make} -C build/ install \
+        DESTDIR=$RPM_BUILD_ROOT \
+        kde_htmldir=%{_kdedocdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f %{name}.lang
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libkdcraw.so.?.?.?
-%attr(755,root,root) %ghost %{_libdir}/libkdcraw.so.2
-%dir %{_libdir}/libkdcraw2
-%attr(755,root,root) %{_libdir}/libkdcraw2/kdcraw
-%{_iconsdir}/hicolor/*x*/*/*.*
+%attr(755,root,root) %ghost %{_libdir}/libkdcraw.so.??
+%attr(755,root,root) %{_libdir}/libkdcraw.so.*.*.*
+%{_datadir}/apps/libkdcraw
+%{_iconsdir}/hicolor/*x*/apps/kdcraw.png
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libkdcraw.so
-%{_libdir}/libkdcraw.la
 %{_includedir}/libkdcraw
 %{_pkgconfigdir}/libkdcraw.pc
This page took 0.150127 seconds and 4 git commands to generate.