[2553] | 1 | Summary: Library for Microsoft Media Server (MMS) streaming protocol |
---|
| 2 | Name: libmms |
---|
| 3 | Version: 0.6.2 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
| 5 | Source0: %{name}-%{version}.tar.gz |
---|
| 6 | License: LGPLv2+ |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | URL: http://sourceforge.net/projects/libmms/ |
---|
| 9 | |
---|
| 10 | BuildRequires: glib2-devel |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | |
---|
| 13 | %description |
---|
| 14 | LibMMS is a common library for parsing mms:// and mmsh:// type |
---|
| 15 | network streams. These are commonly used to stream Windows |
---|
| 16 | Media Video content over the web. LibMMS itself is only for |
---|
| 17 | receiving MMS stream, it doesn't handle sending at all. |
---|
| 18 | |
---|
| 19 | %package devel |
---|
| 20 | Summary: Development files for %{name} |
---|
| 21 | Group: Development/Libraries |
---|
| 22 | Requires: %{name} = %{version}-%{release} |
---|
| 23 | |
---|
| 24 | %description devel |
---|
| 25 | This package contains development files for %{name}. |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | %prep |
---|
| 29 | %setup -q |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %build |
---|
| 33 | %configure --disable-static |
---|
| 34 | %{__make} %{?_smp_mflags} |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %install |
---|
| 38 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
---|
| 39 | %{__rm} $RPM_BUILD_ROOT/%{_libdir}/%{name}.la |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %clean |
---|
| 43 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %post -p /sbin/ldconfig |
---|
| 47 | %postun -p /sbin/ldconfig |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %files |
---|
| 51 | %defattr(-,root,root,-) |
---|
| 52 | %doc AUTHORS COPYING.LIB ChangeLog README* |
---|
| 53 | %{_libdir}/%{name}.so.* |
---|
| 54 | |
---|
| 55 | %files devel |
---|
| 56 | %defattr(-,root,root,-) |
---|
| 57 | %{_includedir}/%{name} |
---|
| 58 | %{_libdir}/%{name}.so |
---|
| 59 | %{_libdir}/pkgconfig/%{name}.pc |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %changelog |
---|
| 63 | * Sun Jan 23 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.6.2-1 |
---|
| 64 | - new upstream release |
---|
| 65 | |
---|
| 66 | * Wed Dec 30 2009 Kazutaka HARADA <kazutaka@vinelinux.org> 0.5-1 |
---|
| 67 | - initial build for Vine Linux |
---|