]> git.pld-linux.org Git - packages/vte.git/blob - vte.spec
- added localenames patch, rename no->nb
[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.10
6 Release:        3
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:  71facdedd477749908402a6931d36e64
11 Patch0:         %{name}-keys.patch
12 Patch1:         %{name}-localenames.patch
13 Patch2:         %{name}-link.patch
14 BuildRequires:  OpenGL-devel
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  glib2-devel >= 2.2.0
18 BuildRequires:  gtk+2-devel >= 2.2.0
19 BuildRequires:  gtk-doc
20 BuildRequires:  libart_lgpl-devel >= 2.3.10
21 BuildRequires:  libtool
22 BuildRequires:  rpm-pythonprov
23 BuildRequires:  python-pygtk-devel >= 1.99.13
24 BuildRequires:  xft-devel >= 2.1.2
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 %patch1 -p1
89 %patch2 -p1
90
91 mv -f po/{no,nb}.po
92
93 %build
94 glib-gettextize --copy --force
95 %{__libtoolize}
96 %{__aclocal}
97 %{__autoheader}
98 %{__automake}
99 %{__autoconf}
100 CFLAGS="-I/usr/include/ncurses"
101 %configure \
102         --with-xft2 \
103         --with-pangox \
104         --with-glX \
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}/*.{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}/*.so
This page took 0.039001 seconds and 4 git commands to generate.