libdca-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. %define name libdca
  2. %define version 0.0.5
  3. %define release 4%{?_dist_release}
  4. Summary: DTS Coherent Acoustics decoder library
  5. Name: %{name}
  6. Version: %{version}
  7. Release: %{release}
  8. Source: http://download.videolan.org/pub/videolan/libdca/0.0.5/%{name}-%{version}.tar.bz2
  9. Patch0: libdca-0.0.5-relsymlinks.patch
  10. URL: http://www.videolan.org/developers/libdca.html
  11. License: GPLv2+
  12. Group: System Environment/Libraries
  13. #Requires:
  14. BuildRequires: automake, libtool
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. %description
  17. libdca is a free library for decoding DTS Coherent Acoustics streams. It is
  18. released under the terms of the GPL license. The DTS Coherent Acoustics
  19. standard is used in a variety of applications, including DVD, DTS audio CD and
  20. radio broadcasting.
  21. %package devel
  22. Summary: Development files for %{name}
  23. Group: Development/Libraries
  24. Requires: %{name} = %{version}-%{release}
  25. Requires: pkgconfig
  26. %description devel
  27. Development files for %{name}.
  28. Install %{name}-devel if you wish to develop or compile
  29. applications that use %{name}.
  30. %package tools
  31. Summary: Various tools for use with %{name}
  32. Group: Applications/Multimedia
  33. %description tools
  34. Various tools that use %{name}.
  35. %prep
  36. rm -rf $RPM_BUILD_ROOT
  37. %setup -q
  38. %patch0 -p1 -b .relsymlinks
  39. %build
  40. %configure
  41. %{__make} %{?_smp_mflags} OPT_CFLAGS="$RPM_OPT_FLAGS"
  42. %install
  43. rm -rf $RPM_BUILD_ROOT
  44. make DESTDIR=$RPM_BUILD_ROOT install
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files
  50. %defattr(-,root,root,0755)
  51. %doc AUTHORS COPYING ChangeLog NEWS README
  52. %{_libdir}/*.so.*
  53. %files tools
  54. %defattr(-,root,root,0755)
  55. %{_bindir}/*
  56. %{_mandir}/man1/*
  57. %files devel
  58. %defattr(-,root,root,-)
  59. %doc TODO doc/%{name}.txt
  60. %{_libdir}/pkgconfig/libd??.pc
  61. %{_includedir}/d??.h
  62. %{_libdir}/%{name}.so
  63. %{_libdir}/libd??.a
  64. %exclude %{_libdir}/libd??.la
  65. %changelog
  66. * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.5-4
  67. - change release to sync with self-build-libdca
  68. * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.5-3
  69. - change release to sync with self-build-libdca
  70. * Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.5-2
  71. - spec in utf8
  72. - remove *.la
  73. * Sun May 18 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.0.5-1
  74. - apply new versioning policy
  75. * Sat Mar 1 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.0.5-0vl1
  76. - initial build for Vine Linux 4.2
  77. ### end of file