packages: gwenhywfar/gwenhywfar.spec - added fox GUI - moved devel deps to ...
qboosh
qboosh at pld-linux.org
Thu May 12 21:38:03 CEST 2011
Author: qboosh Date: Thu May 12 19:38:03 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- added fox GUI
- moved devel deps to proper packages
---- Files affected:
packages/gwenhywfar:
gwenhywfar.spec (1.42 -> 1.43)
---- Diffs:
================================================================
Index: packages/gwenhywfar/gwenhywfar.spec
diff -u packages/gwenhywfar/gwenhywfar.spec:1.42 packages/gwenhywfar/gwenhywfar.spec:1.43
--- packages/gwenhywfar/gwenhywfar.spec:1.42 Thu May 12 19:27:48 2011
+++ packages/gwenhywfar/gwenhywfar.spec Thu May 12 21:37:58 2011
@@ -1,7 +1,9 @@
# $Revision$, $Date$
#
# TODO: - define _one_, system-wide place for ca-bundle.crt and use one, up-to-date file
-# - fox UI
+#
+# Conditional build:
+%bcond_without fox # FOX 1.6 GUI
#
Summary: Gwenhywfar - a multi-platform helper library for networking and security
Summary(pl.UTF-8): Gwenhywfar - wieloplatformowa biblioteka pomocnicza do sieci i bezpieczeństwa
@@ -17,6 +19,7 @@
BuildRequires: QtGui-devel >= 4
BuildRequires: autoconf >= 2.60
BuildRequires: automake
+%{?with_fox:BuildRequires: fox16-devel >= 1.6}
BuildRequires: gettext-devel
BuildRequires: gnutls-devel >= 1.6.1
BuildRequires: gtk+2-devel >= 2:2.17.5
@@ -25,7 +28,6 @@
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: qt4-build
-Requires: gtk+2 >= 2:2.17.5
Requires: libgcrypt >= 1.2.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -51,9 +53,7 @@
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Gwenhywfar
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: QtGui-devel >= 4
Requires: gnutls-devel >= 1.6.1
-Requires: gtk+2-devel >= 2:2.17.5
Requires: libgcrypt-devel >= 1.2.0
%description devel
@@ -74,11 +74,53 @@
%description static -l pl.UTF-8
Statyczna biblioteka Gwenhywfar.
+%package fox
+Summary: GTK+ 2 Gwenhywfar GUI library implementation of the GWEN_DIALOG framework
+Summary(pl.UTF-8): Biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar
+Group: X11/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description fox
+GTK+ 2 Gwenhywfar GUI library, containing GTK+ 2 implementation of the
+GWEN_DIALOG framework.
+
+%description fox
+Biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar, zawierająca
+implementację GTK+2 szkieletu GWEN_DIALOG.
+
+%package fox-devel
+Summary: Header files for FOX 1.6 Gwenhywfar GUI library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki graficznego interfejsu FOX 1.6 do Gwenhywfar
+Group: X11/Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+Requires: %{name}-fox = %{version}-%{release}
+Requires: fox16-devel >= 1.6
+
+%description fox-devel
+Header files for FOX 1.6 Gwenhywfar GUI library
+
+%description fox-devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki graficznego interfejsu FOX 1.6 do
+Gwenhywfar.
+
+%package fox-static
+Summary: Static FOX 1.6 Gwenhywfar GUI library
+Summary(pl.UTF-8): Statyczna biblioteka graficznego interfejsu FOX 1.6 do Gwenhywfar
+Group: X11/Development/Libraries
+Requires: %{name}-fox-devel = %{version}-%{release}
+
+%description fox-static
+Static FOX 1.6 Gwenhywfar GUI library.
+
+%description fox-static -l pl.UTF-8
+Statyczna biblioteka graficznego interfejsu FOX 1.6 do Gwenhywfar.
+
%package gtk
Summary: GTK+ 2 Gwenhywfar GUI library implementation of the GWEN_DIALOG framework
Summary(pl.UTF-8): Biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar
Group: X11/Libraries
Requires: %{name} = %{version}-%{release}
+Requires: gtk+2 >= 2:2.17.5
%description gtk
GTK+ 2 Gwenhywfar GUI library, containing GTK+ 2 implementation of the
@@ -94,6 +136,7 @@
Group: X11/Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
Requires: %{name}-gtk = %{version}-%{release}
+Requires: gtk+2-devel >= 2:2.17.5
%description gtk-devel
Header files for GTK+ 2 Gwenhywfar GUI library
@@ -134,6 +177,7 @@
Group: X11/Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
Requires: %{name}-qt = %{version}-%{release}
+Requires: QtGui-devel >= 4
%description qt-devel
Header files for Qt 4 Gwenhywfar GUI library
@@ -189,6 +233,9 @@
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
+%post fox -p /sbin/ldconfig
+%postun fox -p /sbin/ldconfig
+
%post gtk -p /sbin/ldconfig
%postun gtk -p /sbin/ldconfig
@@ -234,6 +281,23 @@
%defattr(644,root,root,755)
%{_libdir}/libgwenhywfar.a
+%if %{with fox}
+%files fox
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgwengui-fox16.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgwengui-fox16.so.0
+
+%files fox-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgwengui-fox16.so
+%{_includedir}/gwenhywfar4/gwen-gui-fox16
+%{_pkgconfigdir}/gwengui-fox16.pc
+
+%files fox-static
+%defattr(644,root,root,755)
+%{_libdir}/libgwengui-fox16.a
+%endif
+
%files gtk
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libgwengui-gtk2.so.*.*.*
@@ -270,6 +334,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.43 2011/05/12 19:37:58 qboosh
+- added fox GUI
+- moved devel deps to proper packages
+
Revision 1.42 2011/05/12 17:27:48 qboosh
- subpackages for gtk and qt GUIs
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gwenhywfar/gwenhywfar.spec?r1=1.42&r2=1.43&f=u
More information about the pld-cvs-commit
mailing list