]>
Commit | Line | Data |
---|---|---|
2b883f61 | 1 | Summary: DVD to DivX-Encoder |
10cc0a56 | 2 | Summary(pl.UTF-8): Koder formatu DVD do DivX |
be1213e2 | 3 | Name: drip |
7d8ee228 | 4 | Version: 0.9.0 |
9701bf9c | 5 | %define _rc rc3 |
bfee2424 | 6 | Release: 0.rc3.1 |
be1213e2 | 7 | License: GPL |
8 | Group: X11/Applications/Multimedia | |
9701bf9c | 9 | Source0: http://drip.sourceforge.net/files/%{name}-%{version}%{_rc}.tar.gz |
bfee2424 | 10 | # Source0-md5: 0248e8e3cf788d2e3f6883fdc989381e |
2b883f61 | 11 | URL: http://drip.sourceforge.net/ |
7d8ee228 | 12 | BuildRequires: ImageMagick-devel |
2b883f61 | 13 | BuildRequires: ORBit-devel |
79fd649e | 14 | BuildRequires: SDL-devel |
7d8ee228 | 15 | BuildRequires: a52dec-libs-devel >= 0.7.4 |
057a2873 | 16 | BuildRequires: avifile-devel >= 3:0.7.22 |
7d8ee228 | 17 | BuildRequires: esound-devel |
7d8ee228 JB |
18 | BuildRequires: gdk-pixbuf-devel |
19 | BuildRequires: gnome-libs-devel | |
2b883f61 JB |
20 | BuildRequires: gtk+-devel |
21 | BuildRequires: lame-libs-devel | |
7d8ee228 JB |
22 | BuildRequires: libdvdcss-devel >= 1.2.2 |
23 | BuildRequires: libdvdread-devel >= 0.9.3 | |
24 | BuildRequires: libxml2-devel | |
efa30cc7 | 25 | BuildRequires: libstdc++-devel >= 5:3.0.0 |
7d8ee228 | 26 | BuildRequires: mpeg2dec-devel >= 0.3.1 |
057a2873 | 27 | Requires: avifile >= 3:0.7.22 |
be1213e2 | 28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
be1213e2 | 29 | |
be1213e2 | 30 | %description |
2b883f61 JB |
31 | You'll need DeCSS for handling of the DVD MPEG-2 streams, and avifile |
32 | for DivX ;-) encoding. Don't forget to install the Windows DLL files | |
33 | for avifile. A patched version of mpeg2divx is hooked into drip for | |
be1213e2 | 34 | wrapping libmpeg3 and avifile. Also have DVD support in your OS, like |
2b883f61 | 35 | Linux 2.4. Good luck backing up your stuff. |
be1213e2 | 36 | |
37 | Drip is not yet finished, it has bugs and not all of the features are | |
2b883f61 | 38 | implemented. Basic DVD to DivX ripping seems to work. |
be1213e2 | 39 | |
84e182b4 JR |
40 | %description -l pl.UTF-8 |
41 | Drip używa DeCSS do obsługi strumieni DVD MPEG-2 oraz avifile do | |
42 | kodowania DivX ;-). Potrzebuje plików DLL z Windows dla avifile. | |
43 | Do obsługi płyt DVD trzeba mieć wsparcie w systemie (np. Linuksie | |
2b883f61 | 44 | 2.4). |
44a39f23 | 45 | |
84e182b4 JR |
46 | Uwaga: Drip jeszcze nie jest skończony, ma błędy i nie wszystko |
47 | jeszcze działa; podstawowe kodowanie DVD do DivX wydaje się działać. | |
44a39f23 | 48 | |
be1213e2 | 49 | %prep |
9701bf9c | 50 | %setup -q -n %{name}-%{version}%{_rc} |
be1213e2 | 51 | |
52 | %build | |
7d8ee228 | 53 | %configure |
be1213e2 | 54 | %{__make} |
55 | ||
56 | %install | |
7d8ee228 JB |
57 | rm -rf $RPM_BUILD_ROOT |
58 | ||
59 | %{__make} install \ | |
60 | DESTDIR=$RPM_BUILD_ROOT | |
61 | ||
62 | # no static plugins, *.la shouldn't be needed (libgmodule used) | |
63 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.{la,a} | |
be1213e2 | 64 | |
7d8ee228 | 65 | %find_lang %{name} --with-gnome |
be1213e2 | 66 | |
be1213e2 | 67 | %clean |
7d8ee228 | 68 | rm -rf $RPM_BUILD_ROOT |
be1213e2 | 69 | |
e0ebe8b3 | 70 | %post -p /sbin/ldconfig |
71 | %postun -p /sbin/ldconfig | |
2b883f61 | 72 | |
7d8ee228 | 73 | %files -f %{name}.lang |
be1213e2 | 74 | %defattr(644,root,root,755) |
7d8ee228 | 75 | %doc AUTHORS BUG* ChangeLog README TODO |
2b883f61 JB |
76 | %attr(755,root,root) %{_bindir}/drip |
77 | %attr(755,root,root) %{_bindir}/dripencoder | |
78 | %attr(755,root,root) %{_bindir}/gnomedrip | |
7d8ee228 JB |
79 | %attr(755,root,root) %{_libdir}/libdripspu.so.*.*.* |
80 | %attr(755,root,root) %{_libdir}/libdrip_*filter.so.*.*.* | |
81 | %attr(755,root,root) %{_libdir}/libdrip_*filter.so | |
82 | %{_pixmapsdir}/drip |