summaryrefslogtreecommitdiff
path: root/smpeg.spec
diff options
context:
space:
mode:
authorfreetz2004-03-28 13:15:38 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit7f51464dfa6deafec1ccbcdd149f6a7b8fa610ca (patch)
tree7d4fe3deed29097407b6c7f5407d78719d67bf6e /smpeg.spec
parent29e2dde70883d17e618ef136a9273e04586bda09 (diff)
downloadsmpeg-7f51464dfa6deafec1ccbcdd149f6a7b8fa610ca.zip
smpeg-7f51464dfa6deafec1ccbcdd149f6a7b8fa610ca.tar.gz
- separated libraries subpackage
- moved to desktopdir - strict iinternal deps - rel. 14 Changed files: smpeg.spec -> 1.65
Diffstat (limited to 'smpeg.spec')
-rw-r--r--smpeg.spec35
1 files changed, 25 insertions, 10 deletions
diff --git a/smpeg.spec b/smpeg.spec
index b72f029..035f8b6 100644
--- a/smpeg.spec
+++ b/smpeg.spec
@@ -5,7 +5,7 @@ Summary(ru): SDL MPEG ÂÉÂÌÉÏÔÅËÁ É ÐÒÏÉÇÒÙ×ÁÔÅÌØ
Summary(uk): SDL MPEG ¦Â̦ÏÔÅËÁ ÔÁ ÐÒÏÇÒÁ×ÁÞ
Name: smpeg
Version: 0.4.4
-Release: 13
+Release: 14
License: LGPL
Group: Libraries
Source0: ftp://ftp.lokigames.com/pub/open-source/smpeg/%{name}-%{version}.tar.gz
@@ -23,6 +23,7 @@ BuildRequires: automake
BuildRequires: gtk+-devel >= 1.2.1
BuildRequires: libstdc++-devel
BuildRequires: libtool >= 2:1.4d
+Requires: %{name}-libs = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Obsoletes: libsmpeg0.4
@@ -57,6 +58,17 @@ UCB (õΦ×ÅÒÓÉÔÅÔ¦ âÅÒË̦) ÔÁ SPLAY, ÁÕĦÏ-ÄÅËÏÄÅÒ¦, ÑËÉÊ ÓÔ×ÏÒÉ×
Woo-jae Jung. 㦠Ä×Á ÐÒÏÅËÔÉ ÂÕÌÉ ÏÂ'¤ÄÎÁΦ ÄÌÑ ÓÔ×ÏÒÅÎÎÑ
MPEG-ÁÕĦÏ/צÄÅÏ ÐÒÏÇÒÁ×ÁÞÁ ÄÌÑ Linux.
+%package libs
+Summary: Shared smpeg libraries
+Summary(pl): Wspó³dzielone biblioteki smpeg
+Group: Libraries
+
+%description libs
+Shared smpeg libraries.
+
+%description libs -l pl
+Wspó³dzielone biblioteki smpeg.
+
%package devel
Summary: Smpeg header files and development documentation
Summary(pl): Pliki nag³ówkowe oraz dokumentacja do smpeg
@@ -64,7 +76,7 @@ Summary(pt_BR): Bibliotecas e arquivos de inclusão para desenvolvimento de aplic
Summary(ru): æÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ SMPEG
Summary(uk): æÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ SMPEG
Group: Development/Libraries
-Requires: %{name} = %{version}
+Requires: %{name}-libs = %{version}-%{release}
Requires: SDL-devel
Obsoletes: libsmpeg0.4-devel
@@ -93,7 +105,7 @@ Summary(pt_BR): Bibliotecas estáticas para desenvolvimento de aplicações SMPEG
Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ SMPEG
Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂËÉ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ SMPEG
Group: Development/Libraries
-Requires: %{name}-devel = %{version}
+Requires: %{name}-devel = %{version}-%{release}
%description static
Smpeg static libraries.
@@ -117,7 +129,7 @@ Bibliotecas estáticas para desenvolvimento de aplicações SMPEG.
Summary: gtv MPEG player
Summary(pl): Odtwarzacz MPEG gtv
Group: X11/Applications/Multimedia
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
%description gtv
gtv MPEG player.
@@ -155,28 +167,31 @@ CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_applnkdir}/Multimedia,%{_pixmapsdir}}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
m4datadir=%{_aclocaldir}
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Multimedia
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
%doc CHANGES README
%attr(755,root,root) %{_bindir}/plaympeg
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
%{_mandir}/man1/plaympeg.1*
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/smpeg-config
@@ -192,6 +207,6 @@ rm -rf $RPM_BUILD_ROOT
%files gtv
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/gtv
-%{_applnkdir}/Multimedia/*
+%{_desktopdir}/*
%{_pixmapsdir}/*
%{_mandir}/man1/gtv.1*