]> git.pld-linux.org Git - packages/vcdimager.git/blobdiff - vcdimager.spec
- release 2, rebuild against libcdio 2.1.0
[packages/vcdimager.git] / vcdimager.spec
index 447e2eeb1550d65edb2838af4e738ae51b7fac12..3101cacda11c1fb13b4ddd47ac6ab610866e0750 100644 (file)
@@ -1,33 +1,34 @@
+#
+# Conditional build:
 %bcond_without static_libs     # don't build static library
+#
 Summary:       VideoCD (pre-)mastering and ripping tools
-Summary(pl):   Narzêdzia do tworzenia i odczytu VideoCD
+Summary(pl.UTF-8):     Narzędzia do tworzenia i odczytu VideoCD
 Name:          vcdimager
-Version:       0.7.22
-Release:       1
-License:       GPL
+Version:       2.0.1
+Release:       2
+License:       GPL v2+
 Group:         Applications/File
-#Source0:      http://www.vcdimager.org/pub/vcdimager/vcdimager-0.7/%{name}-%{version}.tar.gz
-Source0:       ftp://ftp.gnu.org/gnu/vcdimager/%{name}-%{version}.tar.gz
-# Source0-md5: d7ceca2631fb732ff1257c2d3a7df45d
+Source0:       http://ftp.gnu.org/gnu/vcdimager/%{name}-%{version}.tar.gz
+# Source0-md5: 3890d73da62d0607c87962c41cd33a29
 Patch0:                %{name}-info.patch
 URL:           http://www.gnu.org/software/vcdimager/
-BuildRequires: autoconf >= 2.52
+BuildRequires: autoconf >= 2.61
 BuildRequires: automake >= 1.6.0
-BuildRequires: libcdio-devel >= 0.72
+BuildRequires: help2man
+BuildRequires: libcdio-devel >= 2.0.0
 BuildRequires: libtool >= 1:1.4.2-9
-BuildRequires: libxml2-devel >= 2.6.11
+BuildRequires: libxml2-devel >= 1:2.6.11
 BuildRequires: pkgconfig
 BuildRequires: popt-devel >= 1.7
 BuildRequires: texinfo
 Requires(post,postun): /sbin/ldconfig
-Requires:      libcdio >= 0.72
-Requires:      libxml2 >= 2.6.11
+Requires:      libcdio >= 2.0.0
+Requires:      libxml2 >= 1:2.6.11
 Requires:      popt >= 1.7
 Obsoletes:     vcdimager-cdio
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _noautoreqdep   libvcd.so.0 libvcdinfo.so.0
-
 %description
 VCDImager allows you to create VideoCD BIN/CUE CD images from mpeg
 files which can be burned with cdrdao or any other program capable of
@@ -36,30 +37,30 @@ reverse operation. That is, ripping mpeg streams from images (and
 already burned VideoCDs) and showing some information about the
 VideoCD.
 
-%description -l pl
-VCDImager s³u¿y do tworzenia obrazów VideoCD BIN/CUE z plików mpeg,
-które nastêpnie mog± byæ wypalone za pomoc± cdrdao lub innego programu
-zdolnego do wypalania plików BIN/CUE. VCDRip dostarczany wraz z
+%description -l pl.UTF-8
+VCDImager służy do tworzenia obrazów VideoCD BIN/CUE z plików mpeg,
+które następnie mogą być wypalone za pomocą cdrdao lub innego programu
+zdolnego do wypalania plików BIN/CUE. VCDRip dostarczany wraz z
 VCDImager pozwala na wykonanie odwrotnej operacji tzn. zrzucenia
-strumienia mpeg z obrazów (oraz ju¿ wypalonych p³yt VideoCD).
+strumienia mpeg z obrazów (oraz już wypalonych płyt VideoCD).
 
 %package devel
 Summary:       Header files for vcd libraries
-Summary(pl):   Pliki nag³ówkowe bibliotek vcd
+Summary(pl.UTF-8):     Pliki nagłówkowe bibliotek vcd
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      libcdio-devel >= 0.72
+Requires:      libcdio-devel >= 2.0.0
 Obsoletes:     vcdimager-cdio-devel
 
 %description devel
 Header files for vcd libraries.
 
-%description devel -l pl
-Pliki nag³ówkowe bibliotek vcd.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe bibliotek vcd.
 
 %package static
 Summary:       Static vcd libraries
-Summary(pl):   Statyczne biblioteki vcd
+Summary(pl.UTF-8):     Statyczne biblioteki vcd
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 Obsoletes:     vcdimager-cdio-static
@@ -67,15 +68,13 @@ Obsoletes:  vcdimager-cdio-static
 %description static
 Static vcd libraries.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Statyczne biblioteki vcd.
 
 %prep
 %setup -q
 %patch0 -p1
 
-cp -f libpopt.m4 acinclude.m4
-
 %build
 %{__libtoolize}
 %{__aclocal}
@@ -84,6 +83,7 @@ cp -f libpopt.m4 acinclude.m4
 %{__automake}
 %configure \
        --enable-maintainer-mode \
+       --disable-silent-rules \
        %{!?with_static_libs:--disable-static}
 %{__make}
 
@@ -93,6 +93,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libvcdinfo.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -107,20 +110,34 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS BUGS ChangeLog FAQ NEWS README THANKS TODO
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
-%{_mandir}/man1/*.1*
-%{_infodir}/*.info*
+%attr(755,root,root) %{_bindir}/cdxa2mpeg
+%attr(755,root,root) %{_bindir}/vcd-info
+%attr(755,root,root) %{_bindir}/vcdimager
+%attr(755,root,root) %{_bindir}/vcdxbuild
+%attr(755,root,root) %{_bindir}/vcdxgen
+%attr(755,root,root) %{_bindir}/vcdxminfo
+%attr(755,root,root) %{_bindir}/vcdxrip
+%attr(755,root,root) %{_libdir}/libvcdinfo.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libvcdinfo.so.0
+%{_mandir}/man1/cdxa2mpeg.1*
+%{_mandir}/man1/vcd-info.1*
+%{_mandir}/man1/vcdimager.1*
+%{_mandir}/man1/vcdxbuild.1*
+%{_mandir}/man1/vcdxgen.1*
+%{_mandir}/man1/vcdxminfo.1*
+%{_mandir}/man1/vcdxrip.1*
+%{_infodir}/vcd-info.info*
+%{_infodir}/vcdimager.info*
+%{_infodir}/vcdxrip.info*
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
+%attr(755,root,root) %{_libdir}/libvcdinfo.so
 %{_includedir}/libvcd
-%{_pkgconfigdir}/*.pc
+%{_pkgconfigdir}/libvcdinfo.pc
 
 %if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libvcdinfo.a
 %endif
This page took 0.056021 seconds and 4 git commands to generate.