]>
Commit | Line | Data |
---|---|---|
57a3d4ef | 1 | Summary: g2c - Glade to C Translator |
3f4c7ae1 | 2 | Summary(pl.UTF-8): g2c - translator z Glade do C |
57a3d4ef PG |
3 | Name: g2c |
4 | Version: 0.4 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: Development/Tools | |
17dde8dd | 8 | Source0: http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz |
c9ed8d49 | 9 | # Source0-md5: 29f8e1a9f7eb615864bf1971ff85c8eb |
57a3d4ef PG |
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 | |
17 | Requires: ctags | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | The g2c program converts a Glade XML tree to C source code. | |
22 | ||
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. | |
27 | ||
1b3a63d7 JR |
28 | %description -l pl.UTF-8 |
29 | Program g2c konwertuje drzewko Glade XML do kodu źródłowego C. | |
57a3d4ef | 30 | |
1b3a63d7 JR |
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. | |
57a3d4ef PG |
35 | |
36 | %prep | |
37 | %setup -q | |
38 | %patch0 -p1 | |
39 | ||
40 | %build | |
41 | rm -f missing | |
2698e144 | 42 | %{__aclocal} -I macros |
c2875a4b | 43 | %{__autoconf} |
2698e144 | 44 | %{__automake} |
57a3d4ef PG |
45 | %configure |
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
215593b0 PG |
51 | %{__make} install \ |
52 | DESTDIR=$RPM_BUILD_ROOT | |
57a3d4ef | 53 | |
57a3d4ef PG |
54 | %clean |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
206597cf | 59 | %doc AUTHORS ChangeLog NEWS README TODO |
57a3d4ef | 60 | %attr(755,root,root) %{_bindir}/* |