libavc1394/libavc1394.spec

Fri, 11 Mar 2011 21:30:26 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 11 Mar 2011 21:30:26 +0100
changeset 0
4f133201e207
child 1
4667f24fe848
permissions
-rw-r--r--

Import package vendor original specs for necessary manipulations.

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

mercurial