]> git.pld-linux.org Git - packages/utvideo.git/blob - utvideo.spec
- updated to 13.1.0
[packages/utvideo.git] / utvideo.spec
1 Summary:        Ut Video codec suite
2 Summary(pl.UTF-8):      Kodek Ut Video
3 Name:           utvideo
4 Version:        13.1.0
5 Release:        1
6 License:        GPL v2+
7 Group:          Libraries
8 Source0:        http://umezawa.dyndns.info/archive/utvideo/%{name}-%{version}-src.zip
9 # Source0-md5:  330604ceb0ddd862efb840d14c155dcd
10 Source1:        %{name}-makefile
11 Patch0:         %{name}-shared.patch
12 Patch1:         %{name}-includes.patch
13 URL:            http://umezawa.dyndns.info/wordpress/?cat=28
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  libtool >= 2:1.5
16 #%ifarch i586 i686 pentium2 pentium3 pentium4
17 #BuildRequires: nasm
18 #%endif
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Ut Video Codec Suite is a multi-platform and multi-interface lossless
23 video codec.
24
25 %description -l pl.UTF-8
26 Ut Video to wieloplatformowy, mający wiele interfejsów bezstratny
27 kodek obrazu.
28
29 %package devel
30 Summary:        Header files for Ut Video library
31 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Ut Video
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Requires:       libstdc++-devel
35
36 %description devel
37 Header files for Ut Video library.
38
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe biblioteki Ut Video.
41
42 %package static
43 Summary:        Static Ut Video library
44 Summary(pl.UTF-8):      Statyczna biblioteka Ut Video
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static Ut Video library.
50
51 %description static -l pl.UTF-8
52 Statyczna biblioteka Ut Video.
53
54 %prep
55 %setup -q
56
57 cp %{SOURCE1} GNUmakefile
58
59 %patch0 -p1
60 %patch1 -p1
61
62 %build
63 %{__make} \
64         CXX="%{__cxx}" \
65         OPTFLAGS="%{rpmcxxflags} %{rpmcppflags}" \
66         V=1 \
67         libdir=%{_libdir}
68 # TunedFunc_x86.cpp compilation fails
69 #%ifarch i586 i686 pentium2 pentium3 pentium4
70 #       ARCH=i386 \
71 #%endif
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT \
78         prefix=%{_prefix} \
79         libdir=%{_libdir}
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post   -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
86
87 %files
88 %defattr(644,root,root,755)
89 %doc readme.en.html
90 %lang(ja) %doc readme.ja.html
91 %attr(755,root,root) %{_libdir}/libutvideo.so.*.*.*
92 %attr(755,root,root) %ghost %{_libdir}/libutvideo.so.0
93
94 %files devel
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_libdir}/libutvideo.so
97 %{_libdir}/libutvideo.la
98 %{_includedir}/utvideo
99
100 %files static
101 %defattr(644,root,root,755)
102 %{_libdir}/libutvideo.a
This page took 0.098517 seconds and 3 git commands to generate.