]> git.pld-linux.org Git - packages/vte.git/blob - vte.spec
- clean up
[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.4
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 Patch0:         %{name}-Xft2.patch
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  glib2-devel >= 2.0.7
16 BuildRequires:  gtk+2-devel >= 2.0.9
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 %define         _prefix         /usr/X11R6
24 %define         _mandir         %{_prefix}/man
25 %define         _gtkdocdir      %{_defaultdocdir}/gtk-doc/html
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}
40 Requires:       glib2-devel >= 2.0.7
41 Requires:       gtk+2-devel >= 2.0.8
42 Requires:       libart_lgpl-devel >= 2.3.10
43 Conflicts:      gnome-libs-devel < 1.4.1.2
44
45 %description devel
46 The vte package contains a terminal widget for GTK+. It's used by
47 gnome-terminal among other programs.
48
49 You should install the vte-devel package if you would like to
50 compile applications that use the vte terminal widget. You do not need
51 to install vte-devel if you just want to use precompiled
52 applications.
53
54 %description devel -l pl
55 Pliki nag³ówkowe potrzebne do kompilowania programów u¿ywaj±cych
56 vte.
57
58 %package static
59 Summary:        Static VTE library
60 Summary(pl):    Statyczna biblioteka VTE
61 Group:          X11/Development/Libraries
62 Requires:       %{name}-devel = %{version}
63 Conflicts:      gnome-libs-static < 1.4.1.2
64
65 %description static
66 Static version of VTE libraries.
67
68 %description static -l pl
69 Statyczna wersja bibliotek VTE.
70
71 %package -n python-vte
72 Summary:        Python VTE module
73 Summary(pl):    Modu³ VTE dla pythona
74 Group:          Libraries
75 Requires:       %{name} = %{version}
76
77 %description -n python-vte
78 Python VTE library.
79
80 %description -n python-vte -l pl
81 Biblioteka VTE dla pythona.
82
83 %prep
84 %setup  -q
85 %patch0 -p1
86
87 %build
88 %configure \
89         --enable-gtk-doc \
90         --with-html-path=%{_gtkdocdir} 
91         
92 %{__make} pythonsiteexecdir=%{py_sitedir}
93
94 %install
95 rm -rf $RPM_BUILD_ROOT
96
97 %{__make} install \
98         DESTDIR=$RPM_BUILD_ROOT \
99         pkgconfigdir=%{_pkgconfigdir} \
100         pythonsiteexecdir=%{py_sitedir} \
101         HTML_DIR=%{_gtkdocdir}
102
103 %find_lang vte
104
105 %clean
106 rm -rf $RPM_BUILD_ROOT
107
108 %post   -p /sbin/ldconfig
109 %postun -p /sbin/ldconfig
110
111 %files -f vte.lang
112 %defattr(644,root,root,755)
113 %doc NEWS README AUTHORS
114 %attr(755,root,root) %{_bindir}/vte
115 %attr(755,root,root) %{_libdir}/lib*.so.*.*
116 %dir %{_libdir}/vte
117 %attr(755,root,root) %{_libdir}/vte/*
118 %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
119
120 %files devel
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_libdir}/lib*.so
123 %attr(755,root,root) %{_libdir}/lib*.la
124 %{_includedir}/*
125 %{_pkgconfigdir}/*
126 %{_gtkdocdir}/*
127
128 %files static
129 %defattr(644,root,root,755)
130 %{_libdir}/lib*.a
131
132 %files -n python-vte
133 %defattr(644,root,root,755)
134 %attr(755,root,root) %{py_sitedir}/*.so
This page took 0.465396 seconds and 4 git commands to generate.