Fri, 11 Mar 2011 21:30:26 +0100
Import package vendor original specs for necessary manipulations.
michael@0 | 1 | Summary: Audio/Video Control library for IEEE-1394 devices |
michael@0 | 2 | Name: libavc1394 |
michael@0 | 3 | Version: 0.5.3 |
michael@0 | 4 | Release: 10%{?dist} |
michael@0 | 5 | License: GPLv2+ and LGPLv2+ |
michael@0 | 6 | Group: System Environment/Libraries |
michael@0 | 7 | URL: http://sourceforge.net/projects/libavc1394/ |
michael@0 | 8 | Source: http://downloads.sourceforge.net/libavc1394/libavc1394-%{version}.tar.gz |
michael@0 | 9 | Patch1: libavc1394-0.5.3-librom.patch |
michael@0 | 10 | BuildRequires: libraw1394-devel |
michael@0 | 11 | BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) |
michael@0 | 12 | ExcludeArch: s390 s390x |
michael@0 | 13 | |
michael@0 | 14 | %description |
michael@0 | 15 | The libavc1394 library allows utilities to control IEEE-1394 devices |
michael@0 | 16 | using the AV/C specification. Audio/Video Control allows applications |
michael@0 | 17 | to control devices like the tape on a VCR or camcorder. |
michael@0 | 18 | |
michael@0 | 19 | %package devel |
michael@0 | 20 | Summary: Development libs for libavc1394 |
michael@0 | 21 | Group: Development/Libraries |
michael@0 | 22 | Requires: %{name} = %{version}-%{release} |
michael@0 | 23 | Requires: libraw1394-devel, pkgconfig |
michael@0 | 24 | |
michael@0 | 25 | %description devel |
michael@0 | 26 | Development libraries required to build applications using libavc1394. |
michael@0 | 27 | |
michael@0 | 28 | %prep |
michael@0 | 29 | %setup -q |
michael@0 | 30 | %patch1 -p1 -b .librom |
michael@0 | 31 | chmod -x test/dvcont.c |
michael@0 | 32 | |
michael@0 | 33 | %build |
michael@0 | 34 | %configure |
michael@0 | 35 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
michael@0 | 36 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
michael@0 | 37 | make %{?_smp_mflags} |
michael@0 | 38 | |
michael@0 | 39 | %install |
michael@0 | 40 | rm -rf $RPM_BUILD_ROOT |
michael@0 | 41 | make install INSTALL="install -p" DESTDIR=$RPM_BUILD_ROOT |
michael@0 | 42 | # sigh, --disable-static doesn't work |
michael@0 | 43 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,a} |
michael@0 | 44 | |
michael@0 | 45 | %clean |
michael@0 | 46 | rm -rf $RPM_BUILD_ROOT |
michael@0 | 47 | |
michael@0 | 48 | %post -p /sbin/ldconfig |
michael@0 | 49 | |
michael@0 | 50 | %postun -p /sbin/ldconfig |
michael@0 | 51 | |
michael@0 | 52 | %files |
michael@0 | 53 | %defattr(-,root,root,-) |
michael@0 | 54 | %doc AUTHORS COPYING NEWS README ChangeLog TODO |
michael@0 | 55 | # binaries are GPLv2+ |
michael@0 | 56 | %{_bindir}/dvcont |
michael@0 | 57 | %{_bindir}/mkrfc2734 |
michael@0 | 58 | %{_bindir}/panelctl |
michael@0 | 59 | %{_mandir}/man1/dvcont.1.gz |
michael@0 | 60 | %{_mandir}/man1/panelctl.1.gz |
michael@0 | 61 | %{_mandir}/man1/mkrfc2734.1* |
michael@0 | 62 | # libs are LGPLv2+ |
michael@0 | 63 | %{_libdir}/libavc1394.so.* |
michael@0 | 64 | %{_libdir}/librom1394.so.* |
michael@0 | 65 | |
michael@0 | 66 | |
michael@0 | 67 | %files devel |
michael@0 | 68 | %defattr(-,root,root,-) |
michael@0 | 69 | %{_includedir}/libavc1394/ |
michael@0 | 70 | %{_libdir}/pkgconfig/libavc1394.pc |
michael@0 | 71 | %{_libdir}/libavc1394.so |
michael@0 | 72 | %{_libdir}/librom1394.so |
michael@0 | 73 | |
michael@0 | 74 | |
michael@0 | 75 | %changelog |
michael@0 | 76 | * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 0.5.3-10 |
michael@0 | 77 | - Build for MeeGo 1.1 |
michael@0 | 78 | |
michael@0 | 79 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-9 |
michael@0 | 80 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
michael@0 | 81 | |
michael@0 | 82 | * Wed Jun 10 2009 Jarod Wilson <jarod@redhat.com> 0.5.3-8 |
michael@0 | 83 | - Fix duplicate global symbols in libavc1394 vs. librom1394 (#216143) |
michael@0 | 84 | |
michael@0 | 85 | * Mon May 18 2009 Jarod Wilson <jarod@redhat.com> 0.5.3-7 |
michael@0 | 86 | - Use included libtool, kill rpath a different way (#225988) |
michael@0 | 87 | |
michael@0 | 88 | * Mon May 18 2009 Jarod Wilson <jarod@redhat.com> 0.5.3-6 |
michael@0 | 89 | - Fix up merge review issues (#225988) |
michael@0 | 90 | |
michael@0 | 91 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-5 |
michael@0 | 92 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
michael@0 | 93 | |
michael@0 | 94 | * Tue Aug 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.3-4 |
michael@0 | 95 | - fix license tag |
michael@0 | 96 | |
michael@0 | 97 | * Tue Jul 22 2008 Jarod Wilson <jwilson@redhat.com> 0.5.3-3 |
michael@0 | 98 | - Bump and rebuild for libraw1394 v2.0.0 |
michael@0 | 99 | |
michael@0 | 100 | * Thu Feb 14 2008 Jarod Wilson <jwilson@redhat.com> - 0.5.3-2 |
michael@0 | 101 | - Bump and rebuild with gcc 4.3 |
michael@0 | 102 | |
michael@0 | 103 | * Sun Sep 10 2006 Jarod Wilson <jwilson@redhat.com> - 0.5.3-1 |
michael@0 | 104 | - Upstream release 0.5.3 |
michael@0 | 105 | |
michael@0 | 106 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.5.1-2.2.1 |
michael@0 | 107 | - rebuild |
michael@0 | 108 | |
michael@0 | 109 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.5.1-2.2 |
michael@0 | 110 | - bump again for double-long bug on ppc(64) |
michael@0 | 111 | |
michael@0 | 112 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.5.1-2.1 |
michael@0 | 113 | - rebuilt for new gcc4.1 snapshot and glibc changes |
michael@0 | 114 | |
michael@0 | 115 | * Thu Dec 22 2005 Warren Togami <wtogami@redhat.com> 0.5.1-2 |
michael@0 | 116 | - remove .a and .la (#172641) |
michael@0 | 117 | - GPL -> LGPL (#165908) |
michael@0 | 118 | |
michael@0 | 119 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
michael@0 | 120 | - rebuilt |
michael@0 | 121 | |
michael@0 | 122 | * Thu Nov 10 2005 Matthias Saou <http://freshrpms.net/> 0.5.1-1 |
michael@0 | 123 | - Update to 0.5.1. |
michael@0 | 124 | - Update librom patch to still apply cleanly. |
michael@0 | 125 | |
michael@0 | 126 | * Sat Oct 15 2005 Florian La Roche <laroche@redhat.com> |
michael@0 | 127 | - make sure librom1394 is linked to libraw1394 and also |
michael@0 | 128 | libavc1394 is linked to librom1394 (also bz 156938) |
michael@0 | 129 | |
michael@0 | 130 | * Wed Mar 16 2005 Elliot Lee <sopwith@redhat.com> |
michael@0 | 131 | - rebuilt |
michael@0 | 132 | |
michael@0 | 133 | * Mon Feb 28 2005 Warren Togami <wtogami@redhat.com> 0.4.1-7 |
michael@0 | 134 | - gcc4 rebuild |
michael@0 | 135 | |
michael@0 | 136 | * Sun Feb 06 2005 Warren Togami <wtogami@redhat.com> 0.4.1-6 |
michael@0 | 137 | - rebuild against new libraw1394 |
michael@0 | 138 | |
michael@0 | 139 | * Mon Jan 03 2005 Colin Walters <walters@redhat.com> 0.4.1-5 |
michael@0 | 140 | - Rerun autotools in attempt to get package to link to -lm |
michael@0 | 141 | - Add patch libavc1394-0.4.1-kill-configure-insanity.patch |
michael@0 | 142 | |
michael@0 | 143 | * Mon Nov 22 2004 Karsten Hopp <karsten@redhat.de> 0.4.1-4 |
michael@0 | 144 | - remove bogus ldconfig after makeinstall |
michael@0 | 145 | |
michael@0 | 146 | * Fri Jul 30 2004 Florian La Roche <Florian.LaRoche@redhat.de> |
michael@0 | 147 | - add symlinks for ldconfig |
michael@0 | 148 | |
michael@0 | 149 | * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
michael@0 | 150 | - rebuilt |
michael@0 | 151 | |
michael@0 | 152 | * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> |
michael@0 | 153 | - rebuilt |
michael@0 | 154 | |
michael@0 | 155 | * Thu Feb 12 2004 Warren Togami <wtogami@redhat.com> 0.4.1-1 |
michael@0 | 156 | - upgrade to 0.4.1 |
michael@0 | 157 | - Spec cleanups |
michael@0 | 158 | - License -> Copyright |
michael@0 | 159 | - Remove INSTALL; Add News, ChangeLog |
michael@0 | 160 | - Applications/Multimedia -> System Environment/Libraries |
michael@0 | 161 | |
michael@0 | 162 | * Mon Aug 25 2003 Bill Nottingham <notting@redhat.com> 0.3.1-7 |
michael@0 | 163 | - fix buildreqs (#102204) |
michael@0 | 164 | |
michael@0 | 165 | * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> |
michael@0 | 166 | - rebuilt |
michael@0 | 167 | |
michael@0 | 168 | * Wed Jan 22 2003 Tim Powers <timp@redhat.com> |
michael@0 | 169 | - rebuilt |
michael@0 | 170 | |
michael@0 | 171 | * Thu Dec 12 2002 Tim Powers <timp@redhat.com> 0.3.1-4 |
michael@0 | 172 | - rebuild on all arches |
michael@0 | 173 | |
michael@0 | 174 | * Wed Nov 20 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
michael@0 | 175 | - exclude mainframe |
michael@0 | 176 | - allow lib64 |
michael@0 | 177 | |
michael@0 | 178 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
michael@0 | 179 | - automated rebuild |
michael@0 | 180 | |
michael@0 | 181 | * Sun Jun 09 2002 Michael Fulbright <msf@redhat.com> |
michael@0 | 182 | - First RPM build |
michael@0 | 183 |