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