|
|
ee02fe7 |
%global __strip %{mingw32_strip}
|
|
|
ee02fe7 |
%global __objdump %{mingw32_objdump}
|
|
|
c1e0575 |
|
|
|
1ae437c |
Name: mingw-dirac
|
|
|
c1e0575 |
Version: 1.0.2
|
|
|
509bd21 |
Release: 8%{?dist}
|
|
|
c1e0575 |
Summary: Dirac is an open source video codec
|
|
|
c1e0575 |
|
|
|
c1e0575 |
Group: System Environment/Libraries
|
|
|
c1e0575 |
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
|
|
c1e0575 |
URL: http://dirac.sourceforge.net/
|
|
|
c1e0575 |
Source0: http://downloads.sourceforge.net/dirac/dirac-%{version}.tar.gz
|
|
|
c1e0575 |
Patch0: dirac-1.0.2-mingw32-gcc44.patch
|
|
|
a6d98ef |
Patch1: dirac-1.0.2-mingw-w64-compatibility.patch
|
|
|
c1e0575 |
BuildArch: noarch
|
|
|
c1e0575 |
|
|
|
c1e0575 |
BuildRequires: mingw32-filesystem >= 23
|
|
|
c1e0575 |
BuildRequires: mingw32-gcc
|
|
|
c1e0575 |
BuildRequires: mingw32-gcc-c++
|
|
|
c1e0575 |
BuildRequires: mingw32-binutils
|
|
|
c1e0575 |
|
|
|
c1e0575 |
%description
|
|
|
c1e0575 |
MinGW Windows dirac compression library.
|
|
|
c1e0575 |
|
|
|
c1e0575 |
|
|
|
1ae437c |
%package -n mingw32-dirac
|
|
|
1ae437c |
Summary: Dirac is an open source video codec
|
|
|
1ae437c |
|
|
|
1ae437c |
%description -n mingw32-dirac
|
|
|
1ae437c |
MinGW Windows dirac compression library.
|
|
|
1ae437c |
|
|
|
1ae437c |
|
|
|
c1e0575 |
%prep
|
|
|
c1e0575 |
%setup -q -n dirac-%{version}
|
|
|
c1e0575 |
%patch0 -p1 -b .gcc44
|
|
|
a6d98ef |
%patch1 -p0 -b .mingw-w64
|
|
|
c1e0575 |
rm util/conversion/common/setstdiomode.cpp
|
|
|
c1e0575 |
touch util/conversion/common/setstdiomode.cpp
|
|
|
c1e0575 |
|
|
|
c1e0575 |
%build
|
|
|
a6d98ef |
# Make sure the compilation also succeeds when mingw32-cppunit is installed
|
|
|
a6d98ef |
export ac_cv_header_cppunit_TestRunner_h=no
|
|
|
a6d98ef |
|
|
|
ee02fe7 |
%mingw32_configure \
|
|
|
c1e0575 |
--program-prefix=dirac_ \
|
|
|
c1e0575 |
--program-transform-name=s,dirac_dirac_,dirac_, \
|
|
|
c1e0575 |
--enable-overlay \
|
|
|
c1e0575 |
--disable-static
|
|
|
c1e0575 |
|
|
|
c1e0575 |
make %{?_smp_mflags}
|
|
|
c1e0575 |
|
|
|
c1e0575 |
|
|
|
c1e0575 |
%install
|
|
|
c1e0575 |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
c1e0575 |
|
|
|
509bd21 |
# Remove .la files
|
|
|
509bd21 |
rm -f $RPM_BUILD_ROOT%{mingw32_libdir}/*.la
|
|
|
509bd21 |
|
|
|
a6d98ef |
# Remove docs
|
|
|
a6d98ef |
rm -rf $RPM_BUILD_ROOT%{mingw32_datadir}/doc
|
|
|
a6d98ef |
rm -rf $RPM_BUILD_ROOT%{mingw64_datadir}/doc
|
|
|
c1e0575 |
|
|
|
c1e0575 |
|
|
|
1ae437c |
%files -n mingw32-dirac
|
|
|
c1e0575 |
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
|
|
ee02fe7 |
%exclude %{mingw32_bindir}/dirac_create_dirac_testfile.pl
|
|
|
ee02fe7 |
%{mingw32_bindir}/dirac_*.exe
|
|
|
ee02fe7 |
%{mingw32_includedir}/dirac/
|
|
|
ee02fe7 |
%{mingw32_bindir}/libdirac_decoder-0.dll
|
|
|
ee02fe7 |
%{mingw32_bindir}/libdirac_encoder-0.dll
|
|
|
ee02fe7 |
%{mingw32_libdir}/pkgconfig/dirac.pc
|
|
|
ee02fe7 |
%{mingw32_libdir}/libdirac_decoder.dll.a
|
|
|
ee02fe7 |
%{mingw32_libdir}/libdirac_encoder.dll.a
|
|
|
c1e0575 |
|
|
|
c1e0575 |
%changelog
|
|
|
509bd21 |
* Fri Mar 09 2012 Kalev Lember <kalevlember@gmail.com> - 1.0.2-8
|
|
|
509bd21 |
- Remove .la files
|
|
|
509bd21 |
|
|
|
1ae437c |
* Wed Mar 07 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.0.2-7
|
|
|
1ae437c |
- Renamed the source package to mingw-dirac (RHBZ #800859)
|
|
|
ee02fe7 |
- Use mingw macros without leading underscore
|
|
|
6a18dc4 |
- Dropped unneeded RPM tags
|
|
|
1ae437c |
|
|
|
0863e96 |
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.0.2-6
|
|
|
0863e96 |
- Rebuild against the mingw-w64 toolchain
|
|
|
a6d98ef |
- Dropped BR: mingw32-dlfcn as it's unneeded
|
|
|
a6d98ef |
- Fix compilation against latest mingw-w64 trunk
|
|
|
0863e96 |
|
|
|
024b72b |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-5
|
|
|
024b72b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
024b72b |
|
|
Kalev Lember |
66956f7 |
* Fri Apr 22 2011 Kalev Lember <kalev@smartlink.ee> - 1.0.2-4
|
|
Kalev Lember |
66956f7 |
- Rebuilt for pseudo-reloc version mismatch (#698827)
|
|
Kalev Lember |
66956f7 |
|
|
|
fc24c77 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-3
|
|
|
fc24c77 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
fc24c77 |
|
|
|
c1e0575 |
* Thu Jul 9 2009 kwizart < kwizart at gmail.com > - 1.0.2-2
|
|
|
c1e0575 |
- Fix for mingw32-gcc 4.4.0 and binary mode
|
|
|
c1e0575 |
|
|
|
c1e0575 |
* Tue Mar 24 2009 kwizart < kwizart at gmail.com > - 1.0.2-1
|
|
|
c1e0575 |
- Update to 1.0.2
|
|
|
c1e0575 |
|
|
|
c1e0575 |
* Mon Jan 5 2009 kwizart < kwizart at gmail.com > - 1.0.0-1
|
|
|
c1e0575 |
- Initial package based on original dirac.spec
|
|
|
c1e0575 |
|