1 Summary: g2c - Glade to C Translator
2 Summary(pl.UTF-8): g2c - translator z Glade do C
7 Group: Development/Tools
8 Source0: http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5: 29f8e1a9f7eb615864bf1971ff85c8eb
10 Patch0: %{name}-dirty_xml.patch
11 URL: http://www.sourceforge.net/projects/g2c/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: bonobo-devel >= 0.1.0
15 BuildRequires: gtk+-devel
16 BuildRequires: libxml-devel
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 The g2c program converts a Glade XML tree to C source code.
23 Glade provides C source output to a set of monolithic files. All
24 widgets are placed into one file, which can be difficult to manage on
25 large projects. This project aims to provide an alternative source
26 code output mechanism.
28 %description -l pl.UTF-8
29 Program g2c konwertuje drzewko Glade XML do kodu źródłowego C.
31 Glade daje na wyjściu źródło w C do zestawu monolitycznych plików.
32 Wszystkie widgety są umieszczone w jednym pliku, który może być trudny
33 do zarządzania w dużych projektach. Celem tego projektu jest
34 dostarczenie alternatywnego mechanizmu dla wyjścia kodu źródłowego.
42 %{__aclocal} -I macros
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %doc AUTHORS ChangeLog NEWS README TODO
60 %attr(755,root,root) %{_bindir}/*