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