rpms/k9copy/devel k9copy.spec,1.3,1.4

Rex Dieter rdieter at rpmfusion.org
Thu Sep 18 21:33:05 CEST 2008


Author: rdieter

Update of /cvs/free/rpms/k9copy/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv27245

Modified Files:
	k9copy.spec 
Log Message:
* Thu Sep 18 2008 Rex Dieter <rdieter at fedoraproject.org> 2.0.2-3
- use pkg-config to query ffmpeg includedir(s)



Index: k9copy.spec
===================================================================
RCS file: /cvs/free/rpms/k9copy/devel/k9copy.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- k9copy.spec	16 Sep 2008 20:00:06 -0000	1.3
+++ k9copy.spec	18 Sep 2008 19:33:04 -0000	1.4
@@ -1,40 +1,41 @@
 
-Name:           k9copy
-Version:        2.0.2
-Release:        2%{?dist}
-Summary:        Video DVD backup and creation program
-Group:          Applications/Multimedia
-License:        GPLv2+
-URL:            http://k9copy.sourceforge.net/
-Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}-Source.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Name:    k9copy
+Version: 2.0.2
+Release: 3%{?dist}
+Summary: Video DVD backup and creation program
+Group:   Applications/Multimedia
+License: GPLv2+
+URL:     http://k9copy.sourceforge.net/
+Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-Source.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Patch1: k9copy-2.0.0-libdvdread_so4.patch
 Patch2: k9copy-2.0.0-gcc43.patch
-# FIXME: use pkgconfig
+# FIXME/TODO: use pkgconfig
 Patch3: k9copy-2.0.2-ffmpeg.patch
 
 # FIXME: build fails here
 ExcludeArch: ppc ppc64
 
-BuildRequires:  cmake
-BuildRequires:  ffmpeg-devel
-BuildRequires:  gettext
-BuildRequires:  hal-devel
-BuildRequires:  kdelibs4-devel
-BuildRequires:  libdvdread-devel
-BuildRequires:  xine-lib-devel
+BuildRequires: cmake
+BuildRequires: ffmpeg-devel
+BuildRequires: gettext
+BuildRequires: hal-devel
+BuildRequires: kdelibs4-devel libutempter-devel
+BuildRequires: libdvdread-devel
+BuildRequires: pkgconfig
+BuildRequires: xine-lib-devel
 
 Requires(post): xdg-utils
 Requires(postun): xdg-utils
 
-Requires:       dvd+rw-tools
-Requires:       dvdauthor
+Requires: dvd+rw-tools
+Requires: dvdauthor
 
 # Optional, not *strictly* required:
-Requires:       libdvdcss
-Requires:       mencoder
-Requires:       mplayer
+Requires(hint): libdvdcss
+Requires(hint): mencoder
+Requires(hint): mplayer
 
 %description
 Video DVD backup and creation program, features include:
@@ -58,8 +59,8 @@
 mkdir -p %{_target_platform}
 pushd %{_target_platform}
 %{cmake_kde4} \
-  -DFFMPEG_INCLUDE_DIR=%{_includedir}/ffmpeg \
-  -DFFMPEGSCALE_INCLUDE_DIR=%{_includedir}/ffmpeg \
+  -DFFMPEG_INCLUDE_DIR=$(pkg-config libavcodec --variable=includedir) \
+  -DFFMPEGSCALE_INCLUDE_DIR=$(pkg-config libswscale --variable=includedir) \
   ..
 popd
 
@@ -97,6 +98,9 @@
 
 
 %changelog
+* Thu Sep 18 2008 Rex Dieter <rdieter at fedoraproject.org> 2.0.2-3
+- use pkg-config to query ffmpeg includedir(s)
+
 * Tue Sep 16 2008 Rex Dieter <rdieter at fedoraproject.org> 2.0.2-2
 - ffmpeg patch 
 



More information about the rpmfusion-commits mailing list