ALT Linux repositórios
Group :: Sistema/Bibliotecas
RPM: libezV24
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define oname ezV24
Name: libezV24
Version: 0.1.1
Release: alt3.qa1
Summary: Serial ports interface library
License: LGPL
Group: System/Libraries
Url: http://ezV24.sourceforge.net
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://prdownloads.sf.net/%oname/%name-%version.tar.bz2
Patch: %name-0.1.1-alt-makefile.patch
%description
%name library provides a easy to use interface to the serial ports of the
linux system.
%package devel
Summary: Header files and libraries for %name development
Group: Development/C
Requires: %name = %version-%release
%description devel
%name libary provides a easy to use interface to the serial ports of the
linux system.
This package provides the header files and libraries
needed for %name development.
%prep
%setup -q
%patch -p1
%__subst "s|%oname/%oname|%oname|g" test-v24.c
%__subst "s|/lib/|/%_lib/|g" Makefile
%build
%make
%install
%makeinstall_std
install -pD test-v24 %buildroot%_bindir/test-v24
rm -f %buildroot%_libdir/*.a
%files
%_libdir/*.so.*
%files devel
%_bindir/test-v24
%_includedir/ezV24/
%_libdir/*.so
%doc README api-html
%changelog
…
Todas as alterações você pod ver aqui
Name: libezV24
Version: 0.1.1
Release: alt3.qa1
Summary: Serial ports interface library
License: LGPL
Group: System/Libraries
Url: http://ezV24.sourceforge.net
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://prdownloads.sf.net/%oname/%name-%version.tar.bz2
Patch: %name-0.1.1-alt-makefile.patch
%description
%name library provides a easy to use interface to the serial ports of the
linux system.
%package devel
Summary: Header files and libraries for %name development
Group: Development/C
Requires: %name = %version-%release
%description devel
%name libary provides a easy to use interface to the serial ports of the
linux system.
This package provides the header files and libraries
needed for %name development.
%prep
%setup -q
%patch -p1
%__subst "s|%oname/%oname|%oname|g" test-v24.c
%__subst "s|/lib/|/%_lib/|g" Makefile
%build
%make
%install
%makeinstall_std
install -pD test-v24 %buildroot%_bindir/test-v24
rm -f %buildroot%_libdir/*.a
%files
%_libdir/*.so.*
%files devel
%_bindir/test-v24
%_includedir/ezV24/
%_libdir/*.so
%doc README api-html
%changelog
…
Todas as alterações você pod ver aqui