packages: libshbeu/libshbeu-link.patch (NEW), libshbeu/libshbeu.spec (NEW) ...
qboosh
qboosh at pld-linux.org
Fri Apr 22 18:15:35 CEST 2011
Author: qboosh Date: Fri Apr 22 16:15:35 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/libshbeu:
libshbeu-link.patch (NONE -> 1.1) (NEW), libshbeu.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/libshbeu/libshbeu-link.patch
diff -u /dev/null packages/libshbeu/libshbeu-link.patch:1.1
--- /dev/null Fri Apr 22 18:15:35 2011
+++ packages/libshbeu/libshbeu-link.patch Fri Apr 22 18:15:29 2011
@@ -0,0 +1,20 @@
+--- libshbeu-1.0.2/src/libshbeu/Makefile.am.orig 2010-07-26 10:16:11.000000000 +0200
++++ libshbeu-1.0.2/src/libshbeu/Makefile.am 2011-04-22 17:37:55.505396593 +0200
+@@ -16,6 +16,6 @@ noinst_HEADERS = shbeu_regs.h
+ libshbeu_la_SOURCES = \
+ beu.c
+
+-libshbeu_la_CFLAGS = -v -Wall -O2 -I $(srcdir) -fPIC -fno-common
++libshbeu_la_CFLAGS = -Wall -I $(srcdir) -fno-common
+ libshbeu_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@
+-libshbeu_la_LIBADD =
++libshbeu_la_LIBADD = $(UIOMUX_LIBS)
+--- libshbeu-1.0.2/shbeu.pc.in.orig 2010-07-22 10:04:47.000000000 +0200
++++ libshbeu-1.0.2/shbeu.pc.in 2011-04-22 17:38:18.958731106 +0200
+@@ -8,5 +8,5 @@ Description: A library for controlling S
+ Requires:
+ Version: @VERSION@
+ Libs: -L${libdir} -lshbeu
+-Libs.private:
++Libs.private: @UIOMUX_LIBS@
+ Cflags: -I${includedir}
================================================================
Index: packages/libshbeu/libshbeu.spec
diff -u /dev/null packages/libshbeu/libshbeu.spec:1.1
--- /dev/null Fri Apr 22 18:15:35 2011
+++ packages/libshbeu/libshbeu.spec Fri Apr 22 18:15:29 2011
@@ -0,0 +1,125 @@
+# $Revision$, $Date$
+Summary: Library for controlling SH-Mobile BEU (Blend Engine Unit)
+Summary(pl.UTF-8): Biblioteka do sterowania układem SH-Mobile BEU (Blend Engine Unit)
+Name: libshbeu
+Version: 1.0.2
+Release: 1
+License: LGPL v2+
+Group: Libraries
+# trailing /%{name}-%{version}.tar.gz is a hack for df
+Source0: https://oss.renesas.com/modules/document/gate.php/?way=attach&refer=libshbeu&openfile=%{name}-%{version}.tar.gz/%{name}-%{version}.tar.gz
+# Source0-md5: ce805f08ba38ca83723bbd2df935f58a
+Patch0: %{name}-link.patch
+URL: https://oss.renesas.com/modules/document/?libshbeu
+BuildRequires: autoconf >= 2.53
+BuildRequires: automake
+BuildRequires: doxygen
+BuildRequires: libtool
+BuildRequires: libuiomux-devel >= 1.5.0
+BuildRequires: pkgconfig
+Requires: libuiomux >= 1.5.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libshbeu is a ibrary for controlling SH-Mobile BEU (Blend Engine
+Unit).
+
+%description -l pl.UTF-8
+Biblioteka do sterowania układem SH-Mobile BEU (Blend Engine Unit).
+
+%package devel
+Summary: Header files for libshbeu library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libshbeu
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: libuiomux-devel >= 1.5.0
+
+%description devel
+Header files for libshbeu library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libshbeu.
+
+%package static
+Summary: Static libshbeu library
+Summary(pl.UTF-8): Statyczna biblioteka libshbeu
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static libshbeu library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libshbeu.
+
+%package apidocs
+Summary: libshbeu API documentation
+Summary(pl.UTF-8): Dokumentacja API biblioteki libshbeu
+Group: Documentation
+
+%description apidocs
+API and internal documentation for libshbeu library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki libshbeu.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make} \
+ ncurses_lib="-lncurses -ltinfo"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+# obsoleted by pkgconfig (with link patch)
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libshbeu.la
+# HTML packaged in -apidocs
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libshbeu
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README TODO
+%attr(755,root,root) %{_bindir}/shbeu-display
+%attr(755,root,root) %{_libdir}/libshbeu.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libshbeu.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libshbeu.so
+%{_includedir}/shbeu
+%{_pkgconfigdir}/shbeu.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libshbeu.a
+
+%files apidocs
+%defattr(644,root,root,755)
+%doc doc/libshbeu/html/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2011/04/22 16:15:29 qboosh
+- new
================================================================
More information about the pld-cvs-commit
mailing list