From: <ny...@us...> - 2007-02-09 05:11:58
|
Revision: 319 http://svn.sourceforge.net/pmplib/?rev=319&view=rev Author: nyaochi Date: 2007-02-08 21:11:59 -0800 (Thu, 08 Feb 2007) Log Message: ----------- Initial attempt to build pmplib-*.rpm Modified Paths: -------------- trunk/pmplib/configure.in trunk/pmplib/include/Makefile.am trunk/pmplib/lib/pmp_iriverplus2/Makefile.am trunk/pmplib/lib/pmp_iriverplus3/Makefile.am trunk/pmplib/lib/pmp_irivnavi/Makefile.am trunk/pmplib/lib/pmp_portalplayer1/Makefile.am Added Paths: ----------- trunk/pmplib/pmplib.spec.in Modified: trunk/pmplib/configure.in =================================================================== --- trunk/pmplib/configure.in 2007-02-09 04:54:37 UTC (rev 318) +++ trunk/pmplib/configure.in 2007-02-09 05:11:59 UTC (rev 319) @@ -228,7 +228,7 @@ dnl ------------------------------------------------------------------ dnl Output the configure results. dnl ------------------------------------------------------------------ -AC_CONFIG_FILES(Makefile m4/Makefile include/Makefile include/pmplib/Makefile lib/ucs2/Makefile lib/filepath/Makefile lib/pmp/Makefile lib/gmi/Makefile lib/pmp_irivnavi/Makefile lib/pmp_portalplayer1/Makefile lib/pmp_iriverplus2/Makefile lib/pmp_iriverplus3/Makefile lib/playlist/Makefile frontend/easypmp/cui/Makefile) +AC_CONFIG_FILES(Makefile m4/Makefile include/Makefile include/pmplib/Makefile lib/ucs2/Makefile lib/filepath/Makefile lib/pmp/Makefile lib/gmi/Makefile lib/pmp_irivnavi/Makefile lib/pmp_portalplayer1/Makefile lib/pmp_iriverplus2/Makefile lib/pmp_iriverplus3/Makefile lib/playlist/Makefile frontend/easypmp/cui/Makefile pmplib.spec) if test -n "$JS_CFLAGS" ; then AC_DEFINE([HAVE_JSAPI_H], 1, [Define if you have the jsapi.h header]) Modified: trunk/pmplib/include/Makefile.am =================================================================== --- trunk/pmplib/include/Makefile.am 2007-02-09 04:54:37 UTC (rev 318) +++ trunk/pmplib/include/Makefile.am 2007-02-09 05:11:59 UTC (rev 319) @@ -1,3 +1,9 @@ # $Id:$ SUBDIRS = pmplib + +EXTRA_DIST = \ + os.h \ + gmi.h \ + playlist.h \ + ucs2string.h Modified: trunk/pmplib/lib/pmp_iriverplus2/Makefile.am =================================================================== --- trunk/pmplib/lib/pmp_iriverplus2/Makefile.am 2007-02-09 04:54:37 UTC (rev 318) +++ trunk/pmplib/lib/pmp_iriverplus2/Makefile.am 2007-02-09 05:11:59 UTC (rev 319) @@ -4,7 +4,6 @@ pmp_LTLIBRARIES = iriverplus2.la iriverplus2_la_SOURCES = \ - ../../include/pmp.h \ dat.c \ idx.c \ idx_header.c \ Modified: trunk/pmplib/lib/pmp_iriverplus3/Makefile.am =================================================================== --- trunk/pmplib/lib/pmp_iriverplus3/Makefile.am 2007-02-09 04:54:37 UTC (rev 318) +++ trunk/pmplib/lib/pmp_iriverplus3/Makefile.am 2007-02-09 05:11:59 UTC (rev 319) @@ -4,7 +4,6 @@ pmp_LTLIBRARIES = iriverplus3.la iriverplus3_la_SOURCES = \ - ../../include/pmp.h \ dat.h \ dat.c \ dic.h \ Modified: trunk/pmplib/lib/pmp_irivnavi/Makefile.am =================================================================== --- trunk/pmplib/lib/pmp_irivnavi/Makefile.am 2007-02-09 04:54:37 UTC (rev 318) +++ trunk/pmplib/lib/pmp_irivnavi/Makefile.am 2007-02-09 05:11:59 UTC (rev 319) @@ -4,8 +4,6 @@ pmp_LTLIBRARIES = irivnavi.la irivnavi_la_SOURCES = \ - ../../include/pmp.h \ - ../../include/pmphelp.h \ irivnavi.c \ irivnavi.h \ playlist.c \ Modified: trunk/pmplib/lib/pmp_portalplayer1/Makefile.am =================================================================== --- trunk/pmplib/lib/pmp_portalplayer1/Makefile.am 2007-02-09 04:54:37 UTC (rev 318) +++ trunk/pmplib/lib/pmp_portalplayer1/Makefile.am 2007-02-09 05:11:59 UTC (rev 319) @@ -4,7 +4,6 @@ pmp_LTLIBRARIES = portalplayer1.la portalplayer1_la_SOURCES = \ - ../../include/pmp.h \ hdr.c \ hdr_template.c \ hdr_template.h \ Added: trunk/pmplib/pmplib.spec.in =================================================================== --- trunk/pmplib/pmplib.spec.in (rev 0) +++ trunk/pmplib/pmplib.spec.in 2007-02-09 05:11:59 UTC (rev 319) @@ -0,0 +1,92 @@ +%define name @PACKAGE@ +%define version @VERSION@ +%define release 1 +%define prefix %{_usr} +%define docdir %{_defaultdocdir} + +# Preamble +Summary: Portable Media Player library (PMPlib) +Name: %{name} +Version: %{version} +Release: %{release} +License: LGPL +Vendor: The PMPlib Project +Packager: Naoaki Okazaki <ny...@us...> +URL: http://pmplib.sourceforge.net/ +Group: Applications/Multimedia +Source: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-root +BuildRequires: gcc => 3.0.1, libid3tag-devel, zlib-devel, libogg-devel, libvorbis-devel + +%description +Portable Media Player library (PMPlib) is a management software/library for various portable media players. + +%package devel +Summary: Shared and static libraries for PMPlib +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +Portable Media Player library (PMPlib) is a management software/library for various portable media players. +This package contains both the shared and the static libraries from the PMPlib project. + +%package tools +Summary: Command-line tools for PMPlib (EasyPMP) +License: GPL +Group: Applications/Multimedia +Requires: %{name} = %{version}, libid3tag, zlib, libogg, libvorbis + +%description tools +Portable Media Player library (PMPlib) is a management software/library for various portable media players. +This package contains a frontend program (EasyPMP) for PMPlib. + +%prep + +%setup + +%build +%configure +%{__make} + +%install +%{__rm} -rf %{buildroot} +%makeinstall + +%post + +%postun + +%clean +%{__rm} -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc AUTHORS COPYING ChangeLog INSTALL NEWS README +%{_libdir}/pmplib/irivnavi.so +%{_libdir}/pmplib/portalplayer1.so +%{_libdir}/pmplib/iriverplus2.so +%{_libdir}/pmplib/iriverplus3.so +%{_libdir}/libpmp.so* + +%files devel +%defattr(-,root,root) +%{_libdir}/pmplib/irivnavi.a +%{_libdir}/pmplib/irivnavi.la +%{_libdir}/pmplib/portalplayer1.a +%{_libdir}/pmplib/portalplayer1.la +%{_libdir}/pmplib/iriverplus2.a +%{_libdir}/pmplib/iriverplus2.la +%{_libdir}/pmplib/iriverplus3.a +%{_libdir}/pmplib/iriverplus3.la +%{_libdir}/libpmp.a +%{_libdir}/libpmp.la +%{_includedir}/* + +%files tools +%defattr(-,root,root) +%{_bindir}/easypmp +%{_mandir}/man1/easypmp.1* + +%changelog +* Fri Feb 9 2007 Naoaki Okazaki <ny...@us...> 0.14 +- Initial build This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |