]> git.pld-linux.org Git - packages/vte.git/blob - vte.spec
- rel 4
[packages/vte.git] / vte.spec
1 %include        /usr/lib/rpm/macros.python
2 Summary:        VTE terminal widget library
3 Summary(pl):    Biblioteka z kontrolk± terminala VTE
4 Name:           vte
5 Version:        0.11.11
6 Release:        4
7 License:        LGPL
8 Group:          X11/Libraries
9 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/0.11/%{name}-%{version}.tar.bz2
10 # Source0-md5:  4d7a3674df5b8be7f1adffa981c1fc3d
11 Patch0:         %{name}-keys.patch
12 Patch1:         %{name}-localenames.patch
13 Patch2:         %{name}-atktextselection.patch
14 Patch3:         %{name}-types-include.patch
15 Patch4:         %{name}-performance.patch
16 BuildRequires:  OpenGL-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  glib2-devel >= 2.2.0
20 BuildRequires:  gtk+2-devel >= 2.2.0
21 BuildRequires:  gtk-doc
22 BuildRequires:  libart_lgpl-devel >= 2.3.10
23 BuildRequires:  libtool
24 BuildRequires:  rpm-pythonprov
25 BuildRequires:  python-pygtk-devel >= 1.99.13
26 BuildRequires:  xft-devel >= 2.1.2
27 Requires(pre):  utempter
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 The vte package contains a terminal widget for GTK+. It's used by
32 gnome-terminal among other programs.
33
34 %description -l pl
35 Ten pakiet zawiera kontrolkê terminala dla GTK+. Jest u¿ywany przez
36 gnome-terminal oraz inne programy.
37
38 %package devel
39 Summary:        Headers for VTE
40 Summary(pl):    Pliki nag³ówkowe VTE
41 Group:          X11/Development/Libraries
42 Requires:       %{name} = %{version}-%{release}
43 Requires:       glib2-devel >= 2.2.0
44 Requires:       gtk+2-devel >= 2.2.0
45 Requires:       libart_lgpl-devel >= 2.3.10
46 Requires:       OpenGL-devel
47 Conflicts:      gnome-libs-devel < 1.4.1.2
48
49 %description devel
50 The vte package contains a terminal widget for GTK+. It's used by
51 gnome-terminal among other programs.
52
53 You should install the vte-devel package if you would like to
54 compile applications that use the vte terminal widget. You do not need
55 to install vte-devel if you just want to use precompiled
56 applications.
57
58 %description devel -l pl
59 Pliki nag³ówkowe potrzebne do kompilowania programów u¿ywaj±cych
60 vte.
61
62 %package static
63 Summary:        Static VTE library
64 Summary(pl):    Statyczna biblioteka VTE
65 Group:          X11/Development/Libraries
66 Requires:       %{name}-devel = %{version}-%{release}
67 Conflicts:      gnome-libs-static < 1.4.1.2
68
69 %description static
70 Static version of VTE libraries.
71
72 %description static -l pl
73 Statyczna wersja bibliotek VTE.
74
75 %package -n python-vte
76 Summary:        Python VTE module
77 Summary(pl):    Modu³ VTE dla pythona
78 Group:          Libraries
79 Requires:       %{name} = %{version}-%{release}
80 Requires:       python-pygtk-gtk >= 1.99.13
81
82 %description -n python-vte
83 Python VTE library.
84
85 %description -n python-vte -l pl
86 Biblioteka VTE dla pythona.
87
88 %prep
89 %setup -q
90 %patch0 -p1
91 %patch1 -p1
92 %patch2 -p1
93 %patch3 -p0
94 %patch4 -p0
95
96 mv -f po/{no,nb}.po
97
98 %build
99 glib-gettextize --copy --force
100 %{__libtoolize}
101 %{__aclocal}
102 %{__autoheader}
103 %{__automake}
104 %{__autoconf}
105 CFLAGS="-I/usr/include/ncurses"
106 %configure \
107         --with-xft2 \
108         --with-pangox \
109         --with-glX \
110         --with-default-emulation=xterm \
111         --enable-gtk-doc \
112         --with-html-dir=%{_gtkdocdir}
113 %{__make}
114
115 %install
116 rm -rf $RPM_BUILD_ROOT
117
118 %{__make} install \
119         DESTDIR=$RPM_BUILD_ROOT
120
121 rm -f $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/*.{la,a}
122
123 %find_lang vte
124
125 %clean
126 rm -rf $RPM_BUILD_ROOT
127
128 %post   -p /sbin/ldconfig
129 %postun -p /sbin/ldconfig
130
131 %files -f vte.lang
132 %defattr(644,root,root,755)
133 %doc NEWS README AUTHORS
134 %attr(755,root,root) %{_bindir}/vte
135 %attr(755,root,root) %{_libdir}/lib*.so.*.*
136 %dir %{_libdir}/vte
137 %attr(755,root,root) %{_libdir}/vte/*
138 %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
139 %{_datadir}/vte
140
141 %files devel
142 %defattr(644,root,root,755)
143 %attr(755,root,root) %{_libdir}/lib*.so
144 %{_libdir}/lib*.la
145 %{_includedir}/*
146 %{_pkgconfigdir}/*
147 %{_gtkdocdir}/*
148
149 %files static
150 %defattr(644,root,root,755)
151 %{_libdir}/lib*.a
152
153 %files -n python-vte
154 %defattr(644,root,root,755)
155 %attr(755,root,root) %{py_sitedir}/gtk-2.0/*.so
This page took 0.121879 seconds and 3 git commands to generate.