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