]> git.pld-linux.org Git - packages/vte.git/blob - vte.spec
- updated to version 0.10.25
[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.25
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-3
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.2.0
37 Requires:       gtk+2-devel >= 2.2.0
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 glib-gettextize --copy --force
84 %{__libtoolize}
85 %{__aclocal}
86 %{__autoheader}
87 %{__automake}
88 %{__autoconf}
89 CFLAGS="-I/usr/include/ncurses"
90 LDFLAGS="-lncurses"
91 %configure \
92         --enable-gtk-doc \
93         --with-html-path=%{_gtkdocdir} 
94         
95 %{__make} pythonsiteexecdir=%{py_sitedir}
96
97 %install
98 rm -rf $RPM_BUILD_ROOT
99
100 %{__make} install \
101         DESTDIR=$RPM_BUILD_ROOT \
102         pkgconfigdir=%{_pkgconfigdir} \
103         pythonsiteexecdir=%{py_sitedir} \
104         HTML_DIR=%{_gtkdocdir}
105
106 %find_lang vte
107
108 %clean
109 rm -rf $RPM_BUILD_ROOT
110
111 %post   -p /sbin/ldconfig
112 %postun -p /sbin/ldconfig
113
114 %files -f vte.lang
115 %defattr(644,root,root,755)
116 %doc NEWS README AUTHORS
117 %attr(755,root,root) %{_bindir}/vte
118 %attr(755,root,root) %{_libdir}/lib*.so.*.*
119 %dir %{_libdir}/vte
120 %attr(755,root,root) %{_libdir}/vte/*
121 %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
122 %{_datadir}/vte
123
124 %files devel
125 %defattr(644,root,root,755)
126 %attr(755,root,root) %{_libdir}/lib*.so
127 %{_libdir}/lib*.la
128 %{_includedir}/*
129 %{_pkgconfigdir}/*
130 %{_gtkdocdir}/*
131
132 %files static
133 %defattr(644,root,root,755)
134 %{_libdir}/lib*.a
135
136 %files -n python-vte
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{py_sitedir}/*.so
This page took 0.041736 seconds and 4 git commands to generate.