SPECS: moto4lin.spec (NEW), p2kmoto.spec (NEW) - initial revision
baggins
baggins at pld-linux.org
Tue Mar 21 02:29:51 CET 2006
Author: baggins Date: Tue Mar 21 01:29:51 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial revision
---- Files affected:
SPECS:
moto4lin.spec (NONE -> 1.1) (NEW), p2kmoto.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/moto4lin.spec
diff -u /dev/null SPECS/moto4lin.spec:1.1
--- /dev/null Tue Mar 21 02:29:51 2006
+++ SPECS/moto4lin.spec Tue Mar 21 02:29:46 2006
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+#
+%define _snap 20060321
+Summary: Motorola for Linux
+Name: moto4lin
+Version: 0.3
+Release: 0.%{_snap}.1
+License: GPL
+Group: Applications
+# http://dl.sourceforge.net/moto4lin/%{name}-%{version}.tar.bz2
+Source0: %{name}-CVS-%{_snap}.tar.gz
+# Source0-md5: 1706e9021a4671716cfd657581f57147
+# See also http://sourceforge.net/projects/moto4lin/
+URL: http://moto4lin.sourceforge.net/
+BuildRequires: libusb-devel
+BuildRequires: qmake
+BuildRequires: qt-devel
+BuildRequires: zlib-devel
+Requires: p2kmoto-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The moto4lin software is intended to be used with Motorola
+telephones based on the P2K platform.
+Supported actions:
+- Traverse the file system of the telephone
+- Work with SEEM
+- Manage Java
+
+%prep
+%setup -q -n %{name}
+
+%build
+qmake \
+ QMAKE_CXXFLAGS="%{rpmcxxflags}" \
+ QMAKE_CXXFLAGS_DEBUG=
+
+%{__make} \
+ QTDIR=%{_prefix} \
+ CFLAGS="%{rpmcflags}" \
+ LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ QTDIR=%{_prefix} \
+ INSTALL_ROOT=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changelog README
+%attr(755,root,root) %{_bindir}/moto4lin
+%{_datadir}/%{name}/*
+
+%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 2006/03/21 01:29:46 baggins
+- initial revision
+
================================================================
Index: SPECS/p2kmoto.spec
diff -u /dev/null SPECS/p2kmoto.spec:1.1
--- /dev/null Tue Mar 21 02:29:51 2006
+++ SPECS/p2kmoto.spec Tue Mar 21 02:29:46 2006
@@ -0,0 +1,115 @@
+# $Revision$, $Date$
+#
+%define _snap 20060321
+Summary: -
+Name: p2kmoto
+Version: 0.1
+Release: 0.%{_snap}.1
+License: GPL
+Group: Applications
+Source0: %{name}-CVS-%{_snap}.tar.gz
+# Source0-md5: 7db9c27c61626522bf35f034cb31c277
+# See also http://sourceforge.net/projects/moto4lin/
+URL: http://moto4lin.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: libusb-devel
+#Requires(postun): -
+#Requires(pre,post): -
+#Requires(preun): -
+#Requires: -
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%package libs
+Summary: -
+Summary(pl): -
+Group: Libraries
+
+%description libs
+
+
+%package devel
+Summary: Header files for p2kmoto library
+Summary(pl): Pliki nagłówkowe biblioteki p2kmoto
+Group: Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+
+%description devel
+This is the package containing the header files for p2kmoto library.
+
+%description devel -l pl
+Ten pakiet zawiera pliki nagłówkowe biblioteki p2kmoto
+
+%package static
+Summary: Static p2kmoto library
+Summary(pl): Statyczna biblioteka p2kmoto
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static p2kmoto library.
+
+%description static -l pl
+Statyczna biblioteka p2kmoto
+
+%prep
+%setup -q -n %{name}
+
+%build
+# if ac/am/* rebuilding is necessary, do it in this order and add
+# appropriate BuildRequires
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+cp -f /usr/share/automake/config.sub .
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS
+%attr(755,root,root) %{_bindir}/p2ktest
+
+%files libs
+%defattr(644,root,root,755)
+%{_libdir}/lib*.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/lib*.la
+%{_libdir}/lib*.so
+%{_includedir}/p2kmoto.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
+%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 2006/03/21 01:29:46 baggins
+- initial revision
+
+Revision 1.59 2006/03/04 22:52:54 glen
+- adapterized, truncate changelog
+
================================================================
More information about the pld-cvs-commit
mailing list