]> git.pld-linux.org Git - packages/vte.git/blob - vte.spec
- BR: gtk-doc
[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:        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 # Source0-md5:  71facdedd477749908402a6931d36e64
13 Patch0:         %{name}-keys.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:  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 Requires(pre):  utempter
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.2.0
41 Requires:       gtk+2-devel >= 2.2.0
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 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         --with-xft2 \
98         --with-pangox \
99         --with-glX \
100         --enable-gtk-doc \
101         --with-html-dir=%{_gtkdocdir}
102 %{__make}
103 #pythonsiteexecdir=%{py_sitedir}
104
105 %install
106 rm -rf $RPM_BUILD_ROOT
107
108 %{__make} install \
109         DESTDIR=$RPM_BUILD_ROOT
110 #       pythonsiteexecdir=%{py_sitedir}
111
112 %find_lang vte
113
114 %clean
115 rm -rf $RPM_BUILD_ROOT
116
117 %post   -p /sbin/ldconfig
118 %postun -p /sbin/ldconfig
119
120 %files -f vte.lang
121 %defattr(644,root,root,755)
122 %doc NEWS README AUTHORS
123 %attr(755,root,root) %{_bindir}/vte
124 %attr(755,root,root) %{_libdir}/lib*.so.*.*
125 %dir %{_libdir}/vte
126 %attr(755,root,root) %{_libdir}/vte/*
127 %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
128 %{_datadir}/vte
129
130 %files devel
131 %defattr(644,root,root,755)
132 %attr(755,root,root) %{_libdir}/lib*.so
133 %{_libdir}/lib*.la
134 %{_includedir}/*
135 %{_pkgconfigdir}/*
136 %{_gtkdocdir}/*
137
138 %files static
139 %defattr(644,root,root,755)
140 %{_libdir}/lib*.a
141
142 %files -n python-vte
143 %defattr(644,root,root,755)
144 %attr(755,root,root) %{py_sitedir}/*.so
This page took 0.081879 seconds and 3 git commands to generate.