1.1 --- a/libavc1394/libavc1394.spec Fri Mar 11 21:30:26 2011 +0100 1.2 +++ b/libavc1394/libavc1394.spec Fri Mar 11 21:36:51 2011 +0100 1.3 @@ -1,15 +1,16 @@ 1.4 +Name: libavc1394 1.5 Summary: Audio/Video Control library for IEEE-1394 devices 1.6 -Name: libavc1394 1.7 -Version: 0.5.3 1.8 -Release: 10%{?dist} 1.9 +Vendor: Europalab Software 1.10 +Packager: Michael Schloh von Bennewitz 1.11 +Distribution: MeeGo Thirdparty 1.12 +Version: 0.5.4 1.13 +Release: 20101201 1.14 License: GPLv2+ and LGPLv2+ 1.15 Group: System Environment/Libraries 1.16 URL: http://sourceforge.net/projects/libavc1394/ 1.17 Source: http://downloads.sourceforge.net/libavc1394/libavc1394-%{version}.tar.gz 1.18 -Patch1: libavc1394-0.5.3-librom.patch 1.19 +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) 1.20 BuildRequires: libraw1394-devel 1.21 -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) 1.22 -ExcludeArch: s390 s390x 1.23 1.24 %description 1.25 The libavc1394 library allows utilities to control IEEE-1394 devices 1.26 @@ -17,17 +18,19 @@ 1.27 to control devices like the tape on a VCR or camcorder. 1.28 1.29 %package devel 1.30 -Summary: Development libs for libavc1394 1.31 -Group: Development/Libraries 1.32 -Requires: %{name} = %{version}-%{release} 1.33 -Requires: libraw1394-devel, pkgconfig 1.34 +Summary: Development libs for libavc1394 1.35 +Vendor: Europalab Software 1.36 +Packager: Michael Schloh von Bennewitz 1.37 +Distribution: MeeGo Thirdparty 1.38 +Group: Development/Libraries 1.39 +Requires: %{name} = %{version}-%{release} 1.40 +Requires: libraw1394-devel, pkgconfig 1.41 1.42 %description devel 1.43 Development libraries required to build applications using libavc1394. 1.44 1.45 %prep 1.46 %setup -q 1.47 -%patch1 -p1 -b .librom 1.48 chmod -x test/dvcont.c 1.49 1.50 %build 1.51 @@ -38,9 +41,7 @@ 1.52 1.53 %install 1.54 rm -rf $RPM_BUILD_ROOT 1.55 -make install INSTALL="install -p" DESTDIR=$RPM_BUILD_ROOT 1.56 -# sigh, --disable-static doesn't work 1.57 -rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,a} 1.58 +make install DESTDIR=$RPM_BUILD_ROOT 1.59 1.60 %clean 1.61 rm -rf $RPM_BUILD_ROOT 1.62 @@ -52,29 +53,33 @@ 1.63 %files 1.64 %defattr(-,root,root,-) 1.65 %doc AUTHORS COPYING NEWS README ChangeLog TODO 1.66 -# binaries are GPLv2+ 1.67 %{_bindir}/dvcont 1.68 %{_bindir}/mkrfc2734 1.69 %{_bindir}/panelctl 1.70 %{_mandir}/man1/dvcont.1.gz 1.71 %{_mandir}/man1/panelctl.1.gz 1.72 %{_mandir}/man1/mkrfc2734.1* 1.73 -# libs are LGPLv2+ 1.74 %{_libdir}/libavc1394.so.* 1.75 %{_libdir}/librom1394.so.* 1.76 1.77 - 1.78 %files devel 1.79 %defattr(-,root,root,-) 1.80 %{_includedir}/libavc1394/ 1.81 %{_libdir}/pkgconfig/libavc1394.pc 1.82 +%{_libdir}/libavc1394.a 1.83 +%{_libdir}/libavc1394.la 1.84 %{_libdir}/libavc1394.so 1.85 +%{_libdir}/librom1394.a 1.86 +%{_libdir}/librom1394.la 1.87 %{_libdir}/librom1394.so 1.88 1.89 +%changelog 1.90 +* Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 0.5.4-20101201 1.91 +- Synchronize with upstream vendor version 0.5.4 1.92 +- Adjust packaging and patch logic 1.93 1.94 -%changelog 1.95 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 0.5.3-10 1.96 -- Build for MeeGo 1.1 1.97 +- Package for MeeGo 1.1 1.98 1.99 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-9 1.100 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild