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