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