diff --git a/avrdude.spec b/avrdude.spec index 6d63aaf..17f8e6a 100644 --- a/avrdude.spec +++ b/avrdude.spec @@ -1,5 +1,5 @@ Name: avrdude -Version: 6.1 +Version: 6.2 Release: 1mamba Summary: AVR Downloader/UploaDEr Group: System/Tools @@ -20,12 +20,30 @@ BuildRequires: libusb-compat-devel BuildRequires: libusbx-devel ## AUTOBUILDREQ-END BuildRequires: libftdi1-devel >= 1.1 +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires(post): %{__install_info} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description AVRDUDE is an utility to download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers using the in-system programming technique (ISP). +%package -n lib%{name} +Summary: %{name} libraries +Group: System/Libraries + +%description -n lib%{name} +AVRDUDE is an utility to download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers using the in-system programming technique (ISP). +This package contains the %{name} shared libraries. + +%package -n lib%{name}-devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +AVRDUDE is an utility to download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers using the in-system programming technique (ISP). +This package contains static libraries and header files need for development. + %prep %setup -q @@ -51,6 +69,9 @@ exit 0 %uninstall_info %{name}.info exit 0 +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + %files %defattr(-,root,root) %{_bindir}/avrdude @@ -59,7 +80,21 @@ exit 0 %{_infodir}/*.info.* %doc AUTHORS COPYING ChangeLog* NEWS README +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libavrdude.so.* + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_includedir}/libavrdude.h +%{_libdir}/libavrdude.a +%{_libdir}/libavrdude.la +%{_libdir}/libavrdude.so + %changelog +* Tue Dec 08 2015 Automatic Build System 6.2-1mamba +- automatic version update by autodist + * Sun Apr 06 2014 Automatic Build System 6.1-1mamba - automatic version update by autodist