Group :: Desenvolvimento/C
RPM: libesedb
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Group: Other
%add_optflags %optflags_shared
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: libesedb
Version: 20120102
Release: alt2_11
Summary: Library to access the Extensible Storage Engine (ESE) Database File (EDB) format
License: GPLv3+
#URL: http://code.google.com/p/libesedb/
URL: https://github.com/libyal/libesedb
#Tarball for version 20120102 no longer available from googlecode.com and the
#new site on github doesn't have this ersion tagged as release
#https://github.com/libyal/libesedb/commit/49017c644da85bd7c6df50a3da94b500cf14dbc9
Source0: http://libesedb.googlecode.com/files/%{name}-alpha-%{version}.tar.gz
#Patch backpoerted from newer experimental versions on
Patch0: %{name}-inline.patch
%description
Library and tools to access the Extensible Storage Engine (ESE) Database File
(EDB) format. ESEDB is used in may different applications like Windows Search,
Windows Mail, Exchange, Active Directory, etc.
%package devel
Group: Other
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%patch0 -b .inline -p 1
%build
%configure --disable-static
%make_build
%install
make install DESTDIR=%{buildroot}
find %{buildroot} -name '*.la' -exec rm -f {} ';'
%files
%doc COPYING AUTHORS
%{_libdir}/*.so.*
%{_bindir}/esedbexport
%{_bindir}/esedbinfo
%{_mandir}/man1/esedbinfo.1.*
%{_mandir}/man3/libesedb.3.*
%files devel
%doc
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/libesedb.pc
%changelog
…
Todas as alterações você pod ver aqui
%add_optflags %optflags_shared
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: libesedb
Version: 20120102
Release: alt2_11
Summary: Library to access the Extensible Storage Engine (ESE) Database File (EDB) format
License: GPLv3+
#URL: http://code.google.com/p/libesedb/
URL: https://github.com/libyal/libesedb
#Tarball for version 20120102 no longer available from googlecode.com and the
#new site on github doesn't have this ersion tagged as release
#https://github.com/libyal/libesedb/commit/49017c644da85bd7c6df50a3da94b500cf14dbc9
Source0: http://libesedb.googlecode.com/files/%{name}-alpha-%{version}.tar.gz
#Patch backpoerted from newer experimental versions on
Patch0: %{name}-inline.patch
%description
Library and tools to access the Extensible Storage Engine (ESE) Database File
(EDB) format. ESEDB is used in may different applications like Windows Search,
Windows Mail, Exchange, Active Directory, etc.
%package devel
Group: Other
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%patch0 -b .inline -p 1
%build
%configure --disable-static
%make_build
%install
make install DESTDIR=%{buildroot}
find %{buildroot} -name '*.la' -exec rm -f {} ';'
%files
%doc COPYING AUTHORS
%{_libdir}/*.so.*
%{_bindir}/esedbexport
%{_bindir}/esedbinfo
%{_mandir}/man1/esedbinfo.1.*
%{_mandir}/man3/libesedb.3.*
%files devel
%doc
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/libesedb.pc
%changelog
…
Todas as alterações você pod ver aqui