[packages/shine] - new

qboosh qboosh at pld-linux.org
Sun Jul 14 18:00:55 CEST 2013


commit bd9871365e059bb2e7d56ef28793287246257b9e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jul 14 18:00:41 2013 +0200

    - new

 shine.spec | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 89 insertions(+)
---
diff --git a/shine.spec b/shine.spec
new file mode 100644
index 0000000..e1dbc12
--- /dev/null
+++ b/shine.spec
@@ -0,0 +1,89 @@
+Summary:	Fixed-point MP3 encoding library
+Summary(pl.UTF-8):	Biblioteka stałoprzecinkowego kodowania MP3
+Name:		shine
+Version:	2.0.0
+Release:	1
+# COPYING says so, no other licensing information found
+License:	LGPL v2
+Group:		Libraries
+Source0:	https://github.com/savonet/shine/archive/%{version}.tar.gz?/%{name}-%{version}.tar.gz
+# Source0-md5:	47eca72f1de0c7e803bf94180c43ba07
+URL:		https://github.com/savonet/shine/
+BuildRequires:	autoconf >= 2.50
+BuildRequires:	automake
+BuildRequires:	libtool >= 2:2
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Fixed-point MP3 encoding library.
+
+%description -l pl.UTF-8
+Biblioteka stałoprzecinkowego kodowania MP3.
+
+%package devel
+Summary:	Header files for shine library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki shine
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for shine library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki shine.
+
+%package static
+Summary:	Static shine library
+Summary(pl.UTF-8):	Statyczna biblioteka shine
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static shine library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka shine.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__automake}
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README.md README.old
+%attr(755,root,root) %{_bindir}/shineenc
+%attr(755,root,root) %{_libdir}/libshine.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libshine.so.2
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libshine.so
+%{_includedir}/shine
+%{_pkgconfigdir}/shine.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libshine.a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/shine.git/commitdiff/bd9871365e059bb2e7d56ef28793287246257b9e



More information about the pld-cvs-commit mailing list