Commit 116c50b0f53bae40b3a52a11e201bd187cddfb40
1 parent
f5e0585b
Fix errors reported by rpmlint
- increase package release - license name - readd automake
Showing
1 changed file
with
12 additions
and
14 deletions
libmodbus.spec.in
| 1 | Name: libmodbus | 1 | Name: libmodbus |
| 2 | Version: @PACKAGE_VERSION@ | 2 | Version: @PACKAGE_VERSION@ |
| 3 | -Release: 1%{?dist} | ||
| 4 | -Summary: A Modbus library written in C | ||
| 5 | - | 3 | +Release: 2%{?dist} |
| 4 | +Summary: A Modbus library | ||
| 6 | Group: Applications/System | 5 | Group: Applications/System |
| 7 | -License: LGPLv2.1+ | 6 | +License: LGPLv2+ |
| 8 | URL: http://www.libmodbus.org/ | 7 | URL: http://www.libmodbus.org/ |
| 9 | Source0: https://github.com/downloads/stephane/libmodbus/libmodbus-%{version}.tar.gz | 8 | Source0: https://github.com/downloads/stephane/libmodbus/libmodbus-%{version}.tar.gz |
| 10 | - | ||
| 11 | -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | ||
| 12 | -BuildRequires: autoconf, xmlto, asciidoc | 9 | +BuildRequires: autoconf, automake, xmlto, asciidoc |
| 13 | 10 | ||
| 14 | %description | 11 | %description |
| 15 | -The library is written in C and designed to run on Linux, Mac OS X, FreeBSD and | ||
| 16 | -QNX and Windows. | 12 | +libmodbus is a C library designed to provide a fast and robust implementation of |
| 13 | +the Modbus protocol. It runs on Linux, Mac OS X, FreeBSD, QNX and Windows. | ||
| 17 | 14 | ||
| 18 | This package contains the libmodbus shared library. | 15 | This package contains the libmodbus shared library. |
| 19 | 16 | ||
| 20 | %package devel | 17 | %package devel |
| 21 | -Summary: Development files for the libmodbus library | 18 | +Summary: Development files for libmodbus |
| 22 | Group: Development/Libraries | 19 | Group: Development/Libraries |
| 23 | Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig | 20 | Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig |
| 24 | 21 | ||
| 25 | %description devel | 22 | %description devel |
| 26 | -The library is written in C and designed to run on Linux, Mac OS X, FreeBSD and | ||
| 27 | -QNX and Windows. | 23 | +libmodbus is a C library designed to provide a fast and robust implementation of |
| 24 | +the Modbus protocol. It runs on Linux, Mac OS X, FreeBSD, QNX and Windows. | ||
| 28 | 25 | ||
| 29 | -This package contains libmodbus related development libraries and header files. | 26 | +This package contains libraries, header files and developer documentation needed |
| 27 | +for developing software which uses the libmodbus library. | ||
| 30 | 28 | ||
| 31 | %prep | 29 | %prep |
| 32 | %setup -q | 30 | %setup -q |
| @@ -65,7 +63,7 @@ rm -f %{buildroot}/%{_libdir}/*.la | @@ -65,7 +63,7 @@ rm -f %{buildroot}/%{_libdir}/*.la | ||
| 65 | %{_mandir}/man3/*.3.* | 63 | %{_mandir}/man3/*.3.* |
| 66 | 64 | ||
| 67 | %changelog | 65 | %changelog |
| 68 | -* Mon Jul 23 2011 Stéphane Raimbault <stephane.raimbault@gmail.com> - 3.0.2-1 | 66 | +* Mon Jul 23 2011 Stéphane Raimbault <stephane.raimbault@gmail.com> - 3.0.1-2 |
| 69 | - package reviewed by Peter Lemenkov <lemenkov@gmail.com> and Veeti Paananen | 67 | - package reviewed by Peter Lemenkov <lemenkov@gmail.com> and Veeti Paananen |
| 70 | <veeti.paananen@rojekti.fi> of Fedora Quality Assurance team | 68 | <veeti.paananen@rojekti.fi> of Fedora Quality Assurance team |
| 71 | 69 |