]> git.pld-linux.org Git - packages/g2c.git/blob - g2c.spec
- new %%doc
[packages/g2c.git] / g2c.spec
1 Summary:        g2c - Glade to C Translator
2 Summary(pl):    g2c - translator z Glade do C
3 Name:           g2c
4 Version:        0.4
5 Release:        1
6 License:        GPL v2
7 Group:          Development/Tools
8 Source0:        http://telia.dl.sourceforge.net/sourceforge/g2c/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-dirty_xml.patch
10 URL:            http://www.sourceforge.net/projects/g2c/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  bonobo-devel >= 0.1.0
14 BuildRequires:  gtk+-devel
15 BuildRequires:  libxml-devel
16 Requires:       ctags
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 The g2c program converts a Glade XML tree to C source code.
21
22 Glade provides C source output to a set of monolithic files. All
23 widgets are placed into one file, which can be difficult to manage on
24 large projects. This project aims to provide an alternative source
25 code output mechanism.
26
27 %description -l pl
28 Program g2c konwertuje drzewko Glade XML do kodu ¼ród³owego C.
29
30 Glade daje na wyj¶ciu ¼ród³o w C do zestawu monolitycznych plików.
31 Wszystkie widgety sa umieszczone w jednym pliku, który mo¿e byæ trudny
32 do zarz±dzania w du¿ych projektach. Celem tego projektu jest
33 dostarczenie alternetywnego mechanizmu dla wyj¶cia kodu ¼ród³owego.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38
39 %build
40 rm -f missing
41 %{__aclocal} -I macros
42 %{__autoconf}
43 %{__automake}
44 %configure
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc AUTHORS ChangeLog NEWS README TODO
58 %attr(755,root,root) %{_bindir}/*
This page took 0.051609 seconds and 4 git commands to generate.