]> git.pld-linux.org Git - packages/vte.git/blob - vte.spec
- updated to 0.40.2
[packages/vte.git] / vte.spec
1 # TODO: is alt-meta patch still needed?
2 Summary:        VTE terminal widget library
3 Summary(pl.UTF-8):      Biblioteka z kontrolką terminala VTE
4 Name:           vte
5 Version:        0.40.2
6 Release:        1
7 License:        LGPL v2.1+
8 Group:          X11/Libraries
9 Source0:        http://ftp.gnome.org/pub/GNOME/sources/vte/0.40/%{name}-%{version}.tar.xz
10 # Source0-md5:  6a7a6af8eb0ebadaf3338e820a7229a3
11 # https://bugzilla.gnome.org/show_bug.cgi?id=663779
12 Patch0:         %{name}-alt-meta.patch
13 BuildRequires:  autoconf >= 2.63
14 BuildRequires:  automake >= 1:1.9
15 BuildRequires:  docbook-dtd412-xml
16 BuildRequires:  gettext-devel
17 BuildRequires:  glib2-devel >= 1:2.40.0
18 BuildRequires:  gnutls-devel >= 3.2.0
19 BuildRequires:  gobject-introspection-devel >= 0.10.0
20 BuildRequires:  gtk+3-devel >= 3.8.0
21 BuildRequires:  gtk-doc >= 1.13
22 BuildRequires:  gtk-doc-automake >= 1.13
23 BuildRequires:  intltool >= 0.40.0
24 BuildRequires:  libtool >= 2:2.2
25 BuildRequires:  libxml2-progs >= 2
26 BuildRequires:  ncurses-devel
27 BuildRequires:  pango-devel >= 1:1.22.0
28 BuildRequires:  pkgconfig
29 BuildRequires:  rpmbuild(macros) >= 1.592
30 BuildRequires:  tar >= 1:1.22
31 #BuildRequires: vala >= 2:0.18
32 BuildRequires:  xz
33 BuildRequires:  zlib-devel
34 Requires:       %{name}-common = %{version}-%{release}
35 Requires:       glib2 >= 1:2.40.0
36 Requires:       gnutls >= 3.2.0
37 Requires:       gtk+3 >= 3.8.0
38 Requires:       pango >= 1:1.22.0
39 # sr@Latn vs. sr@latin
40 Conflicts:      glibc-misc < 6:2.7
41 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43 %description
44 The vte package contains a terminal widget for GTK+ 3.x. It's used by
45 gnome-terminal among other programs.
46
47 %description -l pl.UTF-8
48 Ten pakiet zawiera kontrolkę terminala dla GTK+ 3.x. Jest używany
49 przez gnome-terminal oraz inne programy.
50
51 %package common
52 Summary:        Common files for vte and vte0
53 Summary(pl.UTF-8):      Pliki wspólne dla vte i vte0
54 Group:          X11/Libraries
55 Requires(pre):  utempter
56
57 %description common
58 Common files for GTK+ 3 based vte and GTK+ 2 based vte0.
59
60 %description common -l pl.UTF-8
61 Pliki wspólne dla vte opartego na GTK+ 3 oraz vte0 opartego na GTK+ 2.
62
63 %package devel
64 Summary:        Header files for VTE for GTK+ 3
65 Summary(pl.UTF-8):      Pliki nagłówkowe VTE dla GTK+ 3
66 Group:          X11/Development/Libraries
67 Requires:       %{name} = %{version}-%{release}
68 Requires:       glib2-devel >= 1:2.40.0
69 Requires:       gnutls-devel >= 3.2.0
70 Requires:       gtk+3-devel >= 3.8.0
71 Requires:       ncurses-devel
72 Requires:       pango-devel >= 1:1.22.0
73 Requires:       zlib-devel
74 Conflicts:      gnome-libs-devel < 1.4.1.2
75
76 %description devel
77 This package contains header files for GTK+ 3 based vte library.
78
79 %description devel -l pl.UTF-8
80 Pliki nagłówkowe potrzebne do kompilowania programów używających
81 biblioteki vte opartej na GTK+ 3.
82
83 %package static
84 Summary:        Static VTE library for GTK+ 3
85 Summary(pl.UTF-8):      Statyczna biblioteka VTE dla GTK+ 3
86 Group:          X11/Development/Libraries
87 Requires:       %{name}-devel = %{version}-%{release}
88 Conflicts:      gnome-libs-static < 1.4.1.2
89
90 %description static
91 Static version of VTE library for GTK+ 3.
92
93 %description static -l pl.UTF-8
94 Statyczna wersja biblioteki VTE dla GTK+ 3.
95
96 %package -n vala-vte
97 Summary:        Vala API for VTE library
98 Summary(pl.UTF-8):      API języka Vala dla biblioteki VTE
99 Group:          Development/Libraries
100 Requires:       %{name}-devel = %{version}-%{release}
101 Requires:       vala >= 2:0.18
102
103 %description -n vala-vte
104 Vala API for VTE library.
105
106 %description -n vala-vte -l pl.UTF-8
107 API języka Vala dla biblioteki VTE.
108
109 %package apidocs
110 Summary:        VTE API documentation (GTK+ 3 version)
111 Summary(pl.UTF-8):      Dokumentacja API VTE (wersja dla GTK+ 3)
112 Group:          Documentation
113 Requires:       gtk-doc-common
114
115 %description apidocs
116 VTE API documentation (GTK+ 3 version).
117
118 %description apidocs -l pl.UTF-8
119 Dokumentacja API VTE (wersja dla GTK+ 3).
120
121 %prep
122 %setup -q
123 %patch0 -p1
124
125 %build
126 %{__gtkdocize}
127 %{__glib_gettextize}
128 %{__intltoolize}
129 %{__libtoolize}
130 %{__aclocal}
131 %{__autoheader}
132 %{__automake}
133 %{__autoconf}
134 cd gnome-pty-helper
135 %{__libtoolize}
136 %{__aclocal}
137 %{__autoheader}
138 %{__automake}
139 %{__autoconf}
140 cd ..
141 %configure \
142         --disable-silent-rules \
143         --enable-gnome-pty-helper \
144         --enable-gtk-doc \
145         --enable-introspection \
146         --with-default-emulation=xterm \
147         --with-html-dir=%{_gtkdocdir}
148 %{__make}
149
150 %install
151 rm -rf $RPM_BUILD_ROOT
152
153 %{__make} install \
154         DESTDIR=$RPM_BUILD_ROOT
155
156 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
157
158 %find_lang %{name}-2.91
159
160 %clean
161 rm -rf $RPM_BUILD_ROOT
162
163 %post   -p /sbin/ldconfig
164 %postun -p /sbin/ldconfig
165
166 %files -f vte-2.91.lang
167 %defattr(644,root,root,755)
168 %attr(755,root,root) %{_bindir}/vte-2.91
169 %attr(755,root,root) %{_libdir}/libvte-2.91.so.*.*.*
170 %attr(755,root,root) %ghost %{_libdir}/libvte-2.91.so.0
171 %{_libdir}/girepository-1.0/Vte-2.91.typelib
172 %config(noreplace) %verify(not md5 mtime size) /etc/profile.d/vte.sh
173
174 %files common
175 %defattr(644,root,root,755)
176 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
177 %attr(2755,root,utmp) %{_libdir}/gnome-pty-helper
178
179 %files devel
180 %defattr(644,root,root,755)
181 %attr(755,root,root) %{_libdir}/libvte-2.91.so
182 %{_includedir}/vte-2.91
183 %{_pkgconfigdir}/vte-2.91.pc
184 %{_datadir}/gir-1.0/Vte-2.91.gir
185
186 %files static
187 %defattr(644,root,root,755)
188 %{_libdir}/libvte-2.91.a
189
190 %files -n vala-vte
191 %defattr(644,root,root,755)
192 %{_datadir}/vala/vapi/vte-2.91.vapi
193
194 %files apidocs
195 %defattr(644,root,root,755)
196 %{_gtkdocdir}/vte-2.91
This page took 0.499441 seconds and 3 git commands to generate.