]> git.pld-linux.org Git - packages/g2c.git/blame - g2c.spec
- tabs in preamble
[packages/g2c.git] / g2c.spec
CommitLineData
57a3d4ef 1Summary: g2c - Glade to C Translator
3f4c7ae1 2Summary(pl.UTF-8): g2c - translator z Glade do C
57a3d4ef
PG
3Name: g2c
4Version: 0.4
5Release: 1
6License: GPL v2
7Group: Development/Tools
17dde8dd 8Source0: http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
c9ed8d49 9# Source0-md5: 29f8e1a9f7eb615864bf1971ff85c8eb
57a3d4ef
PG
10Patch0: %{name}-dirty_xml.patch
11URL: http://www.sourceforge.net/projects/g2c/
12BuildRequires: autoconf
13BuildRequires: automake
14BuildRequires: bonobo-devel >= 0.1.0
15BuildRequires: gtk+-devel
16BuildRequires: libxml-devel
17Requires: ctags
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21The g2c program converts a Glade XML tree to C source code.
22
23Glade provides C source output to a set of monolithic files. All
24widgets are placed into one file, which can be difficult to manage on
25large projects. This project aims to provide an alternative source
26code output mechanism.
27
1b3a63d7
JR
28%description -l pl.UTF-8
29Program g2c konwertuje drzewko Glade XML do kodu źródłowego C.
57a3d4ef 30
1b3a63d7
JR
31Glade daje na wyjściu źródło w C do zestawu monolitycznych plików.
32Wszystkie widgety są umieszczone w jednym pliku, który może być trudny
33do zarządzania w dużych projektach. Celem tego projektu jest
34dostarczenie alternatywnego mechanizmu dla wyjścia kodu źródłowego.
57a3d4ef
PG
35
36%prep
37%setup -q
38%patch0 -p1
39
40%build
41rm -f missing
2698e144 42%{__aclocal} -I macros
c2875a4b 43%{__autoconf}
2698e144 44%{__automake}
57a3d4ef
PG
45%configure
46%{__make}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
215593b0
PG
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
57a3d4ef 53
57a3d4ef
PG
54%clean
55rm -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}/*
This page took 0.106631 seconds and 4 git commands to generate.