Пакет libvalhalla: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} %define major 2 %define libname libvalhalla%{major} %define develname libvalhalla-devel Name: libvalhalla Version: 2.0.0 Release: alt2_16 URL: http://libvalhalla.geexbox.org/ Source: http://libvalhalla.geexbox.org/releases/%{name}-%{version}.tar.bz2 # commit 1093 from upstream (http://hg.geexbox.org/libvalhalla) # commit 1091 from upstream (http://hg.geexbox.org/libvalhalla) Patch1: libvalhalla-fix_curl_include.patch # http://hg.geexbox.org/libvalhalla/rev/883c6adb0024 Patch2: libvalhalla-2.0.0-libavformat-deprecated.patch # http://hg.geexbox.org/libvalhalla/rev/70494a8fd3f5 Patch3: libvalhalla-2.0.0-libavformat-defines.patch # http://hg.geexbox.org/libvalhalla/rev/804a298afa60 Patch4: libvalhalla-2.0.0-libavformat-moredefines.patch # http://hg.geexbox.org/libvalhalla/rev/6f9d0738d006 Patch5: libvalhalla-2.0.0-stream-title.patch # http://hg.geexbox.org/libvalhalla/rev/d5dc3dc95d62 Patch6: libvalhalla-2.0.0-libavformat-avdict.patch # http://hg.geexbox.org/libvalhalla/rev/817b714e074a Patch7: libvalhalla-2.0.0-libavformat-legacy.patch # http://hg.geexbox.org/libvalhalla/rev/1f3669193d09 Patch8: libvalhalla-2.0.0-libavformat-avdict-test.patch # http://hg.geexbox.org/libvalhalla/rev/b2a802ea4523 Patch9: libvalhalla-2.0.0-rt.patch # (cg) This was a test originally in Funda's patch, but it's not upstream :s Patch10: libvalhalla-2.0.0-libavformat-check.patch # (cg) Also not yet upstream... no idea if this is the right approach Patch11: libvalhalla-2.0.0-libavformat-open-api.patch Patch12: libvalhalla-2.0.0-ffmpeg-2.0.patch Patch13: libvalhalla-2.0.0-ffmpeg-2.4.patch License: LGPLv2+ Summary: A media scanner Group: System/Libraries BuildRequires: pkgconfig(sqlite3) BuildRequires: libavcodec-devel libavdevice-devel libavfilter-devel libavformat-devel libavresample-devel libavutil-devel libpostproc-devel libswresample-devel libswscale-devel BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libexif) BuildRequires: gcrypt-utils libgcrypt-devel Source44: import.info %description libvalhalla is a library written in C. It is a media scanner, that stores various information in an SQLite database and relies on FFmpeg (libavformat and libavutil) and libcurl. It features many Internet grabbers that allows automatic download of covers, lyrics, informations on media files, tags retrival in video and music files and so on. %package test Summary: A media scanner Group: System/Libraries %description test libvalhalla is a library written in C. It is a media scanner, that stores various information in an SQLite database and relies on FFmpeg (libavformat and libavutil) and libcurl. It features many Internet grabbers that allows automatic download of covers, lyrics, informations on media files, tags retrival in video and music files and so on. %package -n %{libname} Summary: A media scanner Group: System/Libraries %description -n %{libname} libvalhalla is a library written in C. It is a media scanner, that stores various information in an SQLite database and relies on FFmpeg (libavformat and libavutil) and libcurl. It features many Internet grabbers that allows automatic download of covers, lyrics, informations on media files, tags retrival in video and music files and so on. %package -n %{develname} Summary: A media scanner Group: System/Libraries Provides: %{name}-devel = %{version}-%{release} Requires: %libname = %version %description -n %{develname} libvalhalla is a library written in C. It is a media scanner, that stores various information in an SQLite database and relies on FFmpeg (libavformat and libavutil) and libcurl. It features many Internet grabbers that allows automatic download of covers, lyrics, informations on media files, tags retrival in video and music files and so on. This package contains the headers required for compiling software that uses the libvalhalla library. %prep %setup -q %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %build export ./configure \ --prefix=%{_prefix} \ --bindir=%{_bindir} \ --libdir=%{_libdir} \ --includedir=%{_includedir} \ --disable-static \ --enable-pic \ --enable-shared || cat config.log %make_build %install %makeinstall_std %files test %{_bindir}/* %{_mandir}/man1/* %files -n %{libname} %{_libdir}/*.so.%{major} %{_libdir}/*.so.%{major}.* %files -n %{develname} %{_libdir}/*.so %{_includedir}/* %{_libdir}/pkgconfig/* %changelog * Tue Oct 30 2018 Igor Vlasenko <viy@altlinux.ru> 2.0.0-alt2_16 - update by mgaimport * Thu Jun 14 2018 Anton Farygin <rider@altlinux.ru> 2.0.0-alt2 - rebuilt for ffmpeg-4.0 * Sun May 06 2018 Igor Vlasenko <viy@altlinux.ru> 2.0.0-alt1_15 - update by mgaimport * Sun Mar 18 2018 Igor Vlasenko <viy@altlinux.ru> 2.0.0-alt1_14 - new version |