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