Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
limal-ca-mgm
limal-ca-mgm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File limal-ca-mgm.spec of Package limal-ca-mgm
# # spec file for package limal-ca-mgm # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: limal-ca-mgm Version: 1.6.7 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: limal-ca-mgm-1.6.7.tar.bz2 Source1: testresult-dif.tar.bz2 Prefix: /usr %define swiglibdir /usr/share/limal/typemaps BuildRequires: curl BuildRequires: gcc-c++ BuildRequires: limal-devel BuildRequires: limal-devtools BuildRequires: limal-perl BuildRequires: perl-gettext BuildRequires: sgml-skel BuildRequires: translation-update-upstream %if 0%{?suse_version} >= 1030 BuildRequires: libopenssl-devel BuildRequires: openssl Requires: openssl %else BuildRequires: openssl-devel %endif %if 0%{?fedora_version} BuildRequires: openssl-perl Requires: openssl-perl %endif %if 0%{?fedora_version} >= 7 BuildRequires: perl-ExtUtils-Embed %endif Summary: LiMaL--CA Management Library License: GPL-2.0+ Group: Development/Libraries/C and C++ Url: http://svn.opensuse.org/viewvc/limal/ %description The LiMaL CA Management Library provides methods for managing a certificate authority. %package devel Requires: limal-ca-mgm = %version Requires: limal-devel Requires: openssl-devel Summary: LiMaL - CA Management Library Development Files Group: Development/Libraries/C and C++ %if 0%{?suse_version} >= 1030 Requires: libopenssl-devel %endif %description devel The LiMaL CA Management Library provides methods for managing a Certificate Authority. This package includes the header files and development documentation. %package perl Requires: limal-perl %if 0%{?fedora_version} >= 7 Requires: perl(:MODULE_COMPAT_%(eval"`%{__perl}-V:version`";echo$version)) %else Requires: perl = %{perl_version} %endif Summary: LiMaL - CA Management Library Perl Bindings Group: Development/Libraries/Perl %description perl The LiMaL CA Management Library provides methods for managing a Certificate Authority. This package provides the perl bindings to the CA Management Library. %prep %setup -n limal-ca-mgm-1.6.7 translation-update-upstream %if 0%{?suse_version} >= 1203 cd testsuite/ tar xfv %{S:1} cd .. %endif %build %{prefix}/bin/limaltool limalautoconf %{prefix}/bin/limaltool limalautomake autoreconf --force --install --verbose export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG" %{?suse_update_config:%{suse_update_config -f}} # workaround for fedora gettext check on x86_64 sed -i -e 's/return (int) gettext/return (long) gettext/g' ./configure ./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} \ --sysconfdir=/etc --localstatedir=/var make %{?jobs:-j%jobs} %install make install DESTDIR="$RPM_BUILD_ROOT" [ -e "%{prefix}/share/limal/devtools/NO_MAKE_CHECK" ] || \ LIMALDATADIR="$RPM_BUILD_ROOT/usr/share/limal" \ # required for perl test cases export LD_LIBRARY_PATH="$RPM_BUILD_ROOT/usr/lib/limal" # make check not fail. openssl has different output format # on different architectures so running a check complete # successfull is impossible make check DESTDIR="$RPM_BUILD_ROOT" ||: mkdir -p $RPM_BUILD_ROOT/var/lib/ install -d -m 0700 $RPM_BUILD_ROOT/var/lib/CAM install -d -m 0755 $RPM_BUILD_ROOT/var/lib/CAM/.cas/ install -m 0644 %{_builddir}/%{name}-%{version}/src/openssl.cnf.tmpl $RPM_BUILD_ROOT/var/lib/CAM/ %find_lang %name %post /sbin/ldconfig %postun /sbin/ldconfig %clean rm -rf "$RPM_BUILD_ROOT" %files -f %name.lang %defattr(-,root,root) %dir %{_libdir}/limal %attr(0700,root,root) %dir /var/lib/CAM %attr(0755,root,root) %dir /var/lib/CAM/.cas %config /var/lib/CAM/openssl.cnf.tmpl %{_libdir}/limal/lib*.so.* %files devel %defattr(-,root,root) %dir %{_libdir}/limal %{_libdir}/limal/lib*.so %{_libdir}/limal/lib*.la %dir %{_includedir}/limal/ca-mgm %{_includedir}/limal/ca-mgm/* %{_libdir}/pkgconfig/limal-ca-mgm.pc %doc %{_prefix}/share/doc/packages/limal-ca-mgm %files perl %defattr(-,root,root) %dir %{perl_vendorarch}/LIMAL %dir %{perl_vendorarch}/auto/LIMAL %dir %{perl_vendorarch}/auto/LIMAL/CaMgm/ %{perl_vendorarch}/auto/LIMAL/CaMgm/* %{perl_vendorarch}/LIMAL/*.pm %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor