/[packages]/cauldron/vte3/current/SPECS/vte3.spec
ViewVC logotype

Contents of /cauldron/vte3/current/SPECS/vte3.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 170468 - (show annotations) (download)
Mon Nov 21 15:49:03 2011 UTC (12 years, 5 months ago) by wally
File size: 2762 byte(s)
- new version 0.31.0
- clean .spec a bit
1 %define api3 2.90
2 %define lib3_major 9
3 %define lib3_name %mklibname vte 2_90 %{lib3_major}
4 %define gir3name %mklibname vte-gir %{api3}
5 %define develname3 %mklibname -d %{name}
6
7 %define url_ver %(echo %{version}|cut -d. -f1,2)
8
9 Name: vte3
10 Version: 0.31.0
11 Release: %mkrel 1
12 Summary: A terminal emulator widget
13 License: LGPLv2+
14 Group: System/Libraries
15 URL: http://www.gnome.org/
16 Source0: http://download.gnome.org/sources/vte/%{url_ver}/vte-%{version}.tar.xz
17 BuildRequires: pkgconfig(cairo-xlib)
18 BuildRequires: pkgconfig(gio-2.0)
19 BuildRequires: pkgconfig(gio-unix-2.0)
20 BuildRequires: pkgconfig(glib-2.0) >= 2.26.0
21 BuildRequires: pkgconfig(gobject-2.0)
22 BuildRequires: pkgconfig(gtk+-3.0) >= 3.1.9
23 BuildRequires: pkgconfig(pango) >= 1.22.0
24 BuildRequires: pkgconfig(x11)
25 BuildRequires: automake
26 BuildRequires: gtk-doc
27 BuildRequires: gobject-introspection-devel
28 BuildRequires: intltool
29
30 %description
31 VTE is a terminal emulator widget for use with GTK+ 3.0.
32
33 %package -n %{lib3_name}
34 Summary: A terminal emulator widget
35 Group: System/Libraries
36 Requires: %{name} >= %{version}
37
38 %description -n %{lib3_name}
39 VTE is a terminal emulator widget for use with GTK+ 3.0.
40
41 %package -n %{develname3}
42 Summary: Files needed for developing applications which use VTE
43 Group: Development/C
44 Provides: %{name}-devel = %{version}-%{release}
45 Requires: %{lib3_name} = %{version}-%release
46
47 %description -n %{develname3}
48 VTE is a terminal emulator widget for use with GTK+ 3.0. This
49 package contains the files needed for building applications using VTE.
50
51 %package -n %{gir3name}
52 Summary: GObject Introspection interface description for vte with GTK+ 3.0
53 Group: System/Libraries
54 Requires: %{lib3_name} = %{version}-%{release}
55 Conflicts: %{lib3_name} < 0.28.1-2
56
57 %description -n %{gir3name}
58 GObject Introspection interface description for vte with GTK+ 3.0.
59
60 %prep
61 %setup -qn vte-%{version}
62
63 %build
64 %configure2_5x \
65 --enable-shared \
66 --disable-static \
67 --libexecdir=%{_libdir}/%{name} \
68 --enable-gtk-doc \
69 --enable-introspection
70 %make
71
72 %install
73 rm -rf %{buildroot}
74 %makeinstall_std
75
76 #we don't want these
77 find %{buildroot} -name "*.la" -delete
78 %find_lang vte-%{api3}
79
80 %clean
81 rm -rf %{buildroot}
82
83 %files -f vte-%{api3}.lang
84 %defattr(-,root,root)
85 %doc COPYING HACKING NEWS README
86 %{_bindir}/vte2_90
87 %dir %{_libdir}/%{name}
88 %attr(2711,root,utmp) %{_libdir}/%{name}/gnome-pty-helper
89 %{_datadir}/vte/termcap-%{api3}
90
91 %files -n %{lib3_name}
92 %defattr(-,root,root)
93 %{_libdir}/libvte2_90.so.%{lib3_major}*
94
95 %files -n %{gir3name}
96 %{_libdir}/girepository-1.0/Vte-%{api3}.typelib
97
98 %files -n %{develname3}
99 %defattr(-,root,root)
100 %doc %{_datadir}/gtk-doc/html/vte-%{api3}
101 %{_includedir}/vte-%{api3}
102 %{_libdir}/libvte2_90.so
103 %{_libdir}/pkgconfig/vte-%{api3}.pc
104 %{_datadir}/gir-1.0/Vte-%{api3}.gir

  ViewVC Help
Powered by ViewVC 1.1.30