]> git.pld-linux.org Git - packages/vcdimager.git/blame - vcdimager.spec
- libcdio related rebuild
[packages/vcdimager.git] / vcdimager.spec
CommitLineData
e0ee737e 1#
02565f7b 2# Conditional build:
faa022db 3%bcond_without static_libs # don't build static library
02565f7b 4#
63d75553 5Summary: VideoCD (pre-)mastering and ripping tools
8cf7571c 6Summary(pl.UTF-8): Narzędzia do tworzenia i odczytu VideoCD
f9e83ec9 7Name: vcdimager
c55052e2 8Version: 0.7.24
2ec912b0 9Release: 5
68202fe2 10License: GPL v2+
f9e83ec9 11Group: Applications/File
9bf9f6c6 12Source0: http://ftp.gnu.org/gnu/vcdimager/%{name}-%{version}.tar.gz
c55052e2 13# Source0-md5: 3af22978fd79c79d5fda6513b6811145
79439af7 14Patch0: %{name}-info.patch
9bb37477 15Patch1: %{name}-texinfo.patch
28278c39 16URL: http://www.gnu.org/software/vcdimager/
63d75553
JB
17BuildRequires: autoconf >= 2.52
18BuildRequires: automake >= 1.6.0
56d8da59 19BuildRequires: help2man
c55052e2 20BuildRequires: libcdio-devel >= 0.76
63d75553 21BuildRequires: libtool >= 1:1.4.2-9
bc2a62dd 22BuildRequires: libxml2-devel >= 2.6.11
63d75553 23BuildRequires: pkgconfig
17a0f49e 24BuildRequires: popt-devel >= 1.7
88a37f74 25BuildRequires: texinfo
63d75553 26Requires(post,postun): /sbin/ldconfig
c55052e2 27Requires: libcdio >= 0.76
bc2a62dd 28Requires: libxml2 >= 2.6.11
17a0f49e 29Requires: popt >= 1.7
63d75553 30Obsoletes: vcdimager-cdio
fe90122e 31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
f9e83ec9
AM
32
33%description
34VCDImager allows you to create VideoCD BIN/CUE CD images from mpeg
35files which can be burned with cdrdao or any other program capable of
36burning BIN/CUE files. VCDRip, which comes with VCDImager, does the
37reverse operation. That is, ripping mpeg streams from images (and
38already burned VideoCDs) and showing some information about the
39VideoCD.
40
cddc9120
JR
41%description -l pl.UTF-8
42VCDImager służy do tworzenia obrazów VideoCD BIN/CUE z plików mpeg,
43które następnie mogą być wypalone za pomocą cdrdao lub innego programu
44zdolnego do wypalania plików BIN/CUE. VCDRip dostarczany wraz z
0fd38c40 45VCDImager pozwala na wykonanie odwrotnej operacji tzn. zrzucenia
cddc9120 46strumienia mpeg z obrazów (oraz już wypalonych płyt VideoCD).
f9e83ec9 47
63d75553
JB
48%package devel
49Summary: Header files for vcd libraries
8cf7571c 50Summary(pl.UTF-8): Pliki nagłówkowe bibliotek vcd
63d75553
JB
51Group: Development/Libraries
52Requires: %{name} = %{version}-%{release}
c55052e2 53Requires: libcdio-devel >= 0.76
63d75553
JB
54Obsoletes: vcdimager-cdio-devel
55
56%description devel
57Header files for vcd libraries.
58
cddc9120
JR
59%description devel -l pl.UTF-8
60Pliki nagłówkowe bibliotek vcd.
63d75553
JB
61
62%package static
63Summary: Static vcd libraries
8cf7571c 64Summary(pl.UTF-8): Statyczne biblioteki vcd
63d75553
JB
65Group: Development/Libraries
66Requires: %{name}-devel = %{version}-%{release}
67Obsoletes: vcdimager-cdio-static
68
69%description static
70Static vcd libraries.
71
cddc9120 72%description static -l pl.UTF-8
63d75553
JB
73Statyczne biblioteki vcd.
74
f9e83ec9
AM
75%prep
76%setup -q
77%patch0 -p1
9bb37477 78%patch1 -p1
63d75553
JB
79
80cp -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
94rm -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
103rm -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
This page took 0.112619 seconds and 4 git commands to generate.