]> git.pld-linux.org Git - packages/vcdimager.git/blame - vcdimager.spec
- BR: help2man
[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
e0ee737e 8Version: 0.7.23
0545680b 9Release: 10
68202fe2 10License: GPL v2+
f9e83ec9 11Group: Applications/File
79439af7 12#Source0: http://www.vcdimager.org/pub/vcdimager/vcdimager-0.7/%{name}-%{version}.tar.gz
9bf9f6c6 13Source0: http://ftp.gnu.org/gnu/vcdimager/%{name}-%{version}.tar.gz
e0ee737e 14# Source0-md5: 5e7d80fdbf0037ad20e438f2a9573253
79439af7 15Patch0: %{name}-info.patch
28278c39 16URL: http://www.gnu.org/software/vcdimager/
63d75553
JB
17BuildRequires: autoconf >= 2.52
18BuildRequires: automake >= 1.6.0
56d8da59 19BuildRequires: help2man
c6fc1803 20BuildRequires: libcdio-devel >= 0.72
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
c6fc1803 27Requires: libcdio >= 0.72
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 32
68202fe2 33%define _noautoreqdep libvcdinfo.so.0
63d75553 34
f9e83ec9
AM
35%description
36VCDImager allows you to create VideoCD BIN/CUE CD images from mpeg
37files which can be burned with cdrdao or any other program capable of
38burning BIN/CUE files. VCDRip, which comes with VCDImager, does the
39reverse operation. That is, ripping mpeg streams from images (and
40already burned VideoCDs) and showing some information about the
41VideoCD.
42
cddc9120
JR
43%description -l pl.UTF-8
44VCDImager służy do tworzenia obrazów VideoCD BIN/CUE z plików mpeg,
45które następnie mogą być wypalone za pomocą cdrdao lub innego programu
46zdolnego do wypalania plików BIN/CUE. VCDRip dostarczany wraz z
0fd38c40 47VCDImager pozwala na wykonanie odwrotnej operacji tzn. zrzucenia
cddc9120 48strumienia mpeg z obrazów (oraz już wypalonych płyt VideoCD).
f9e83ec9 49
63d75553
JB
50%package devel
51Summary: Header files for vcd libraries
8cf7571c 52Summary(pl.UTF-8): Pliki nagłówkowe bibliotek vcd
63d75553
JB
53Group: Development/Libraries
54Requires: %{name} = %{version}-%{release}
c6fc1803 55Requires: libcdio-devel >= 0.72
63d75553
JB
56Obsoletes: vcdimager-cdio-devel
57
58%description devel
59Header files for vcd libraries.
60
cddc9120
JR
61%description devel -l pl.UTF-8
62Pliki nagłówkowe bibliotek vcd.
63d75553
JB
63
64%package static
65Summary: Static vcd libraries
8cf7571c 66Summary(pl.UTF-8): Statyczne biblioteki vcd
63d75553
JB
67Group: Development/Libraries
68Requires: %{name}-devel = %{version}-%{release}
69Obsoletes: vcdimager-cdio-static
70
71%description static
72Static vcd libraries.
73
cddc9120 74%description static -l pl.UTF-8
63d75553
JB
75Statyczne biblioteki vcd.
76
f9e83ec9
AM
77%prep
78%setup -q
79%patch0 -p1
63d75553
JB
80
81cp -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
95rm -rf $RPM_BUILD_ROOT
96
97%{__make} install \
98 DESTDIR=$RPM_BUILD_ROOT
99
63d75553
JB
100%clean
101rm -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
This page took 0.129711 seconds and 4 git commands to generate.