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