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