libiec61883-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. %define vineseed 1
  2. Summary: Streaming library for IEEE1394
  3. SUmmary(ja): IEEE1394 用ストリーミングライブラリ
  4. Name: libiec61883
  5. Version: 1.1.0
  6. Release: 4%{?_dist_release}
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. Source: http://linux1394.org/dl/%{name}-%{version}.tar.gz
  10. Patch: libiec61883-1.1.0-installtests.patch
  11. URL: http://linux1394.org
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. ExcludeArch: s390 s390x
  14. # Works only with newer libraw1394 versions
  15. %if %{vineseed}
  16. BuildRequires: libraw1394-devel >= 1.2.1
  17. %else
  18. BuildRequires: libraw1394_121-devel >= 1.2.1
  19. Requires: libraw1394_121 >= 1.2.1
  20. %endif
  21. BuildRequires: autoconf, automake, libtool
  22. %description
  23. The libiec61883 library provides an higher level API for streaming DV,
  24. MPEG-2 and audio over IEEE1394. Based on the libraw1394 isochronous
  25. functionality, this library acts as a filter that accepts DV-frames,
  26. MPEG-2 frames or audio samples from the application and breaks these
  27. down to isochronous packets, which are transmitted using libraw1394.
  28. %package devel
  29. Summary: Development files for libiec61883
  30. Group: Development/Libraries
  31. Requires: %{name} = %{version}-%{release}
  32. Requires: pkgconfig
  33. %if %{vineseed}
  34. Requires: libraw1394-devel >= 1.2.1
  35. %else
  36. Requiers: libraw1394_121-devel >= 1.2.1
  37. %endif
  38. %description devel
  39. Development files needed to build applications against libiec61883
  40. %package utils
  41. Summary: Utilities for use with libiec61883
  42. Group: Applications/Multimedia
  43. Requires: %{name} = %{version}-%{release}
  44. %description utils
  45. Utilities that make use of iec61883
  46. %prep
  47. %setup -q
  48. %patch -p1 -b .installtests
  49. %build
  50. autoreconf
  51. export CFLAGS="%{optflags}"
  52. %configure
  53. make
  54. %install
  55. rm -rf %{buildroot}
  56. make DESTDIR=%{buildroot} install
  57. rm $RPM_BUILD_ROOT%{_libdir}/libiec61883.a
  58. rm $RPM_BUILD_ROOT%{_libdir}/libiec61883.la
  59. %clean
  60. rm -rf %{buildroot}
  61. %post -p /sbin/ldconfig
  62. %postun -p /sbin/ldconfig
  63. %files
  64. %defattr(-,root,root,-)
  65. %doc AUTHORS COPYING NEWS README
  66. %{_libdir}/libiec61883.so.*
  67. %files devel
  68. %defattr(-,root,root,-)
  69. %{_libdir}/libiec61883.so
  70. %{_includedir}/libiec61883/*.h
  71. %{_libdir}/pkgconfig/libiec61883.pc
  72. %files utils
  73. %defattr(-,root,root,-)
  74. %{_bindir}/*
  75. %{_mandir}/man1/*.1*
  76. %changelog
  77. * Sat Nov 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.0-4vl5
  78. - macros for VineSeed and VinePlus/4.0
  79. - spec in UTF-8
  80. * Wed Oct 29 2008 Seiichirou Babasaki - 1.1.0-3
  81. - Version 1.1.0 for VineLinux-4.2 (From VineSeed)
  82. - replase libraw1394(-devel) -> libraw1394_121(-devel)
  83. * Wed Jul 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-2
  84. - new versioning policy
  85. * Sat Jun 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.0-1vl1
  86. - initial build for Vine Linux
  87. * Wed Oct 25 2006 Jarod Wilson <jwilson@redhat.com> - 1.1.0-1
  88. - Update to 1.1.0 release
  89. * Wed Oct 11 2006 Jarod Wilson <jwilson@redhat.com> - 1.0.0-11
  90. - Use %dist tag
  91. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-10.fc5.2.1
  92. - rebuild
  93. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-10.fc5.2
  94. - bump again for double-long bug on ppc(64)
  95. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-10.fc5.1
  96. - rebuilt for new gcc4.1 snapshot and glibc changes
  97. * Fri Dec 30 2005 Jarod Wilson <jarod@wilsonet.com> 1.0.0-10
  98. - Add missing autoconf, automake and libtool
  99. BuildRequires
  100. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  101. - rebuilt
  102. * Fri Nov 11 2005 Warren Togami <wtogami@redhat.com> 1.0.0-9
  103. - incorporate some spec improvements from Matthias (#172105)
  104. * Mon Sep 19 2005 Warren Togami <wtogami@redhat.com> 1.0.0-8
  105. - split -devel for pkgconfig chain
  106. - remove .a and .la
  107. - exclude s390 and s390x
  108. * Tue Apr 5 2005 Axel Thimm <Axel.Thimm@ATrpms.net>
  109. - Fixes for building properly on x86_64.
  110. * Mon Mar 28 2005 Jarod Wilson <jarod@wilsonet.com>
  111. - Fixed utils so they build properly
  112. * Sat Feb 26 2005 Jarod Wilson <jarod@wilsonet.com>
  113. - Rolled in utils
  114. * Wed Feb 23 2005 Jarod Wilson <jarod@wilsonet.com>
  115. - Initial build