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