Group :: Desenvolvimento/Outros
RPM: libsieve
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: libsieve
Version: 2.2.5
Release: alt1
Summary: Standalone library providing an interpreter for RFC 3028 Sieve and various extensions
License: CMU and LGPL
Group: Development/Other
Packager: Eugene Prokopiev <enp at altlinux.ru>
URL: http://libsieve.sf.net/
Source: %name-%version.tar.gz
%package -n %name-devel
Summary: Standalone library providing an interpreter for RFC 3028 Sieve and various extensions
License: CMU and LGPL
Group: Development/Other
Requires: %name = %version-%release
%package -n %name-devel-static
Summary: Standalone library providing an interpreter for RFC 3028 Sieve and various extensions
License: CMU and LGPL
Group: Development/Other
Requires: %name-devel = %version-%release
%description
This is a standalone library providing an interpreter for RFC 3028 Sieve
and various extensions. It is based upon code distributed with the Cyrus Mail
Server prior to CMU's switch to a more restrictive license. The libSieve API
attempts to be easy to use and extensible, and replaces the more rigid API in
the Cyrus Sieve implementation.
%description -n %name-devel
This is a standalone library providing an interpreter for RFC 3028 Sieve
and various extensions. It is based upon code distributed with the Cyrus Mail
Server prior to CMU's switch to a more restrictive license. The libSieve API
attempts to be easy to use and extensible, and replaces the more rigid API in
the Cyrus Sieve implementation.
%description -n %name-devel-static
This is a standalone library providing an interpreter for RFC 3028 Sieve
and various extensions. It is based upon code distributed with the Cyrus Mail
Server prior to CMU's switch to a more restrictive license. The libSieve API
attempts to be easy to use and extensible, and replaces the more rigid API in
the Cyrus Sieve implementation.
%prep
%setup
%build
cd libsieve2/src
./bootstrap
%configure
%make_build
%install
# adjust $RPM_BUILD for install
mkdir -p %buildroot/%_includedir
mkdir -p %buildroot/%_libdir
mkdir -p %buildroot/%_docdir/%name-%version
# package docs
cd libsieve2
install -m 0644 AUTHORS %buildroot/%_docdir/%name-%version
install -m 0644 COPYING %buildroot/%_docdir/%name-%version
install -m 0644 NEWS %buildroot/%_docdir/%name-%version
install -m 0644 README %buildroot/%_docdir/%name-%version
# make install
cd src
%makeinstall
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/%name.so.?*
%doc %_docdir/%name-%version/*
%files -n %name-devel
%_includedir/*.h
%_libdir/%name.so
%files -n %name-devel-static
%_libdir/%name.a
%changelog
…
Todas as alterações você pod ver aqui
Version: 2.2.5
Release: alt1
Summary: Standalone library providing an interpreter for RFC 3028 Sieve and various extensions
License: CMU and LGPL
Group: Development/Other
Packager: Eugene Prokopiev <enp at altlinux.ru>
URL: http://libsieve.sf.net/
Source: %name-%version.tar.gz
%package -n %name-devel
Summary: Standalone library providing an interpreter for RFC 3028 Sieve and various extensions
License: CMU and LGPL
Group: Development/Other
Requires: %name = %version-%release
%package -n %name-devel-static
Summary: Standalone library providing an interpreter for RFC 3028 Sieve and various extensions
License: CMU and LGPL
Group: Development/Other
Requires: %name-devel = %version-%release
%description
This is a standalone library providing an interpreter for RFC 3028 Sieve
and various extensions. It is based upon code distributed with the Cyrus Mail
Server prior to CMU's switch to a more restrictive license. The libSieve API
attempts to be easy to use and extensible, and replaces the more rigid API in
the Cyrus Sieve implementation.
%description -n %name-devel
This is a standalone library providing an interpreter for RFC 3028 Sieve
and various extensions. It is based upon code distributed with the Cyrus Mail
Server prior to CMU's switch to a more restrictive license. The libSieve API
attempts to be easy to use and extensible, and replaces the more rigid API in
the Cyrus Sieve implementation.
%description -n %name-devel-static
This is a standalone library providing an interpreter for RFC 3028 Sieve
and various extensions. It is based upon code distributed with the Cyrus Mail
Server prior to CMU's switch to a more restrictive license. The libSieve API
attempts to be easy to use and extensible, and replaces the more rigid API in
the Cyrus Sieve implementation.
%prep
%setup
%build
cd libsieve2/src
./bootstrap
%configure
%make_build
%install
# adjust $RPM_BUILD for install
mkdir -p %buildroot/%_includedir
mkdir -p %buildroot/%_libdir
mkdir -p %buildroot/%_docdir/%name-%version
# package docs
cd libsieve2
install -m 0644 AUTHORS %buildroot/%_docdir/%name-%version
install -m 0644 COPYING %buildroot/%_docdir/%name-%version
install -m 0644 NEWS %buildroot/%_docdir/%name-%version
install -m 0644 README %buildroot/%_docdir/%name-%version
# make install
cd src
%makeinstall
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/%name.so.?*
%doc %_docdir/%name-%version/*
%files -n %name-devel
%_includedir/*.h
%_libdir/%name.so
%files -n %name-devel-static
%_libdir/%name.a
%changelog
…
Todas as alterações você pod ver aqui