]> git.pld-linux.org Git - packages/vcdimager.git/blame - vcdimager.spec
- rel 3
[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
38f54179 9Release: 3
88a37f74 10License: GPL
f9e83ec9 11Group: Applications/File
79439af7
JB
12#Source0: http://www.vcdimager.org/pub/vcdimager/vcdimager-0.7/%{name}-%{version}.tar.gz
13Source0: ftp://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
c6fc1803 19BuildRequires: libcdio-devel >= 0.72
63d75553 20BuildRequires: libtool >= 1:1.4.2-9
bc2a62dd 21BuildRequires: libxml2-devel >= 2.6.11
63d75553 22BuildRequires: pkgconfig
17a0f49e 23BuildRequires: popt-devel >= 1.7
88a37f74 24BuildRequires: texinfo
63d75553 25Requires(post,postun): /sbin/ldconfig
c6fc1803 26Requires: libcdio >= 0.72
bc2a62dd 27Requires: libxml2 >= 2.6.11
17a0f49e 28Requires: popt >= 1.7
63d75553 29Obsoletes: vcdimager-cdio
fe90122e 30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
f9e83ec9 31
63d75553
JB
32%define _noautoreqdep libvcd.so.0 libvcdinfo.so.0
33
f9e83ec9
AM
34%description
35VCDImager allows you to create VideoCD BIN/CUE CD images from mpeg
36files which can be burned with cdrdao or any other program capable of
37burning BIN/CUE files. VCDRip, which comes with VCDImager, does the
38reverse operation. That is, ripping mpeg streams from images (and
39already burned VideoCDs) and showing some information about the
40VideoCD.
41
cddc9120
JR
42%description -l pl.UTF-8
43VCDImager służy do tworzenia obrazów VideoCD BIN/CUE z plików mpeg,
44które następnie mogą być wypalone za pomocą cdrdao lub innego programu
45zdolnego do wypalania plików BIN/CUE. VCDRip dostarczany wraz z
0fd38c40 46VCDImager pozwala na wykonanie odwrotnej operacji tzn. zrzucenia
cddc9120 47strumienia mpeg z obrazów (oraz już wypalonych płyt VideoCD).
f9e83ec9 48
63d75553
JB
49%package devel
50Summary: Header files for vcd libraries
8cf7571c 51Summary(pl.UTF-8): Pliki nagłówkowe bibliotek vcd
63d75553
JB
52Group: Development/Libraries
53Requires: %{name} = %{version}-%{release}
c6fc1803 54Requires: libcdio-devel >= 0.72
63d75553
JB
55Obsoletes: vcdimager-cdio-devel
56
57%description devel
58Header files for vcd libraries.
59
cddc9120
JR
60%description devel -l pl.UTF-8
61Pliki nagłówkowe bibliotek vcd.
63d75553
JB
62
63%package static
64Summary: Static vcd libraries
8cf7571c 65Summary(pl.UTF-8): Statyczne biblioteki vcd
63d75553
JB
66Group: Development/Libraries
67Requires: %{name}-devel = %{version}-%{release}
68Obsoletes: vcdimager-cdio-static
69
70%description static
71Static vcd libraries.
72
cddc9120 73%description static -l pl.UTF-8
63d75553
JB
74Statyczne biblioteki vcd.
75
f9e83ec9
AM
76%prep
77%setup -q
78%patch0 -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
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
f9e83ec9 113%attr(755,root,root) %{_bindir}/*
63d75553
JB
114%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
115%{_mandir}/man1/*.1*
116%{_infodir}/*.info*
117
118%files devel
119%defattr(644,root,root,755)
120%attr(755,root,root) %{_libdir}/lib*.so
121%{_libdir}/lib*.la
122%{_includedir}/libvcd
123%{_pkgconfigdir}/*.pc
124
faa022db 125%if %{with static_libs}
63d75553
JB
126%files static
127%defattr(644,root,root,755)
128%{_libdir}/lib*.a
14ce2aa3 129%endif
This page took 0.08602 seconds and 4 git commands to generate.