]> git.pld-linux.org Git - packages/libdv.git/blobdiff - libdv.spec
- verbose bin, man files
[packages/libdv.git] / libdv.spec
index 49d1508f8e417775d3df269a9c039b0611146319..d379e19a0853cc9ac857cd60e645b27479a4ec4d 100644 (file)
@@ -1,33 +1,34 @@
 #
 # Conditional build:
-%bcond_without gui     # don't build gui stuff
-%bcond_with    mmx     # use MMX asm (won't run on non-MMX CPU!)
+%bcond_without gui             # don't build gui stuff
+%bcond_with    mmx             # use MMX asm (won't run on non-MMX CPU!)
 %bcond_without static_libs     # don't build static library
-#
-%ifarch athlon pentium3 pentium4
-# %{x8664} skipped - gas generates PIC-incompatible relocation entries
+
+%ifarch athlon pentium2 pentium3 pentium4 %{x8664}
 %define                with_mmx        1
 %endif
 Summary:       DV video software codec
-Summary(pl):   Biblioteka do obs³ugi formatu wideo DV
+Summary(pl.UTF-8):     Biblioteka do obsługi formatu wideo DV
 Name:          libdv
-Version:       0.104
-Release:       2
-License:       LGPL
+Version:       1.0.0
+Release:       4
+License:       LGPL v2.1+
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/libdv/%{name}-%{version}.tar.gz
-# Source0-md5: f6b08efce7472daa20685e6e8431f542
+# Source0-md5: f895162161cfa4bb4a94c070a7caa6c7
 Patch0:                %{name}-include_fix.patch
 URL:           http://libdv.sourceforge.net/
-%if %{with gui}
-BuildRequires: SDL-devel >= 1.1.6
-BuildRequires: XFree86-devel
-BuildRequires: gtk+-devel >= 1.2.10-3
-%endif
+BuildRequires: autoconf >= 2.59-9
 BuildRequires: automake
+BuildRequires: libtool
 BuildRequires: pkgconfig >= 1:0.7
 BuildRequires: popt-devel
 BuildRequires: rpmbuild(macros) >= 1.213
+%if %{with gui}
+BuildRequires: SDL-devel >= 1.1.6
+BuildRequires: gtk+-devel >= 1.2.10-3
+BuildRequires: xorg-lib-libXv-devel
+%endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -37,27 +38,15 @@ that support the IEEE 1394 (aka FireWire or i.Link) interface. libdv
 was developed according to the official standards for DV video, IEC
 61834 and SMPTE 314M. See http://libdv.sourceforge.net/ for more.
 
-%description -l pl
-Quasar DV (libdv) jest bibliotek± do obs³ugi obrazu DV. DV jest
-formatem stosowanym przez wiêkszo¶æ cyfrowych urz±dzeñ, zwykle tych,
-które u¿ywaj± interfejsu IEEE 1394 (FireWire/i.Link). libdv jest
+%description -l pl.UTF-8
+Quasar DV (libdv) jest biblioteką do obsługi obrazu DV. DV jest
+formatem stosowanym przez większość cyfrowych urządzeń, zwykle tych,
+które używają interfejsu IEEE 1394 (FireWire/i.Link). libdv jest
 pisany zgodnie z oficjalnymi standardami DV, IEC 61834, SMPTE 314M.
 
-%package -n dv
-Summary:       Programs to encode and play DV files
-Summary(pl):   Programy do kodowania i odtwarzania plików DV
-Group:         X11/Applications/Multimedia
-Requires:      %{name} = %{version}-%{release}
-
-%description -n dv
-Programs to encode and play DV files.
-
-%description -n dv -l pl
-Programy do kodowania i odtwarzania plików DV.
-
 %package devel
 Summary:       DV library headers
-Summary(pl):   Pliki nag³ówkowe biblioteki DV
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki DV
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 
@@ -65,40 +54,56 @@ Requires:   %{name} = %{version}-%{release}
 This is the libraries, include files and other resources you can use
 to incorporate libdv into applications.
 
-%description devel -l pl
-Pliki nag³ówkowe potrzebne do budowania programów korzystaj±cych z
+%description devel -l pl.UTF-8
+Pliki nagłówkowe potrzebne do budowania programów korzystających z
 libdv.
 
 %package static
 Summary:       DV static libraries
-Summary(pl):   Statyczne biblioteki do obs³ugi formatu DV
+Summary(pl.UTF-8):     Statyczne biblioteki do obsługi formatu DV
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 This is package with static libdv libraries.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Statyczna wersja biblioteki libdv.
 
+%package -n dv
+Summary:       Programs to encode and play DV files
+Summary(pl.UTF-8):     Programy do kodowania i odtwarzania plików DV
+Group:         X11/Applications/Multimedia
+Requires:      %{name} = %{version}-%{release}
+
+%description -n dv
+Programs to encode and play DV files.
+
+%description -n dv -l pl.UTF-8
+Programy do kodowania i odtwarzania plików DV.
+
 %prep
 %setup -q
 %patch0 -p1
 
 %build
-cp /usr/share/automake/config.sub .
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
-       --enable-shared \
+       %{!?with_mmx:--disable-asm} \
 %if %{with gui}
-       --enable-sdl \
        --enable-gtk \
+       --enable-sdl \
 %else
-       --disable-sdl \
        --disable-gtk \
+       --disable-sdl \
 %endif
-       --without-debug \
-       %{!?with_mmx:--disable-asm} \
-       %{!?with_static_libs:--disable-static}
+       --enable-shared \
+       %{!?with_static_libs:--disable-static} \
+       --without-debug
 
 %{__make}
 
@@ -118,24 +123,31 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README.* TODO
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
-
-%if %{with gui}
-%files -n dv
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
-%endif
+%attr(755,root,root) %{_libdir}/libdv.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libdv.so.4
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/*.la
+%attr(755,root,root) %{_libdir}/libdv.so
+%{_libdir}/libdv.la
 %{_includedir}/libdv
-%{_pkgconfigdir}/*
+%{_pkgconfigdir}/libdv.pc
 
 %if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libdv.a
+%endif
+
+%if %{with gui}
+%files -n dv
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/dubdv
+%attr(755,root,root) %{_bindir}/dvconnect
+%attr(755,root,root) %{_bindir}/encodedv
+%attr(755,root,root) %{_bindir}/playdv
+%{_mandir}/man1/dubdv.1*
+%{_mandir}/man1/dvconnect.1*
+%{_mandir}/man1/encodedv.1*
+%{_mandir}/man1/playdv.1*
 %endif
This page took 0.038507 seconds and 4 git commands to generate.