diff options
author | mis | 2000-09-25 00:00:09 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 2bb9d31a5b1a66f737de6e0f28307580df837cff (patch) | |
tree | 071e685282acd12d2099e163fdf7f2f6da6c1e81 | |
download | trurlib-2bb9d31a5b1a66f737de6e0f28307580df837cff.zip trurlib-2bb9d31a5b1a66f737de6e0f28307580df837cff.tar.gz |
- initial version
Changed files:
trurlib.spec -> 1.1
-rw-r--r-- | trurlib.spec | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/trurlib.spec b/trurlib.spec new file mode 100644 index 0000000..834d72b --- /dev/null +++ b/trurlib.spec @@ -0,0 +1,53 @@ +Summary: Some useful data structures and routines +Name: trurlib +Version: 0.42 +Release: 1 +License: LGPL +Group: Development/Libraries +Group(pl): Programowanie/Biblioteki +Source: %{name}-%{version}.tar.gz +BuildRoot: /tmp/%{name}-%{version}-root-%(id -u -n) + +%description +Library contains some useful data structures and routines: +dynamic array and linked list with Perl-like interface, +hash table, some string functions, xmalloc()s +and other n stuff. + +%package devel +Summary: Static library and header files of trurlib +Group: Development/Libraries +Group(pl): Programowanie/Biblioteki +Requires: %{name} = %{version} + +%description devel +Static library and header files of trurlib + +%prep +%setup -q + +%build +CFLAGS="$RPM_OPT_FLAGS -fomit-frame-pointer -DNDEBUG" +make static modules=on CFLAGS="$CFLAGS" +make shared modules=on without_dbhash=1 CFLAGS="$CFLAGS" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_prefix} +make install DESTDIR=$RPM_BUILD_ROOT%{_prefix} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/lib*.so.* + +%files devel +%defattr(644,root,root,755) +%attr(644,root,root) %{_libdir}/lib*.a +%attr(644,root,root) %{_libdir}/lib*.so +%{_includedir}/trurl + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig |