1 Summary: Mird - low-level database library
2 Summary(pl.UTF-8): Mird - niskopoziomowa biblioteka baz danych
6 License: BSD-like (see LICENSE)
8 Source0: http://www.mirar.org/mird/%{name}-%{version}.tar.gz
9 # Source0-md5: 0f077b7ae0f0b118edbbe34fd8fe84e9
10 Patch0: %{name}-opt.patch
11 Patch1: %{name}-soname.patch
12 URL: http://www.mirar.org/mird/
13 BuildRequires: autoconf
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define specflags -fno-strict-aliasing
20 Mird is a database library, for operating on simple disk-based
23 %description -l pl.UTF-8
24 Mird to biblioteka baz danych do operowania na prostych bazach
25 przechowywanych na dysku.
28 Summary: Header files for Mird library
29 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Mird
30 Group: Development/Libraries
31 Requires: %{name} = %{version}-%{release}
34 Header files for Mird library.
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe biblioteki Mird.
40 Summary: Static Mird library
41 Summary(pl.UTF-8): Statyczna biblioteka Mird
42 Group: Development/Libraries
43 Requires: %{name}-devel = %{version}-%{release}
48 %description static -l pl.UTF-8
49 Statyczna biblioteka Mird.
56 tail -n +30 docs/tutorial.txt | head -n 44 > README
57 tail -n +128 docs/tutorial.txt | head -n 55 > LICENSE
63 # don't run autoconf in main dir, too much hackery
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT%{_prefix}
72 lib_prefix=$RPM_BUILD_ROOT%{_libdir} \
73 includedir=$RPM_BUILD_ROOT%{_includedir}
76 rm -rf $RPM_BUILD_ROOT
78 %post -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
82 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/libmird.so.1
87 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/lib*.so
93 %defattr(644,root,root,755)