SPECS: Mird.spec (NEW) - new

qboosh qboosh at pld-linux.org
Tue May 1 20:01:34 CEST 2007


Author: qboosh                       Date: Tue May  1 18:01:34 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   Mird.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/Mird.spec
diff -u /dev/null SPECS/Mird.spec:1.1
--- /dev/null	Tue May  1 20:01:34 2007
+++ SPECS/Mird.spec	Tue May  1 20:01:29 2007
@@ -0,0 +1,104 @@
+# $Revision$, $Date$
+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
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/05/01 18:01:29  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list