#--- FINISH THIS ---# Summary: C++ Utility to make programing easer. Name: @PACKAGE@ Version: @VERSION@ Release: 1 License: LGPL Group: System Environment/Libraries Packager: Akito Nozaki URL: http://www.tanoshi.net/ Source0: http://www.tanoshi.net/sources/libtanoshi/0.1/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description This library implements some useful tools for c++ programers. This class is LGPL to allow people to use this library under working enviroment. %package devel Summary: Development tools for the Tanoshi C++ Utility library Group: Development/Libraries Requires: %name = %version %description devel The %name-devel package contains the static libraries and header files needed for development with %name. %package examples Summary: Examples and tests for the Tanoshi C++ Utility Group: Development/Libraries Requires: %name-devel = %version %description examples The %name-devel package contains source code of example and test programs for %name. %prep %setup -q %build ./configure --prefix=/usr make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install mkdir -p -m 755 $RPM_BUILD_ROOT/%{_libdir}/libtanoshi-0.1 cp -a tests $RPM_BUILD_ROOT/%{_libdir}/libtanoshi-0.1 %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_libdir}/libtanoshi*.so* #%doc /usr/share/doc/libtanoshi-0.1 %files devel %{_includedir}/libtanoshi-0.1 %{_libdir}/pkgconfig/* %{_libdir}/libtanoshi*.a %{_libdir}/libtanoshi*.la %dir %{_libdir}/libtanoshi-0.1 %files examples %{_libdir}/libtanoshi-0.1/tests %changelog * Wed Feb 2 2005 Akito Nozaki - 0.1-1 - Initial build.