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