From 2d5a747b64e22261e41b2da16a39985d6c8b224b Mon Sep 17 00:00:00 2001 From: Marcin Banasiak Date: Sun, 12 Oct 2008 11:55:06 +0000 Subject: [PATCH] - updated to 1.3.0 - added -devel and -static subpackages Changed files: ffmpegthumbnailer.spec -> 1.6 --- ffmpegthumbnailer.spec | 53 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git a/ffmpegthumbnailer.spec b/ffmpegthumbnailer.spec index e64c949..e684e82 100644 --- a/ffmpegthumbnailer.spec +++ b/ffmpegthumbnailer.spec @@ -1,18 +1,21 @@ Summary: Lightweight video thumbnailer Summary(pl.UTF-8): Lekki program do wykonywania miniaturek dla filmów Name: ffmpegthumbnailer -Version: 1.1.3 -Release: 2 +Version: 1.3.0 +Release: 1 License: GPL v2 Group: Applications/Graphics Source0: http://ffmpegthumbnailer.googlecode.com/files/%{name}-%{version}.tar.gz -# Source0-md5: 8abed939bdbd7261cb22f6383b761e43 +# Source0-md5: 51296d03aafd522d9f5fd037e65bf161 URL: http://code.google.com/p/ffmpegthumbnailer/ BuildRequires: autoconf >= 2.50 BuildRequires: automake BuildRequires: ffmpeg-devel BuildRequires: libpng-devel +BuildRequires: libstdc++-devel +BuildRequires: libtool BuildRequires: pkgconfig +Requires(post,postun): /sbin/ldconfig BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -25,10 +28,37 @@ ffmpegthumbnailer może być używany przez zarządców plików do tworzenia miniaturek dla plików filmów. Wykorzystuje ffmpeg do dekodowania klatek. +%package devel +Summary: Header files for libffmpegthumbnailer library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libffmpegthumbnailer +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: ffmpeg-devel +Requires: libpng-devel + +%description devel +Header files for libffmpegthumbnailer library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki libffmpegthumbnailer. + +%package static +Summary: Static libffmpegthumbnailer library +Summary(pl.UTF-8): Statyczna biblioteka libffmpegthumbnailer +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static libffmpegthumbnailer library. + +%description static -l pl.UTF-8 +Statyczna biblioteka libffmpegthumbnailer. + %prep %setup -q %build +%{__libtoolize} %{__aclocal} %{__autoconf} %{__automake} @@ -44,7 +74,24 @@ rm -rf $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog README TODO %attr(755,root,root) %{_bindir}/ffmpegthumbnailer +%attr(755,root,root) %{_libdir}/libffmpegthumbnailer.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libffmpegthumbnailer.so.2 +%{_mandir}/man1/ffmpegthumbnailer.1* + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libffmpegthumbnailer.so +%{_libdir}/libffmpegthumbnailer.la +%{_includedir}/libffmpegthumbnailer +%{_pkgconfigdir}/libffmpegthumbnailer.pc + +%files static +%defattr(644,root,root,755) +%{_libdir}/libffmpegthumbnailer.a -- 2.43.0