<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Cradicle Explorer</title>
    <link href="/css/bootstrap/bootstrap.min.css" rel="stylesheet">
    <style>
      .form-control-dark::placeholder {
          color: #aaa;
          opacity: 1;
      }
    </style>
    <link rel="stylesheet" href="/assets/fontawesome/css/all.min.css">
    <link rel="icon" type="image/png" href="/favicon.png">


                <link href="/css/dashboard.css" rel="stylesheet">
                </head>
                <body>
                <header class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow">
                  <a class="navbar-brand col-md-3 col-lg-2 me-0 px-3 fs-6" href="/">Cradicle Explorer</a>
                  <button class="navbar-toggler position-absolute d-md-none collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#sidebarMenu" aria-controls="sidebarMenu" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                  </button>
                  <form method="get" action="/cgi-bin/main" style="width:100%;"><input class="form-control form-control-dark w-100 rounded-0 border-0" type="text" name="q" placeholder="Search repos" aria-label="Search"></form>
                  <div class="navbar-nav flex-row">
                    <div class="nav-item text-nowrap">
                      <a class="nav-link px-3 active" href="/cgi-bin/repo?id=z3ZrnudcxzoWLwZiM7uaPJTSRf1qa">libmdbx</a>
                    </div>
                  </div>
                </header>
                <div class="container-fluid">
                  <div class="row">
                    <nav id="sidebarMenu" class="col-md-3 col-lg-2 d-md-block bg-dark sidebar collapse">
                      <div class="position-sticky pt-3 sidebar-sticky">
                        <ul class="nav flex-column">
                          <li class="nav-item">
                            <a class="nav-link" href="/cgi-bin/repo?id=z3ZrnudcxzoWLwZiM7uaPJTSRf1qa">
                              <i class="align-text-bottom fa-solid fa-info"></i>
                              Info
                            </a>
                          </li>
                          <li class="nav-item">
                            <a class="nav-link" href="/cgi-bin/repo?id=z3ZrnudcxzoWLwZiM7uaPJTSRf1qa&issue=list">
                              <i class="align-text-bottom fa-solid fa-layer-group"></i>
                              Issues
                            </a>
                          </li>
                          <li class="nav-item">
                            <a class="nav-link" href="/cgi-bin/repo?id=z3ZrnudcxzoWLwZiM7uaPJTSRf1qa&patch=list">
                              <i class="align-text-bottom fa-solid fa-vest-patches"></i>
                              Patches
                            </a>
                          </li>
                          <li class="nav-item">
                            <a class="nav-link" href="/cgi-bin/repo?id=z3ZrnudcxzoWLwZiM7uaPJTSRf1qa&wallet=list">
                              <i class="align-text-bottom fa-solid fa-wallet"></i>
                              Wallets
                            </a>
                          </li>
                          <li class="nav-item">
                            <a class="nav-link active" href="/cgi-bin/repo?id=z3ZrnudcxzoWLwZiM7uaPJTSRf1qa&source=.">
                              <i class="align-text-bottom fa-solid fa-code"></i>
                              Source
                            </a>
                          </li>
                        <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted text-uppercase">
                          <span></span>
                        </h6>
                        <ul class="nav flex-column mb-2">
                        
    <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-1 mb-1 text-muted text-uppercase">
      <span>Source</span>
    </h6>
    <li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3ZrnudcxzoWLwZiM7uaPJTSRf1qa&source=.gitea"><i class="fa-solid fa-folder" style="color:#f0c040;"></i> .gitea</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3ZrnudcxzoWLwZiM7uaPJTSRf1qa&file=.abf.yml"><i class="fa-solid fa-file" style="color:#888;"></i> .abf.yml</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3ZrnudcxzoWLwZiM7uaPJTSRf1qa&file=.gitignore"><i class="fa-solid fa-file" style="color:#888;"></i> .gitignore</a></li><li><a class="nav-link py-0" style="padding-left:16px;" href="/cgi-bin/repo?id=z3ZrnudcxzoWLwZiM7uaPJTSRf1qa&file=libmdbx.rpmlintrc"><i class="fa-solid fa-file" style="color:#888;"></i> libmdbx.rpmlintrc</a></li><li><a class="nav-link py-0 active" style="padding-left:16px;" href="/cgi-bin/repo?id=z3ZrnudcxzoWLwZiM7uaPJTSRf1qa&file=libmdbx.spec"><i class="fa-solid fa-file" style="color:#888;"></i> libmdbx.spec</a></li>
    
                        </ul>
                      </div>
                    </nav>
                <main class="col-md-9 ms-sm-auto col-lg-10">
                  <div class="container px-1 py-3">
        
<div class="mb-2" style="font-size:1.1rem;"><a href="/cgi-bin/repo?id=z3ZrnudcxzoWLwZiM7uaPJTSRf1qa&source=.">/</a> libmdbx.spec</div>
        <div class="list-group">
        <div class="list-group-item">
        <div class="mb-2" style="font-weight:bold;"><i class="fa-solid fa-file"></i> libmdbx.spec</div>
        <pre style="margin:0; font-size:0.85rem; overflow-x:auto; color:#fafafa;"><span style="color:#666; user-select:none;"> 1</span>  %define	pkgname mdbx
<span style="color:#666; user-select:none;"> 2</span>  %define	libname %mklibname %{pkgname}
<span style="color:#666; user-select:none;"> 3</span>  %define	devname %mklibname %{pkgname} -d
<span style="color:#666; user-select:none;"> 4</span>  %define	sdevname %mklibname %{pkgname} -d -s
<span style="color:#666; user-select:none;"> 5</span>  
<span style="color:#666; user-select:none;"> 6</span>  %global _compress xz -0f
<span style="color:#666; user-select:none;"> 7</span>  
<span style="color:#666; user-select:none;"> 8</span>  Name:		libmdbx
<span style="color:#666; user-select:none;"> 9</span>  Version:	0.13.12
<span style="color:#666; user-select:none;">10</span>  Release:	1
<span style="color:#666; user-select:none;">11</span>  Summary:	A fastest embeddable key-value ACID database without WAL
<span style="color:#666; user-select:none;">12</span>  URL:		https://libmdbx.dqdkfa.ru
<span style="color:#666; user-select:none;">13</span>  Source0:	https://libmdbx.dqdkfa.ru/release/%{name}-amalgamated-%{version}.tar.xz
<span style="color:#666; user-select:none;">14</span>  Source1000:	%{name}.rpmlintrc
<span style="color:#666; user-select:none;">15</span>  License:	ASL 2.0
<span style="color:#666; user-select:none;">16</span>  Group:		Databases
<span style="color:#666; user-select:none;">17</span>  BuildRequires:	xz
<span style="color:#666; user-select:none;">18</span>  BuildRequires:	cmake
<span style="color:#666; user-select:none;">19</span>  BuildRequires:	git-core
<span style="color:#666; user-select:none;">20</span>  BuildRequires:  mold
<span style="color:#666; user-select:none;">21</span>  
<span style="color:#666; user-select:none;">22</span>  %description
<span style="color:#666; user-select:none;">23</span>  libmdbx is an extremely fast, compact, powerful, embedded, 
<span style="color:#666; user-select:none;">24</span>  transactional key-value database, with Apache 2.0 license. 
<span style="color:#666; user-select:none;">25</span>  libmdbx has a specific set of properties and capabilities, 
<span style="color:#666; user-select:none;">26</span>  focused on creating unique lightweight solutions.
<span style="color:#666; user-select:none;">27</span>  
<span style="color:#666; user-select:none;">28</span>  %prep
<span style="color:#666; user-select:none;">29</span>  %setup -q -c %{name}-%{version}
<span style="color:#666; user-select:none;">30</span>  sed -i &#x27;s/тысяча/thousand/g&#x27; ut_and_examples/example-mdbx.c
<span style="color:#666; user-select:none;">31</span>  sed -i &#x27;s/тысяча/thousand/g&#x27; ut_and_examples/example-mdbx.c++
<span style="color:#666; user-select:none;">32</span>  
<span style="color:#666; user-select:none;">33</span>  
<span style="color:#666; user-select:none;">34</span>  %build
<span style="color:#666; user-select:none;">35</span>  %cmake \
<span style="color:#666; user-select:none;">36</span>  	-DCMAKE_BUILD_TYPE=Release \
<span style="color:#666; user-select:none;">37</span>  	-DBUILD_SHARED_LIBS:BOOL=ON \
<span style="color:#666; user-select:none;">38</span>  	-DBUILD_STATIC_LIBS:BOOL=ON \
<span style="color:#666; user-select:none;">39</span>  	-DMDBX_ENABLE_TESTS=ON \
<span style="color:#666; user-select:none;">40</span>  	-DMDBX_INSTALL_STATIC:BOOL=ON \
<span style="color:#666; user-select:none;">41</span>  	-DMDBX_LINK_TOOLS_NONSTATIC:BOOL=ON \
<span style="color:#666; user-select:none;">42</span>      -DCMAKE_EXE_LINKER_FLAGS=&quot;-Wl,-rpath-link=/%{_lib} -Wl,-rpath-link=%{_libdir} -B/usr/bin/mold&quot;
<span style="color:#666; user-select:none;">43</span>  
<span style="color:#666; user-select:none;">44</span>  #    -DCMAKE_CXX_FLAGS=&quot;-finput-charset=UTF-8 -fexec-charset=UTF-8&quot; \
<span style="color:#666; user-select:none;">45</span>  #    -DCMAKE_C_FLAGS=&quot;-finput-charset=UTF-8 -fexec-charset=UTF-8&quot;
<span style="color:#666; user-select:none;">46</span>  
<span style="color:#666; user-select:none;">47</span>  %make
<span style="color:#666; user-select:none;">48</span>  
<span style="color:#666; user-select:none;">49</span>  %install
<span style="color:#666; user-select:none;">50</span>  %makeinstall -C build DESTDIR=%{buildroot}
<span style="color:#666; user-select:none;">51</span>  
<span style="color:#666; user-select:none;">52</span>  %package tools
<span style="color:#666; user-select:none;">53</span>  Summary:  Tools for %{name}
<span style="color:#666; user-select:none;">54</span>  Provides: %{pkgname}-tools == %{EVRD}
<span style="color:#666; user-select:none;">55</span>  
<span style="color:#666; user-select:none;">56</span>  %files tools
<span style="color:#666; user-select:none;">57</span>  %doc LICENSE
<span style="color:#666; user-select:none;">58</span>  %{_bindir}/*
<span style="color:#666; user-select:none;">59</span>  
<span style="color:#666; user-select:none;">60</span>  %package docs
<span style="color:#666; user-select:none;">61</span>  Summary: Documents and manuals for %{name}
<span style="color:#666; user-select:none;">62</span>  
<span style="color:#666; user-select:none;">63</span>  %files docs
<span style="color:#666; user-select:none;">64</span>  %doc README.md LICENSE
<span style="color:#666; user-select:none;">65</span>  %{_mandir}/man1/*
<span style="color:#666; user-select:none;">66</span>  
<span style="color:#666; user-select:none;">67</span>  %package -n %{devname}
<span style="color:#666; user-select:none;">68</span>  Summary: Development files for %{name}
<span style="color:#666; user-select:none;">69</span>  Provides: %{pkgname}-devel == %{EVRD}
<span style="color:#666; user-select:none;">70</span>  
<span style="color:#666; user-select:none;">71</span>  %files -n %{devname}
<span style="color:#666; user-select:none;">72</span>  %doc README.md LICENSE
<span style="color:#666; user-select:none;">73</span>  %{_includedir}/*.h*
<span style="color:#666; user-select:none;">74</span>  %{_libdir}/*.so
<span style="color:#666; user-select:none;">75</span>  
<span style="color:#666; user-select:none;">76</span>  %package -n %{sdevname}
<span style="color:#666; user-select:none;">77</span>  Summary: Static library for %{name}
<span style="color:#666; user-select:none;">78</span>  Provides: %{pkgname}-static-devel == %{EVRD}
<span style="color:#666; user-select:none;">79</span>  Provides: %{name}-static-devel == %{EVRD}
<span style="color:#666; user-select:none;">80</span>  
<span style="color:#666; user-select:none;">81</span>  %files -n %{sdevname}
<span style="color:#666; user-select:none;">82</span>  %doc LICENSE
<span style="color:#666; user-select:none;">83</span>  %{_libdir}/*.a
<span style="color:#666; user-select:none;">84</span>  
<span style="color:#666; user-select:none;">85</span>  
<span style="color:#666; user-select:none;">86</span>  %check
<span style="color:#666; user-select:none;">87</span>  export LD_LIBRARY_PATH=%{buildroot}%{_libdir}:$LD_LIBRARY_PATH
<span style="color:#666; user-select:none;">88</span>  %make -C build test || true
</pre>
        </div>
        </div>

</div>
</main>
</div>
</div>


</body>
</html>

