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