packages: libmodbus/libmodbus.spec (NEW)=?UTF-8?Q?=20?=- new

blekot blekot at pld-linux.org
Mon Mar 19 21:02:40 CET 2012


Author: blekot                       Date: Mon Mar 19 20:02:40 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/libmodbus:
   libmodbus.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libmodbus/libmodbus.spec
diff -u /dev/null packages/libmodbus/libmodbus.spec:1.1
--- /dev/null	Mon Mar 19 21:02:40 2012
+++ packages/libmodbus/libmodbus.spec	Mon Mar 19 21:02:35 2012
@@ -0,0 +1,90 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+#
+Summary:	libmodbus is a free software library to send/receive data according to the Modbus protocol
+Summary(pl.UTF-8):	libmodbus to darmowa biblioteka do wysyłania/odbierania danych zgodnie z protokołem Modbus
+Name:		libmodbus
+Version:	3.0.2
+Release:	1
+License:	LGPL v2.1+
+Group:		Libraries
+Source0:	http://github.com/downloads/stephane/libmodbus/%{name}-%{version}.tar.gz
+# Source0-md5:	1aaacce9d9779d3a84f7d1a75774c943
+URL:		http://www.libmodbus.org/
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libmodbus is a free software library to send/receive data according to
+the Modbus protocol. This library is written in C and supports RTU
+(serial) and TCP (Ethernet) communications.
+
+%description -l pl.UTF-8
+libmodman to darmowa biblioteka do wysyłania/odbierania danych zgodnie
+z protokołem Modbus. Jest napisana w C i wspiera komunikacje RTU
+(porty szeregowe) i TCP (sieć ethernet)
+
+%package devel
+Summary:	Header files for libmodbus library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libmodbus
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	libstdc++-devel
+
+%description devel
+Header files for libmodbus library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libmodbus.
+
+%prep
+%setup -q
+
+%build
+
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__autoconf}
+%{__automake}
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS COPYING MIGRATION README.rst
+%attr(755,root,root) %{_libdir}/libmodbus.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmodbus.so.5
+%{_mandir}/man3/modbus_*
+%{_mandir}/man7/libmodbus.7*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libmodbus.so
+%{_libdir}/libmodbus.la
+%dir %{_includedir}/modbus
+%{_includedir}/modbus/modbus*.h
+%{_pkgconfigdir}/libmodbus.pc
+
+%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  2012/03/19 20:02:35  blekot
+- new
+
================================================================


More information about the pld-cvs-commit mailing list