libavc1394/libavc1394.spec

changeset 0
4f133201e207
child 1
4667f24fe848
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libavc1394/libavc1394.spec	Fri Mar 11 21:30:26 2011 +0100
     1.3 @@ -0,0 +1,183 @@
     1.4 +Summary:        Audio/Video Control library for IEEE-1394 devices
     1.5 +Name:           libavc1394
     1.6 +Version:        0.5.3
     1.7 +Release:        10%{?dist}
     1.8 +License:        GPLv2+ and LGPLv2+
     1.9 +Group:          System Environment/Libraries
    1.10 +URL:            http://sourceforge.net/projects/libavc1394/
    1.11 +Source:         http://downloads.sourceforge.net/libavc1394/libavc1394-%{version}.tar.gz
    1.12 +Patch1:         libavc1394-0.5.3-librom.patch
    1.13 +BuildRequires:  libraw1394-devel
    1.14 +BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
    1.15 +ExcludeArch:    s390 s390x
    1.16 +
    1.17 +%description
    1.18 +The libavc1394 library allows utilities to control IEEE-1394 devices
    1.19 +using the AV/C specification.  Audio/Video Control allows applications
    1.20 +to control devices like the tape on a VCR or camcorder.
    1.21 +
    1.22 +%package devel
    1.23 +Summary: Development libs for libavc1394
    1.24 +Group: Development/Libraries
    1.25 +Requires: %{name} = %{version}-%{release}
    1.26 +Requires: libraw1394-devel, pkgconfig
    1.27 +
    1.28 +%description devel
    1.29 +Development libraries required to build applications using libavc1394.
    1.30 +
    1.31 +%prep
    1.32 +%setup -q
    1.33 +%patch1 -p1 -b .librom
    1.34 +chmod -x test/dvcont.c
    1.35 +
    1.36 +%build
    1.37 +%configure
    1.38 +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
    1.39 +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
    1.40 +make %{?_smp_mflags}
    1.41 +
    1.42 +%install
    1.43 +rm -rf $RPM_BUILD_ROOT
    1.44 +make install INSTALL="install -p" DESTDIR=$RPM_BUILD_ROOT
    1.45 +# sigh, --disable-static doesn't work
    1.46 +rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,a}
    1.47 +
    1.48 +%clean
    1.49 +rm -rf $RPM_BUILD_ROOT
    1.50 +
    1.51 +%post -p /sbin/ldconfig
    1.52 +
    1.53 +%postun -p /sbin/ldconfig
    1.54 +
    1.55 +%files
    1.56 +%defattr(-,root,root,-)
    1.57 +%doc AUTHORS COPYING NEWS README ChangeLog TODO
    1.58 +# binaries are GPLv2+
    1.59 +%{_bindir}/dvcont
    1.60 +%{_bindir}/mkrfc2734
    1.61 +%{_bindir}/panelctl
    1.62 +%{_mandir}/man1/dvcont.1.gz
    1.63 +%{_mandir}/man1/panelctl.1.gz
    1.64 +%{_mandir}/man1/mkrfc2734.1*
    1.65 +# libs are LGPLv2+
    1.66 +%{_libdir}/libavc1394.so.*
    1.67 +%{_libdir}/librom1394.so.*
    1.68 +
    1.69 +
    1.70 +%files devel
    1.71 +%defattr(-,root,root,-)
    1.72 +%{_includedir}/libavc1394/
    1.73 +%{_libdir}/pkgconfig/libavc1394.pc
    1.74 +%{_libdir}/libavc1394.so
    1.75 +%{_libdir}/librom1394.so
    1.76 +
    1.77 +
    1.78 +%changelog
    1.79 +* Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 0.5.3-10
    1.80 +- Build for MeeGo 1.1
    1.81 +
    1.82 +* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-9
    1.83 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
    1.84 +
    1.85 +* Wed Jun 10 2009 Jarod Wilson <jarod@redhat.com> 0.5.3-8
    1.86 +- Fix duplicate global symbols in libavc1394 vs. librom1394 (#216143)
    1.87 +
    1.88 +* Mon May 18 2009 Jarod Wilson <jarod@redhat.com> 0.5.3-7
    1.89 +- Use included libtool, kill rpath a different way (#225988)
    1.90 +
    1.91 +* Mon May 18 2009 Jarod Wilson <jarod@redhat.com> 0.5.3-6
    1.92 +- Fix up merge review issues (#225988)
    1.93 +
    1.94 +* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-5
    1.95 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
    1.96 +
    1.97 +* Tue Aug  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.3-4
    1.98 +- fix license tag
    1.99 +
   1.100 +* Tue Jul 22 2008 Jarod Wilson <jwilson@redhat.com> 0.5.3-3
   1.101 +- Bump and rebuild for libraw1394 v2.0.0
   1.102 +
   1.103 +* Thu Feb 14 2008 Jarod Wilson <jwilson@redhat.com> - 0.5.3-2
   1.104 +- Bump and rebuild with gcc 4.3
   1.105 +
   1.106 +* Sun Sep 10 2006 Jarod Wilson <jwilson@redhat.com> - 0.5.3-1
   1.107 +- Upstream release 0.5.3
   1.108 +
   1.109 +* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.5.1-2.2.1
   1.110 +- rebuild
   1.111 +
   1.112 +* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.5.1-2.2
   1.113 +- bump again for double-long bug on ppc(64)
   1.114 +
   1.115 +* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.5.1-2.1
   1.116 +- rebuilt for new gcc4.1 snapshot and glibc changes
   1.117 +
   1.118 +* Thu Dec 22 2005 Warren Togami <wtogami@redhat.com> 0.5.1-2
   1.119 +- remove .a and .la (#172641)
   1.120 +- GPL -> LGPL (#165908)
   1.121 +
   1.122 +* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
   1.123 +- rebuilt
   1.124 +
   1.125 +* Thu Nov 10 2005 Matthias Saou <http://freshrpms.net/> 0.5.1-1
   1.126 +- Update to 0.5.1.
   1.127 +- Update librom patch to still apply cleanly.
   1.128 +
   1.129 +* Sat Oct 15 2005 Florian La Roche <laroche@redhat.com>
   1.130 +- make sure librom1394 is linked to libraw1394 and also
   1.131 +  libavc1394 is linked to librom1394 (also bz 156938)
   1.132 +
   1.133 +* Wed Mar 16 2005 Elliot Lee <sopwith@redhat.com>
   1.134 +- rebuilt
   1.135 +
   1.136 +* Mon Feb 28 2005 Warren Togami <wtogami@redhat.com> 0.4.1-7
   1.137 +- gcc4 rebuild
   1.138 +
   1.139 +* Sun Feb 06 2005 Warren Togami <wtogami@redhat.com> 0.4.1-6
   1.140 +- rebuild against new libraw1394
   1.141 +
   1.142 +* Mon Jan 03 2005 Colin Walters <walters@redhat.com> 0.4.1-5
   1.143 +- Rerun autotools in attempt to get package to link to -lm
   1.144 +- Add patch libavc1394-0.4.1-kill-configure-insanity.patch
   1.145 +
   1.146 +* Mon Nov 22 2004 Karsten Hopp <karsten@redhat.de> 0.4.1-4 
   1.147 +- remove bogus ldconfig after makeinstall
   1.148 +
   1.149 +* Fri Jul 30 2004 Florian La Roche <Florian.LaRoche@redhat.de>
   1.150 +- add symlinks for ldconfig
   1.151 +
   1.152 +* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
   1.153 +- rebuilt
   1.154 +
   1.155 +* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
   1.156 +- rebuilt
   1.157 +
   1.158 +* Thu Feb 12 2004 Warren Togami <wtogami@redhat.com> 0.4.1-1
   1.159 +- upgrade to 0.4.1
   1.160 +- Spec cleanups
   1.161 +- License -> Copyright
   1.162 +- Remove INSTALL; Add News, ChangeLog
   1.163 +- Applications/Multimedia -> System Environment/Libraries
   1.164 +
   1.165 +* Mon Aug 25 2003 Bill Nottingham <notting@redhat.com> 0.3.1-7
   1.166 +- fix buildreqs (#102204)
   1.167 +
   1.168 +* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
   1.169 +- rebuilt
   1.170 +
   1.171 +* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
   1.172 +- rebuilt
   1.173 +
   1.174 +* Thu Dec 12 2002 Tim Powers <timp@redhat.com> 0.3.1-4
   1.175 +- rebuild on all arches
   1.176 +
   1.177 +* Wed Nov 20 2002 Florian La Roche <Florian.LaRoche@redhat.de>
   1.178 +- exclude mainframe
   1.179 +- allow lib64
   1.180 +
   1.181 +* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
   1.182 +- automated rebuild
   1.183 +
   1.184 +* Sun Jun 09 2002 Michael Fulbright <msf@redhat.com>
   1.185 +- First RPM build
   1.186 +

mercurial