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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1093840 - (show annotations) (download)
Mon Mar 20 22:34:26 2017 UTC (7 years, 1 month ago) by ovitters
File size: 2913 byte(s)
new version 9.0.3
1 %define major 7
2 %define gir_major 2.90
3 %define libname %mklibname %name %major
4 %define develname %mklibname -d %name
5 %define girname %mklibname %{name}-gir %{gir_major}
6
7 %define url_ver %(echo %{version}|cut -d. -f1,2)
8
9 Summary: A Unicode character map and font viewer
10 Name: gucharmap
11 Version: 9.0.3
12 Release: %mkrel 1
13 License: GPLv3
14 Group: Publishing
15 Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
16 URL: https://wiki.gnome.org/Gucharmap
17 BuildRequires: pkgconfig(glib-2.0) >= 2.16.3
18 BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0
19 BuildRequires: scrollkeeper
20 BuildRequires: gnome-doc-utils >= 0.3.2
21 BuildRequires: libxslt-proc
22 BuildRequires: gobject-introspection-devel
23 BuildRequires: intltool
24 BuildRequires: itstool
25 BuildRequires: appdata-tools
26 BuildRequires: unicode-ucd
27 Obsoletes: mate-character-map
28
29 %description
30 gucharmap is a Unicode/ISO 10646 character map and font viewer. It
31 supports anti-aliased, scalable truetype fonts in X, using Xft, and
32 works on Unix and Windows platforms.
33
34 %package -n %{libname}
35 Summary: Main library for %{name}
36 Group: System/Libraries
37 Obsoletes: %{_lib}mucharmap7
38
39 %description -n %{libname}
40 This package contains the library needed to run programs dynamically
41 linked with %{name}.
42
43 %package -n %{develname}
44 Summary: Headers for developing programs that will use gucharmap
45 Group: Development/GNOME and GTK+
46 Requires: %{libname} = %{version}-%{release}
47 Requires: %{girname} = %{version}-%{release}
48 Provides: lib%{name}-devel = %{version}-%{release}
49 Provides: %{name}-devel = %{version}-%{release}
50 Obsoletes: %mklibname -d %{name} 6
51 Obsoletes: %{_lib}mucharmap-devel
52
53 %description -n %{develname}
54 This package contains the headers that programmers will need to develop
55 applications which will use gucharmap.
56
57 %package -n %{girname}
58 Summary: GObject Introspection interface description for %{name}
59 Group: System/Libraries
60 Requires: %{libname} = %{version}-%{release}
61 Obsoletes: %{_lib}mucharmap-gir2.0
62
63 %description -n %{girname}
64 GObject Introspection interface description for %{name}.
65
66 %prep
67 %setup -q
68
69 %build
70 %configure2_5x \
71 --with-gtk=3.0 \
72 --enable-introspection \
73 --disable-static \
74 --with-unicode-data=/usr/share/unicode/ucd
75 %make
76
77 %install
78 %makeinstall_std
79
80 #fix missing semicolons
81 desktop-file-edit %{buildroot}%{_datadir}/applications/%{name}.desktop
82
83 %find_lang %{name} --with-gnome --with-help
84
85 #we don't want these
86 rm -rf %{buildroot}%{_libdir}/lib%{name}*.la
87
88 %files -f %name.lang
89 %doc README TODO
90 %{_bindir}/*
91 %{_datadir}/glib-2.0/schemas/*.xml
92 %{_datadir}/applications/*
93 %{_datadir}/appdata/%{name}.appdata.xml
94
95 %files -n %{libname}
96 %{_libdir}/lib%{name}*.so.%{major}{,.*}
97
98 %files -n %{girname}
99 %{_libdir}/girepository-1.0/Gucharmap-%{gir_major}.typelib
100
101 %files -n %{develname}
102 %{_libdir}/lib%{name}*.so
103 %{_libdir}/pkgconfig/%{name}*.pc
104 %{_includedir}/%{name}*
105 %{_datadir}/gir-1.0/Gucharmap-%{gir_major}.gir

  ViewVC Help
Powered by ViewVC 1.1.30