source: projects/specs/trunk/h/harfbuzz/harfbuzz-vl.spec @ 7294

Revision 7294, 2.6 KB checked in by Takemikaduchi, 11 years ago (diff)

KDE-4.9.5

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary:        Text shaping library
4Name:           harfbuzz
5Version:        0.9.9
6Release:        1%{?_dist_release}
7Source0:        http://www.freedesktop.org/software/harfbuzz/release/%{name}/%{name}-%{version}.tar.bz2
8License:        MIT
9Group:          System Environment/Libraries
10URL:            http://www.freedesktop.org/wiki/Software/HarfBuzz
11
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13
14Vendor:         Project Vine
15Distribution:   Vine Linux
16Packager:       Takemikaduchi
17
18BuildRequires:  glib2-devel
19BuildRequires:  cairo-devel
20BuildRequires:  freetype2-devel
21
22
23%description
24HarfBuzz is an OpenType text shaping engine.
25
26
27%package        devel
28Summary:        Development tools for %{name}
29Summary(ja):    %{name} の開発環境
30Group:          Development/Libraries
31Requires:       %{name} = %{version}-%{release}
32Requires:       pkgconfig
33
34%description    devel
35Header files and libraries for building a extension library for the
36%{name}.
37
38
39# compat32
40%package -n compat32-%{name}
41Summary:        A set of Thai language support routines
42Group:          System Environment/Libraries
43Requires:       %{name} = %{version}-%{release}
44
45%description -n compat32-%{name}
46HarfBuzz is an OpenType text shaping engine.
47
48
49%package -n compat32-%{name}-devel
50Summary:        Development tools for %{name}
51Summary(ja):    %{name} の開発環境
52Group:          Development/Libraries
53Requires:       compat32-%{name} = %{version}-%{release}
54Requires:       pkgconfig
55
56%description -n compat32-%{name}-devel
57Header files and libraries for building a extension library for the
58%{name}.
59
60
61
62%prep
63%setup -q
64
65
66%build
67%configure \
68        --disable-static
69
70%{__make} %{?_smp_mflags}
71
72
73%install
74%{__rm} -rf ${RPM_BUILD_ROOT}
75%{__make} install DESTDIR=${RPM_BUILD_ROOT}
76
77find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
78find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
79
80
81%clean
82%{__rm} -rf ${RPM_BUILD_ROOT}
83
84%post -p /sbin/ldconfig
85
86%postun -p /sbin/ldconfig
87
88
89%files
90%defattr(-,root,root,-)
91%doc COPYING ChangeLog NEWS README
92%{_bindir}/hb-ot-shape-closure
93%{_bindir}/hb-shape
94%{_bindir}/hb-view
95%{_libdir}/libharfbuzz.so.*
96
97%files devel
98%defattr(-,root,root,-)
99%{_includedir}/%{name}
100%{_libdir}/libharfbuzz.so
101%{_libdir}/pkgconfig/%{name}.pc
102
103%if %{build_compat32}
104%files -n compat32-%{name}
105%defattr(-, root, root,-)
106%{_libdir}/libharfbuzz.so.*
107
108%files -n compat32-%{name}-devel
109%defattr(-, root, root,-)
110%{_libdir}/libharfbuzz.so
111%endif
112
113
114%changelog
115* Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.9-1
116- new upstream release
117
118* Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.5-1
119- new upstream release
120
121* Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-1
122- initial build
123
Note: See TracBrowser for help on using the repository browser.