]>
Commit | Line | Data |
---|---|---|
e0ee737e | 1 | # |
02565f7b | 2 | # Conditional build: |
faa022db | 3 | %bcond_without static_libs # don't build static library |
02565f7b | 4 | # |
63d75553 | 5 | Summary: VideoCD (pre-)mastering and ripping tools |
8cf7571c | 6 | Summary(pl.UTF-8): Narzędzia do tworzenia i odczytu VideoCD |
f9e83ec9 | 7 | Name: vcdimager |
e0ee737e | 8 | Version: 0.7.23 |
0545680b | 9 | Release: 10 |
68202fe2 | 10 | License: GPL v2+ |
f9e83ec9 | 11 | Group: Applications/File |
79439af7 | 12 | #Source0: http://www.vcdimager.org/pub/vcdimager/vcdimager-0.7/%{name}-%{version}.tar.gz |
9bf9f6c6 | 13 | Source0: http://ftp.gnu.org/gnu/vcdimager/%{name}-%{version}.tar.gz |
e0ee737e | 14 | # Source0-md5: 5e7d80fdbf0037ad20e438f2a9573253 |
79439af7 | 15 | Patch0: %{name}-info.patch |
28278c39 | 16 | URL: http://www.gnu.org/software/vcdimager/ |
63d75553 JB |
17 | BuildRequires: autoconf >= 2.52 |
18 | BuildRequires: automake >= 1.6.0 | |
56d8da59 | 19 | BuildRequires: help2man |
c6fc1803 | 20 | BuildRequires: libcdio-devel >= 0.72 |
63d75553 | 21 | BuildRequires: libtool >= 1:1.4.2-9 |
bc2a62dd | 22 | BuildRequires: libxml2-devel >= 2.6.11 |
63d75553 | 23 | BuildRequires: pkgconfig |
17a0f49e | 24 | BuildRequires: popt-devel >= 1.7 |
88a37f74 | 25 | BuildRequires: texinfo |
63d75553 | 26 | Requires(post,postun): /sbin/ldconfig |
c6fc1803 | 27 | Requires: libcdio >= 0.72 |
bc2a62dd | 28 | Requires: libxml2 >= 2.6.11 |
17a0f49e | 29 | Requires: popt >= 1.7 |
63d75553 | 30 | Obsoletes: vcdimager-cdio |
fe90122e | 31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
f9e83ec9 | 32 | |
68202fe2 | 33 | %define _noautoreqdep libvcdinfo.so.0 |
63d75553 | 34 | |
f9e83ec9 AM |
35 | %description |
36 | VCDImager allows you to create VideoCD BIN/CUE CD images from mpeg | |
37 | files which can be burned with cdrdao or any other program capable of | |
38 | burning BIN/CUE files. VCDRip, which comes with VCDImager, does the | |
39 | reverse operation. That is, ripping mpeg streams from images (and | |
40 | already burned VideoCDs) and showing some information about the | |
41 | VideoCD. | |
42 | ||
cddc9120 JR |
43 | %description -l pl.UTF-8 |
44 | VCDImager służy do tworzenia obrazów VideoCD BIN/CUE z plików mpeg, | |
45 | które następnie mogą być wypalone za pomocą cdrdao lub innego programu | |
46 | zdolnego do wypalania plików BIN/CUE. VCDRip dostarczany wraz z | |
0fd38c40 | 47 | VCDImager pozwala na wykonanie odwrotnej operacji tzn. zrzucenia |
cddc9120 | 48 | strumienia mpeg z obrazów (oraz już wypalonych płyt VideoCD). |
f9e83ec9 | 49 | |
63d75553 JB |
50 | %package devel |
51 | Summary: Header files for vcd libraries | |
8cf7571c | 52 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek vcd |
63d75553 JB |
53 | Group: Development/Libraries |
54 | Requires: %{name} = %{version}-%{release} | |
c6fc1803 | 55 | Requires: libcdio-devel >= 0.72 |
63d75553 JB |
56 | Obsoletes: vcdimager-cdio-devel |
57 | ||
58 | %description devel | |
59 | Header files for vcd libraries. | |
60 | ||
cddc9120 JR |
61 | %description devel -l pl.UTF-8 |
62 | Pliki nagłówkowe bibliotek vcd. | |
63d75553 JB |
63 | |
64 | %package static | |
65 | Summary: Static vcd libraries | |
8cf7571c | 66 | Summary(pl.UTF-8): Statyczne biblioteki vcd |
63d75553 JB |
67 | Group: Development/Libraries |
68 | Requires: %{name}-devel = %{version}-%{release} | |
69 | Obsoletes: vcdimager-cdio-static | |
70 | ||
71 | %description static | |
72 | Static vcd libraries. | |
73 | ||
cddc9120 | 74 | %description static -l pl.UTF-8 |
63d75553 JB |
75 | Statyczne biblioteki vcd. |
76 | ||
f9e83ec9 AM |
77 | %prep |
78 | %setup -q | |
79 | %patch0 -p1 | |
63d75553 JB |
80 | |
81 | cp -f libpopt.m4 acinclude.m4 | |
6e20a069 | 82 | |
f9e83ec9 | 83 | %build |
93bbadb1 | 84 | %{__libtoolize} |
63d75553 | 85 | %{__aclocal} |
61e3c2a2 | 86 | %{__autoconf} |
63d75553 | 87 | %{__autoheader} |
61e3c2a2 | 88 | %{__automake} |
63d75553 | 89 | %configure \ |
14ce2aa3 | 90 | --enable-maintainer-mode \ |
faa022db | 91 | %{!?with_static_libs:--disable-static} |
f9e83ec9 AM |
92 | %{__make} |
93 | ||
94 | %install | |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
97 | %{__make} install \ | |
98 | DESTDIR=$RPM_BUILD_ROOT | |
99 | ||
63d75553 JB |
100 | %clean |
101 | rm -rf $RPM_BUILD_ROOT | |
102 | ||
f9e83ec9 | 103 | %post |
63d75553 JB |
104 | /sbin/ldconfig |
105 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
f9e83ec9 AM |
106 | |
107 | %postun | |
63d75553 JB |
108 | /sbin/ldconfig |
109 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
f9e83ec9 AM |
110 | |
111 | %files | |
112 | %defattr(644,root,root,755) | |
63d75553 | 113 | %doc AUTHORS BUGS ChangeLog FAQ NEWS README THANKS TODO |
68202fe2 JB |
114 | %attr(755,root,root) %{_bindir}/cdxa2mpeg |
115 | %attr(755,root,root) %{_bindir}/vcd-info | |
116 | %attr(755,root,root) %{_bindir}/vcdimager | |
117 | %attr(755,root,root) %{_bindir}/vcdxbuild | |
118 | %attr(755,root,root) %{_bindir}/vcdxgen | |
119 | %attr(755,root,root) %{_bindir}/vcdxminfo | |
120 | %attr(755,root,root) %{_bindir}/vcdxrip | |
121 | %attr(755,root,root) %{_libdir}/libvcdinfo.so.*.*.* | |
122 | %attr(755,root,root) %ghost %{_libdir}/libvcdinfo.so.0 | |
123 | %{_mandir}/man1/cdxa2mpeg.1* | |
124 | %{_mandir}/man1/vcd-info.1* | |
125 | %{_mandir}/man1/vcdimager.1* | |
126 | %{_mandir}/man1/vcdxbuild.1* | |
127 | %{_mandir}/man1/vcdxgen.1* | |
128 | %{_mandir}/man1/vcdxminfo.1* | |
129 | %{_mandir}/man1/vcdxrip.1* | |
130 | %{_infodir}/vcd-info.info* | |
131 | %{_infodir}/vcdimager.info* | |
132 | %{_infodir}/vcdxrip.info* | |
63d75553 JB |
133 | |
134 | %files devel | |
135 | %defattr(644,root,root,755) | |
68202fe2 JB |
136 | %attr(755,root,root) %{_libdir}/libvcdinfo.so |
137 | %{_libdir}/libvcdinfo.la | |
63d75553 | 138 | %{_includedir}/libvcd |
68202fe2 | 139 | %{_pkgconfigdir}/libvcdinfo.pc |
63d75553 | 140 | |
faa022db | 141 | %if %{with static_libs} |
63d75553 JB |
142 | %files static |
143 | %defattr(644,root,root,755) | |
68202fe2 | 144 | %{_libdir}/libvcdinfo.a |
14ce2aa3 | 145 | %endif |