SHA256
1
0
forked from pool/libmms

Accepting request 83766 from home:TheBlackCat:branches:multimedia:libs

- Changed one remaining case of %{name}0 to %{name}%{soname}
- Removed some extraneous spaces

OBS-URL: https://build.opensuse.org/request/show/83766
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libmms?expand=0&rev=4
This commit is contained in:
Todd R 2011-09-20 09:02:53 +00:00 committed by Git OBS Bridge
parent d89b73230b
commit 837efa2a9c
3 changed files with 22 additions and 110 deletions

View File

@ -1,93 +0,0 @@
#
# spec file for package libmms
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define soname 0
Name: libmms
Version: 0.6.2
Release: 0
License: LGPLv2+
# NOTE: there are files from the xine project with GPL headers in the source,
# but these were re-licensed to LGPLv2+ with the explicit permission of all
# contributors.
# Please see the README.LICENSE file and the xine mailing list discussions in
# libmms-relicensing-1.txt and libmms-relicensing-2.txt
Summary: MMS stream protocol library
Url: http://www.sf.net/projects/%{name}
Group: System/Libraries
Source0: %{name}-%{version}.tar.bz2
Source1: libmms-relicensing-1.txt
Source2: libmms-relicensing-2.txt
BuildRequires: pkg-config
BuildRequires: pkgconfig(glib-2.0)
%description
LibMMS is a common library for parsing mms:// and mmsh:// type network streams.
These are commonly used to stream Windows Media Video content over the web.
LibMMS itself is only for receiving MMS stream, it doesn't handle sending at
all.
%package -n %{name}%{soname}
Summary: MMS stream protocol library
Group: System/Libraries
%description -n %{name}%{soname}
LibMMS is a common library for parsing mms:// and mmsh:// type network streams.
These are commonly used to stream Windows Media Video content over the web.
LibMMS itself is only for receiving MMS stream, it doesn't handle sending at
all.
%package -n %{name}-devel
Summary: Libmms development files
Group: Development/Libraries/C and C++
Requires: %{name}%{soname} = %{version}
%description -n %{name}-devel
Headers and libraries to program against %{name}
%prep
%setup -q
%build
%configure --disable-static
%{__make} %{?_smp_mflags}
%install
%make_install
%{__rm} -f '%{buildroot}%{_libdir}/%{name}.la'
install -d -m 755 %{buildroot}%{_docdir}/%{name}0
install -m 644 %{SOURCE1} %{buildroot}%{_docdir}/%{name}%{soname}
install -m 644 %{SOURCE2} %{buildroot}%{_docdir}/%{name}%{soname}
%post -n %{name}%{soname} -p /sbin/ldconfig
%postun -n %{name}%{soname} -p /sbin/ldconfig
%files -n %{name}%{soname}
%defattr(0644, root, root, 0755)
%doc AUTHORS ChangeLog COPYING.LIB README README.LICENSE
%{_libdir}/%{name}.so.%{soname}*
%files -n %{name}-devel
%defattr(0644, root, root, 0755)
%{_libdir}/%{name}.so
%{_includedir}/%{name}
%{_libdir}/pkgconfig/%{name}.pc
%changelog

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 20 10:02:16 UTC 2011 - toddrme2178@gmail.com
- Changed one remaining case of %{name}0 to %{name}%{soname}
- Removed some extraneous spaces
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 16 10:01:18 UTC 2011 - toddrme2178@gmail.com Fri Sep 16 10:01:18 UTC 2011 - toddrme2178@gmail.com

View File

@ -11,13 +11,12 @@
# case the license is the MIT License). An "Open Source License" is a # case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%define soname 0 %define soname 0
Name: libmms Name: libmms
Version: 0.6.2 Version: 0.6.2
Release: 0 Release: 0
@ -36,57 +35,57 @@ Source1: libmms-relicensing-1.txt
Source2: libmms-relicensing-2.txt Source2: libmms-relicensing-2.txt
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glib-2.0)
%description %description
LibMMS is a common library for parsing mms:// and mmsh:// type network streams. LibMMS is a common library for parsing mms:// and mmsh:// type network streams.
These are commonly used to stream Windows Media Video content over the web. These are commonly used to stream Windows Media Video content over the web.
LibMMS itself is only for receiving MMS stream, it doesn't handle sending at LibMMS itself is only for receiving MMS stream, it doesn't handle sending at
all. all.
%package -n %{name}%{soname} %package -n %{name}%{soname}
Summary: MMS stream protocol library Summary: MMS stream protocol library
Group: System/Libraries Group: System/Libraries
%description -n %{name}%{soname} %description -n %{name}%{soname}
LibMMS is a common library for parsing mms:// and mmsh:// type network streams. LibMMS is a common library for parsing mms:// and mmsh:// type network streams.
These are commonly used to stream Windows Media Video content over the web. These are commonly used to stream Windows Media Video content over the web.
LibMMS itself is only for receiving MMS stream, it doesn't handle sending at LibMMS itself is only for receiving MMS stream, it doesn't handle sending at
all. all.
%package -n %{name}-devel %package -n %{name}-devel
Summary: Libmms development files Summary: Libmms development files
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{name}%{soname} = %{version} Requires: %{name}%{soname} = %{version}
%description -n %{name}-devel %description -n %{name}-devel
Headers and libraries to program against %{name} Headers and libraries to program against %{name}
%prep %prep
%setup -q %setup -q
%build %build
%configure --disable-static %configure --disable-static
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
%install %install
%make_install %make_install
%{__rm} -f '%{buildroot}%{_libdir}/%{name}.la' %{__rm} -f '%{buildroot}%{_libdir}/%{name}.la'
install -d -m 755 %{buildroot}%{_docdir}/%{name}0 install -d -m 755 %{buildroot}%{_docdir}/%{name}%{soname}
install -m 644 %{SOURCE1} %{buildroot}%{_docdir}/%{name}%{soname} install -m 644 %{SOURCE1} %{buildroot}%{_docdir}/%{name}%{soname}
install -m 644 %{SOURCE2} %{buildroot}%{_docdir}/%{name}%{soname} install -m 644 %{SOURCE2} %{buildroot}%{_docdir}/%{name}%{soname}
%post -n %{name}%{soname} -p /sbin/ldconfig %post -n %{name}%{soname} -p /sbin/ldconfig
%postun -n %{name}%{soname} -p /sbin/ldconfig %postun -n %{name}%{soname} -p /sbin/ldconfig
%files -n %{name}%{soname} %files -n %{name}%{soname}
%defattr(0644, root, root, 0755) %defattr(0644, root, root, 0755)
%doc AUTHORS ChangeLog COPYING.LIB README README.LICENSE %doc AUTHORS ChangeLog COPYING.LIB README README.LICENSE
%{_libdir}/%{name}.so.%{soname}* %{_libdir}/%{name}.so.%{soname}*
%files -n %{name}-devel %files -n %{name}-devel
%defattr(0644, root, root, 0755) %defattr(0644, root, root, 0755)
%{_libdir}/%{name}.so %{_libdir}/%{name}.so
%{_includedir}/%{name} %{_includedir}/%{name}
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
%changelog %changelog