File: libvotca-tools0.spec

package info (click to toggle)
votca-tools 1.2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 13,352 kB
  • ctags: 64,112
  • sloc: cpp: 176,559; ansic: 42; sh: 11; makefile: 7
file content (98 lines) | stat: -rw-r--r-- 2,575 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#
# libvotca-tools0.spec
#
# Originally written by Jussi Lehtola <jussilehtola@fedoraproject.org>
# Fixed for multi-distro build by Klaus Kaempf <kkaempf@suse.de>
#
# Licensed under the Apache Software License (ASL 2.0)
#

Name:		libvotca-tools0
%define srcname votca-tools
Version:	1.0.1
Release:	1%{?dist}
Summary:	VOTCA tools library
%if 0%{?suse_version}
Group:          Productivity/Scientific/Chemistry
%else
Group:		Applications/Engineering
%endif
License:	ASL 2.0
URL:		http://www.votca.org
Source0:	http://votca.googlecode.com/files/%{srcname}-%{version}.tar.bz2

BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gcc-c++ libstdc++-devel
%if 0%{?suse_version}
BuildRequires:  pkg-config
BuildRequires:	libexpat-devel
BuildRequires:	fftw3-devel
%else
BuildRequires:  pkgconfig
BuildRequires:	fftw-devel
BuildRequires:	expat-devel
%endif
BuildRequires:	gsl-devel
BuildRequires:	boost-devel

%description
Versatile Object-oriented Toolkit for Coarse-graining Applications (VOTCA) is
a package intended to reduce the amount of routine work when doing systematic
coarse-graining of various systems. The core is written in C++.

This package contains the basic tools library of VOTCA package.

%package devel
Summary:	Development headers and libraries for votca-tools
%if 0%{?suse_version}
Group:          Development/Libraries/C and C++
%else
Group:		Development/Libraries
%endif
Requires:	%{name} = %{version}-%{release}

%description devel
Versatile Object-oriented Toolkit for Coarse-graining Applications (VOTCA) is
a package intended to reduce the amount of routine work when doing systematic
coarse-graining of various systems. The core is written in C++.

This package contains development headers and libraries for votca-tools.

%prep
%setup -q -n %{srcname}-%{version}
# Get rid of bundled versions of boost and expat
rm -rf src/libboost
rm -rf src/libexpat
autoreconf -f -i

%build
%configure --disable-static --disable-la-files --disable-rc-files
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc CHANGELOG LICENSE NOTICE
%{_libdir}/libvotca_tools.so.*

%files devel
%defattr(-,root,root,-)
%{_includedir}/votca/
%{_libdir}/libvotca_tools.so
%{_libdir}/pkgconfig/libvotca_tools.pc

%changelog
* Thu Nov 30 2010 Christoph Junghans <junghans@votca.org> - 1.0.1-1
- Minor cleanup.
* Thu Nov 25 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 1.0-1
- First release.