3 %bcond_without static_libs # don't build static library
5 Summary: VideoCD (pre-)mastering and ripping tools
6 Summary(pl.UTF-8): Narzędzia do tworzenia i odczytu VideoCD
11 Group: Applications/File
12 #Source0: http://www.vcdimager.org/pub/vcdimager/vcdimager-0.7/%{name}-%{version}.tar.gz
13 Source0: http://ftp.gnu.org/gnu/vcdimager/%{name}-%{version}.tar.gz
14 # Source0-md5: 5e7d80fdbf0037ad20e438f2a9573253
15 Patch0: %{name}-info.patch
16 URL: http://www.gnu.org/software/vcdimager/
17 BuildRequires: autoconf >= 2.52
18 BuildRequires: automake >= 1.6.0
19 BuildRequires: libcdio-devel >= 0.72
20 BuildRequires: libtool >= 1:1.4.2-9
21 BuildRequires: libxml2-devel >= 2.6.11
22 BuildRequires: pkgconfig
23 BuildRequires: popt-devel >= 1.7
24 BuildRequires: texinfo
25 Requires(post,postun): /sbin/ldconfig
26 Requires: libcdio >= 0.72
27 Requires: libxml2 >= 2.6.11
29 Obsoletes: vcdimager-cdio
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 %define _noautoreqdep libvcd.so.0 libvcdinfo.so.0
35 VCDImager allows you to create VideoCD BIN/CUE CD images from mpeg
36 files which can be burned with cdrdao or any other program capable of
37 burning BIN/CUE files. VCDRip, which comes with VCDImager, does the
38 reverse operation. That is, ripping mpeg streams from images (and
39 already burned VideoCDs) and showing some information about the
42 %description -l pl.UTF-8
43 VCDImager służy do tworzenia obrazów VideoCD BIN/CUE z plików mpeg,
44 które następnie mogą być wypalone za pomocą cdrdao lub innego programu
45 zdolnego do wypalania plików BIN/CUE. VCDRip dostarczany wraz z
46 VCDImager pozwala na wykonanie odwrotnej operacji tzn. zrzucenia
47 strumienia mpeg z obrazów (oraz już wypalonych płyt VideoCD).
50 Summary: Header files for vcd libraries
51 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek vcd
52 Group: Development/Libraries
53 Requires: %{name} = %{version}-%{release}
54 Requires: libcdio-devel >= 0.72
55 Obsoletes: vcdimager-cdio-devel
58 Header files for vcd libraries.
60 %description devel -l pl.UTF-8
61 Pliki nagłówkowe bibliotek vcd.
64 Summary: Static vcd libraries
65 Summary(pl.UTF-8): Statyczne biblioteki vcd
66 Group: Development/Libraries
67 Requires: %{name}-devel = %{version}-%{release}
68 Obsoletes: vcdimager-cdio-static
73 %description static -l pl.UTF-8
74 Statyczne biblioteki vcd.
80 cp -f libpopt.m4 acinclude.m4
89 --enable-maintainer-mode \
90 %{!?with_static_libs:--disable-static}
94 rm -rf $RPM_BUILD_ROOT
97 DESTDIR=$RPM_BUILD_ROOT
100 rm -rf $RPM_BUILD_ROOT
104 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
108 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
111 %defattr(644,root,root,755)
112 %doc AUTHORS BUGS ChangeLog FAQ NEWS README THANKS TODO
113 %attr(755,root,root) %{_bindir}/*
114 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_libdir}/lib*.so
122 %{_includedir}/libvcd
123 %{_pkgconfigdir}/*.pc
125 %if %{with static_libs}
127 %defattr(644,root,root,755)