[go: up one dir, main page]

Menu

[r989]: / libmona / libmona.spec.in  Maximize  Restore  History

Download this file

84 lines (64 with data), 2.0 kB

Name: libmona
Summary: Libmona is a library to provide basic image-IO and image processing functions.
Version: @LIBMONA_VERSION@
Release: 1
License: LGPL
Group: Development/Libraries
#URL: http://www.cbs.mpg.de/%{name}-%{version}.tar.gz
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Vendor: MPI for Human Cognitive and Brain Sciences

%description
Libmona encloses a collection of algorithms and data structures commonly used in morphomery for neurobiological applications. 
It is written in C++ in order to allow efficient programming techniques using an object-oriented approach.


%prep
%setup -q

%build
./configure --prefix=/usr 
make CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
make doc-install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT/usr/lib/%{name}/@LT_RELEASE@.@LT_CURRENT@/plugins/*.la
rm $RPM_BUILD_ROOT/usr/lib/%{name}/@LT_RELEASE@.@LT_CURRENT@/plugins/*.a

%clean
rm -rf $RPM_BUILD_ROOT


%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
/usr/lib/libmona-@LT_RELEASE@.so.*
/usr/lib/libmona/*

%defattr(-,root,root,-)
%doc /usr/doc/*

%package devel
Summary: The development files of the libmona library.
Group: Development/Libraries
Requires:  %{name} = %{version}

%description devel
The development files of the libmona library.

%files devel 
/usr/bin/libmona-config
/usr/lib/libmona.la
/usr/lib/libmona.a
/usr/lib/pkgconfig/libmona.pc
/usr/include/mona.hh
/usr/lib/libmona.so
/usr/share/aclocal/libmona.m4
/usr/include/libmona/

%package doc
Summary: The Libmona developers documentation
Group: Development/Libraries

%description doc
Documentation of the mona-library. 

%files doc
%doc /usr/share/doc/%{name}-%{version}/html
/usr/man/man3
%changelog
* Fri Apr  1 2005 Gert Wollny <wollnyatcbs.mpg.de> -
- Add default template parameters to 3DDatafield
- Change mesh loading code 

* Tue Feb  1 2005 Gert Wollny <wollnyatcbs.mpg.de> - 
- Initial build.