1 Summary: A library for creating configuration dialogs
2 Summary(pl.UTF-8): Biblioteka do tworzenia dialogów konfiguracyjnych
8 Source0: http://ftp.5z.com/pub/pong/%{name}-%{version}.tar.gz
9 # Source0-md5: 6d794f21b5e6d09eb438f432725cb3d4
10 URL: http://www.gnome.org/
11 BuildRequires: GConf-devel >= 0.6.0
12 BuildRequires: automake
13 BuildRequires: bonobo-devel >= 0.36
14 BuildRequires: gdk-pixbuf-gnome-devel >= 0.7.0
15 BuildRequires: gob >= 1.0.7
16 BuildRequires: libglade-gnome-devel
17 BuildRequires: libxml-devel
18 BuildRequires: oaf-devel >= 0.6.0
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 PonG is a library and a GUI tool for creating GNOME dialog boxes from
23 an XML description. The XML describes the widgets and the gconf keys
24 to use, and PonG takes care of the rest. It can optionally use
25 libglade and/or bonobo for the widgets as well.
27 %description -l pl.UTF-8
28 PonG to biblioteka i narzędzie z graficznym interfejsem służące do
29 tworzenia okienek dialogowych GNOME z opisu w XML. XML opisuje widgety
30 i klucze gconf jakie mają być używane, a PonG zajmuje się całą resztą.
31 Opcjonalnie może używać także libglade i/lub bonobo do widgetów.
34 Summary: PonG header files
35 Summary(pl.UTF-8): Pliki nagłówkowe PonG
36 Group: X11/Development/Libraries
37 Requires: %{name} = %{version}-%{release}
40 PonG developement files.
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe PonG.
46 Summary: Static PonG library
47 Summary(pl.UTF-8): Statyczna biblioteka PonG
48 Group: X11/Development/Libraries
49 Requires: %{name}-devel = %{version}-%{release}
54 %description static -l pl.UTF-8
55 Statyczna biblioteka PonG.
58 Summary: Dialog box editor
59 Summary(pl.UTF-8): Edytor okien dialogowych
60 Group: X11/Development/Libraries
61 Requires: %{name} = %{version}-%{release}
66 %description edit -l pl.UTF-8
67 Edytor okien dialogowych.
73 sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
74 mv -f configure.in.tmp configure.in
76 #xml-i18n-toolize --copy --force
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT{%{_aclocaldir},%{_applnkdir}/Development}
87 DESTDIR=$RPM_BUILD_ROOT
89 install pong-edit/pong-edit.desktop $RPM_BUILD_ROOT%{_applnkdir}/Development
91 %find_lang %{name} --with-gnome
93 mv pong-tool/ChangeLog ChangeLog.pong-tool
94 mv pong/ChangeLog ChangeLog.pong
97 rm -rf $RPM_BUILD_ROOT
99 %post -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
102 %files -f %{name}.lang
103 %defattr(644,root,root,755)
104 %doc AUTHORS ChangeLog* NEWS README TODO
105 %attr(755,root,root) %{_bindir}/pong-tool*
106 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
107 %{_datadir}/idl/pong-interface.idl
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_bindir}/pong-gconf-schema-export*
113 %attr(755,root,root) %{_libdir}/lib*.so
115 %attr(755,root,root) %{_libdir}/*.sh
117 %{_includedir}/pong-1
120 %defattr(644,root,root,755)
124 %defattr(644,root,root,755)
125 %doc pong-edit/ChangeLog
126 %attr(755,root,root) %{_bindir}/pong-edit*
127 %{_applnkdir}/Development/pong-edit.desktop
128 %dir %{_datadir}/pong-1
129 %{_datadir}/pong-1/*.glade