]> git.pld-linux.org Git - packages/openqube.git/blob - openqube.spec
c31326dc1d579bbea9a039a737ee3b2165afced7
[packages/openqube.git] / openqube.spec
1 Summary:        OpenQube - library for reading quantum chemistry data files
2 Summary(pl.UTF-8):      OpenQube - biblioteka do odczytu plików danych chemii kwantowej
3 Name:           openqube
4 Version:        0.1.0
5 Release:        1
6 License:        BSD
7 Group:          Libraries
8 Source0:        https://github.com/OpenChemistry/openqube/archive/%{version}.tar.gz
9 # Source0-md5:  c7939f66b0ab8311e5482cd93aa44ef4
10 Patch0:         %{name}-lib.patch
11 URL:            http://wiki.openchemistry.org/OpenQube
12 BuildRequires:  QtCore-devel >= 4.6
13 BuildRequires:  cmake >= 2.8
14 BuildRequires:  eigen >= 2
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  qt4-build >= 4.6
17 BuildRequires:  rpmbuild(macros) >= 1.605
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 OpenQube is an open-source C++ library for reading quantum chemistry
22 data files, and calculating volumetric data such as molecular orbitals
23 and electron densities.
24
25 %description -l pl.UTF-8
26 OpenQube to mająca otwarte źródła biblioteka C++ do odczytu plików
27 danych chemii kwantowej oraz obliczania danych objętościowych, takich
28 jak orbitale cząsteczek i gęstości elektronów.
29
30 %package devel
31 Summary:        Header files for OpenQube library
32 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki OpenQube
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35 Requires:       QtCore-devel >= 4.6
36 Requires:       eigen >= 2
37
38 %description devel
39 Header files for OpenQube library.
40
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe biblioteki OpenQube.
43
44 %prep
45 %setup -q
46 %patch0 -p1
47
48 %build
49 %cmake .
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %post   -p /sbin/ldconfig
62 %postun -p /sbin/ldconfig
63
64 %files
65 %defattr(644,root,root,755)
66 %doc COPYING
67 %attr(755,root,root) %{_libdir}/libOpenQube.so.*.*.*
68 %attr(755,root,root) %ghost %{_libdir}/libOpenQube.so.0
69
70 %files devel
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_libdir}/libOpenQube.so
73 %{_includedir}/openqube
74 %{_libdir}/cmake/openqube
This page took 0.068385 seconds and 2 git commands to generate.