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