]> git.pld-linux.org Git - packages/g2c.git/blob - g2c.spec
- typos / formatting / etc.
[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://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
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
28 %description -l pl
29 Program g2c konwertuje drzewko Glade XML do kodu ¼ród³owego C.
30
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.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 %build
41 rm -f missing
42 %{__aclocal} -I macros
43 %{__autoconf}
44 %{__automake}
45 %configure
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc AUTHORS ChangeLog NEWS README TODO
60 %attr(755,root,root) %{_bindir}/*
This page took 0.034803 seconds and 3 git commands to generate.