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