]> git.pld-linux.org Git - packages/Mird.git/commitdiff
- new master
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 1 May 2007 18:01:29 +0000 (18:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Mird.spec -> 1.1

Mird.spec [new file with mode: 0644]

diff --git a/Mird.spec b/Mird.spec
new file mode 100644 (file)
index 0000000..aef6c2c
--- /dev/null
+++ b/Mird.spec
@@ -0,0 +1,94 @@
+Summary:       Mird - low-level database library
+Summary(pl.UTF-8):     Mird - niskopoziomowa biblioteka baz danych
+Name:          Mird
+Version:       1.0.7
+Release:       1
+License:       BSD-like (see LICENSE)
+Group:         Libraries
+Source0:       http://www.mirar.org/mird/%{name}-%{version}.tar.gz
+# Source0-md5: 0f077b7ae0f0b118edbbe34fd8fe84e9
+Patch0:                %{name}-opt.patch
+Patch1:                %{name}-soname.patch
+URL:           http://www.mirar.org/mird/
+BuildRequires: autoconf
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# many, many warnings
+%define                specflags       -fno-strict-aliasing
+
+%description
+Mird is a database library, for operating on simple disk-based
+databases.
+
+%description -l pl.UTF-8
+Mird to biblioteka baz danych do operowania na prostych bazach
+przechowywanych na dysku.
+
+%package devel
+Summary:       Header files for Mird library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki Mird
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for Mird library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki Mird.
+
+%package static
+Summary:       Static Mird library
+Summary(pl.UTF-8):     Statyczna biblioteka Mird
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static Mird library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka Mird.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+
+tail -n +30 docs/tutorial.txt | head -n 44 > README
+tail -n +128 docs/tutorial.txt | head -n 55 > LICENSE
+
+%build
+cd src
+%{__autoconf}
+cd ..
+# don't run autoconf in main dir, too much hackery
+%configure2_13
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_prefix}
+
+%{__make} install \
+       lib_prefix=$RPM_BUILD_ROOT%{_libdir} \
+       includedir=$RPM_BUILD_ROOT%{_includedir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README LICENSE
+%attr(755,root,root) %{_libdir}/libmird.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%doc docs/*.html
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_includedir}/mird.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libmird.a
This page took 0.089302 seconds and 4 git commands to generate.