]> git.pld-linux.org Git - packages/libmpcdec.git/commitdiff
- initial version 1.2
authordjurban <djurban@pld-linux.org>
Wed, 25 May 2005 19:24:39 +0000 (19:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- obsolets libmusepack, didnt do the cvs mv since i rewrote the spec from scratch
- need to check the examples group, maybe Documentation?
- for debug build remove only -O3, with gcc4 and location lists -fomitfp doesnt
  break debug builds
- docs in examples subpackage (no need to mess devel with apidocs,
  some who will want to learn the api will install the exampes pkg anyway)

Changed files:
    libmpcdec.spec -> 1.1

libmpcdec.spec [new file with mode: 0644]

diff --git a/libmpcdec.spec b/libmpcdec.spec
new file mode 100644 (file)
index 0000000..b1a74ab
--- /dev/null
@@ -0,0 +1,108 @@
+Summary:       Musepack decoding library
+Summary(pl):   Biblioteka do dekodowania formatu musepack
+Name:          libmpcdec
+Version:       1.2
+Release:       1
+License:       BSD
+Group:         Libraries
+Source0:       http://musepack.origean.net/files/source/%{name}-%{version}.tar.bz2
+# Source0-md5: f8465cc807c4d8acca6da250fd4ca9b0
+URL:           http://www.musepack.net
+BuildRequires: automake
+BuildRequires: autoconf
+BuildRequires: libtool
+Obsoletes:     libmusepack
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This library handles decoding of the MPC format, which is an audio
+compression format with a strong emphasis on high quality. It's not
+lossless, but it is designed for transparency, so that you won't be
+able to hear differences between the original wave file and the much
+smaller MPC file. It is based on the MPEG-1 Layer-2 / MP2 algorithms,
+but since 1997 it has rapidly developed and vastly improved and is now
+at an advanced stage in which it contains heavily optimized and
+patentless code.
+
+##%description -l pl
+
+%package devel
+Summary:       Header files for libmpcdec
+Summary(pl):   Pliki nag³ówkowe do biblioteki libmpcdec
+Group:         Development
+
+%description devel
+Header files for libmpcdec.
+
+%description devel -l pl
+Pliki nag³ówkowe do biblioteki libmpcdec.
+
+%package static
+Summary:       Statically linked version of the libmpcdec library
+Summary(pl):   Statycznie zlinkowana wersja biblioteki libmpcdec
+Group:         Libraries
+
+%description static
+Statically linked version of the libmpcdec library.
+
+%description static -l pl
+Statycznie zlinkowana wersja biblioteki libmpcdec.
+
+%package examples
+Summary:       Example of using libmpcdec with documentation
+Summary(pl):   Przyk³ad u¿ycia libmpcdec z dokumentacj±
+# Which group should be used?
+Group:         Examples
+
+%description examples
+Example of using libmpcdec with documentation.
+
+%description examples -l pl
+Przyk³ad u¿ycia libmpcdec z dokumentacj±.
+
+%prep
+%setup -q
+
+%build
+%{?debug:%{__sed} -i -e "s,-O3,,g" configure.ac}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install src/sample.cpp $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog
+%attr(755,root,root)  %{_libdir}/libmpcdec.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/mpcdec
+%{_libdir}/libmpcdec.so
+
+%files examples
+%doc docs/html
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libmpcdec.a
+%{_libdir}/libmpcdec.la
This page took 0.077209 seconds and 4 git commands to generate.