ALT Linux repositórios
Group :: Sistema/Bibliotecas
RPM: libezV24
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _name ezV24
Name: lib%_name
Version: 0.1.1
Release: alt1
Summary: Serial ports interface library
License: GPL
Group: System/Libraries
Url: http://%_name.sourceforge.net
Source: http://prdownloads.sourceforge.net/%_name/%name-%version.tar.gz
Patch: %name-0.1.1-alt-makefile.patch
%description
%name libary 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
%__mkdir %_name
%__ln_s ../%_name.h %_name/%_name.h
%build
%make
%install
%make_install DESTDIR=%buildroot install
%__install -pD test-v24 %buildroot%_bindir/test-v24
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/*.so.*
%files devel
%_bindir/*
%_includedir/*
%_libdir/*.so
%doc api-html
%changelog
…
Todas as alterações você pod ver aqui
Name: lib%_name
Version: 0.1.1
Release: alt1
Summary: Serial ports interface library
License: GPL
Group: System/Libraries
Url: http://%_name.sourceforge.net
Source: http://prdownloads.sourceforge.net/%_name/%name-%version.tar.gz
Patch: %name-0.1.1-alt-makefile.patch
%description
%name libary 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
%__mkdir %_name
%__ln_s ../%_name.h %_name/%_name.h
%build
%make
%install
%make_install DESTDIR=%buildroot install
%__install -pD test-v24 %buildroot%_bindir/test-v24
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/*.so.*
%files devel
%_bindir/*
%_includedir/*
%_libdir/*.so
%doc api-html
%changelog
…
Todas as alterações você pod ver aqui