- fix pkgcfg patch to match actual .pc file names (fixes kdegraphics build)

This commit is contained in:
Kevin Kofler 2008-06-20 14:55:17 +00:00
parent 007158c2db
commit e064eb3bef
2 changed files with 8 additions and 5 deletions

View File

@ -26,12 +26,12 @@
--cflags)
- echo "-I@includedir@/gphoto2"
+ pkg-config --cflags libgphoto2
+ pkg-config --cflags gphoto2
;;
--libs)
- echo "-L@libdir@" -lgphoto2 -lgphoto2_port -lm
+ pkg-config --libs libgphoto2
+ pkg-config --libs gphoto2
;;
*)
@ -63,12 +63,12 @@
--cflags)
- echo "-I@includedir@/gphoto2"
+ pkg-config --cflags libgphoto2-port
+ pkg-config --cflags gphoto2-port
;;
--libs)
- echo "-L@libdir@" -lgphoto2_port
+ pkg-config --libs libgphoto2-port
+ pkg-config --libs gphoto2-port
;;
*)

View File

@ -1,7 +1,7 @@
Summary: Library for accessing digital cameras
Name: libgphoto2
Version: 2.4.1
Release: 3%{?dist}
Release: 4%{?dist}
# GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2
License: GPLv2+ and GPLv2
Group: Development/Libraries
@ -150,6 +150,9 @@ rm -rf "${RPM_BUILD_ROOT}"
%{_mandir}/man3/*
%changelog
* Fri Jun 20 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 2.4.1-4
- fix pkgcfg patch to match actual .pc file names (fixes kdegraphics build)
* Thu Jun 12 2008 Jindrich Novy <jnovy@redhat.com> 2.4.1-3
- libgphoto2-devel requires libusb-devel and libexif-devel for
pkgconfig