packages: openbabel/openbabel.spec - build wxWidgets-based GUI - csharp is ...
qboosh
qboosh at pld-linux.org
Sat Jan 29 15:58:17 CET 2011
Author: qboosh Date: Sat Jan 29 14:58:17 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- build wxWidgets-based GUI
- csharp is compiled now, but not installed
---- Files affected:
packages/openbabel:
openbabel.spec (1.34 -> 1.35)
---- Diffs:
================================================================
Index: packages/openbabel/openbabel.spec
diff -u packages/openbabel/openbabel.spec:1.34 packages/openbabel/openbabel.spec:1.35
--- packages/openbabel/openbabel.spec:1.34 Thu Jan 27 17:48:55 2011
+++ packages/openbabel/openbabel.spec Sat Jan 29 15:58:12 2011
@@ -1,6 +1,5 @@
# $Revision$, $Date$
# TODO:
-# - wxWidgets (cmake needs hacking to use wx-gtk2-unicode-config instead of wx-config)
# - install+package ruby, java, csharp bindings
Summary: A cross-platform chemistry program and library designed to convert file formats
Summary(pl.UTF-8): Międzyplatformowy program chemiczny i biblioteka do konwersji formatów plików
@@ -24,8 +23,11 @@
BuildRequires: rpm-perlprov
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.577
-#BuildRequires: wxGTK2-devel
+BuildRequires: wxGTK2-devel
BuildRequires: zlib-devel
+#BuildRequires: jdk
+#BuildRequires: mono-csharp
+#BuildRequires: ruby-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -55,6 +57,18 @@
%description devel -l pl.UTF-8
Pliki nagłówkowe dla OpenBabel.
+%package gui
+Summary: OpenBabel GUI
+Summary(pl.UTF-8): Graficzny interfejs użytkownika OpenBabel
+Group: X11/Applications/Science
+Requires: %{name} = %{version}-%{release}
+
+%description gui
+Graphical User Interface for OpenBabel.
+
+%description gui -l pl.UTF-8
+Graficzny interfejs użytkownika OpenBabel.
+
%package -n perl-Chemistry-OpenBabel
Summary: Perl binding for OpenBabel
Summary(pl.UTF-8): Wiązanie Perla do biblioteki OpenBabel
@@ -89,9 +103,10 @@
%build
%cmake . \
-DALL_BINDINGS=ON \
+ -DCSHARP_EXECUTABLE=/usr/bin/mcs \
-DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \
-DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
- -DwxWIDGETS_CONFIG_EXECUTABLE=%{_bindir}/wx-gtk2-unicode-config
+ -DwxWidgets_CONFIG_EXECUTABLE=%{_bindir}/wx-gtk2-unicode-config
%{__make}
%install
@@ -157,6 +172,10 @@
%{_includedir}/openbabel-2.0
%{_pkgconfigdir}/openbabel-2.0.pc
+%files gui
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/OBGUI
+
%files -n perl-Chemistry-OpenBabel
%defattr(644,root,root,755)
%{perl_vendorarch}/Chemistry/OpenBabel.pm
@@ -177,6 +196,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.35 2011/01/29 14:58:12 qboosh
+- build wxWidgets-based GUI
+- csharp is compiled now, but not installed
+
Revision 1.34 2011/01/27 16:48:55 qboosh
- python is packaged now; ruby and java are not installed, csharp not built
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openbabel/openbabel.spec?r1=1.34&r2=1.35&f=u
More information about the pld-cvs-commit
mailing list