source: projects/specs/trunk/p/pangox-compat/pangox-compat-vl.spec @ 6890

Revision 6890, 2.9 KB checked in by Takemikaduchi, 12 years ago (diff)

GNOME-3.6.0 & Cinnamon-1.6.1

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary:        X Window System font support for Pango
4Name:           pangox-compat
5Version:        0.0.1
6Release:        1%{?_dist_release}
7Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.0//%{name}-%{version}.tar.xz
8License:        GPLv2
9Group:          System Environment/Libraries
10URL:            http://ftp.gnome.org/pub/GNOME/sources/pangox-compat/
11
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires:  pango-devel
15BuildRequires:  glib2-devel
16
17Vendor:         Project Vine
18Distribution:   Vine Linux
19Packager:       Takemikaduchi
20
21
22%description
23This is a compatibility library providing the obsolete pangox library
24that is not shipped by Pango itself anymore.  If you are still using
25pangox, well, really, get a life...
26
27
28%package        devel
29Summary:        Development tools for %{name}
30Summary(ja):    %{name} の開発環境
31Group:          Development/Libraries
32Requires:       %{name} = %{version}-%{release}
33Requires:       pkgconfig
34
35%description    devel
36Header files and libraries for building a extension library for the
37%{name}.
38
39
40# compat32
41%package -n compat32-%{name}
42Summary:        Double-Array Trie Library
43Group:          System Environment/Libraries
44Requires:       %{name} = %{version}-%{release}
45
46%description -n compat32-%{name}
47This is an implementation of double-array structure for representing trie,
48as proposed by Junichi Aoe.
49
50Trie is a kind of digital search tree, an efficient indexing method with
51O(1) time complexity for searching. Comparably as efficient as hashing,
52trie also provides flexibility on incremental matching and key spelling
53manipulation. This makes it ideal for lexical analyzers, as well as spelling
54dictionaries.
55
56
57%package -n compat32-%{name}-devel
58Summary:        Development tools for %{name}
59Summary(ja):    %{name} の開発環境
60Group:          Development/Libraries
61Requires:       compat32-%{name} = %{version}-%{release}
62Requires:       pkgconfig
63
64%description -n compat32-%{name}-devel
65Header files and libraries for building a extension library for the
66%{name}.
67
68
69%prep
70%setup -q
71
72
73%build
74%configure \
75        --disable-static
76
77%{__make} %{?_smp_mflags}
78
79
80%install
81%{__rm} -rf ${RPM_BUILD_ROOT}
82%{__make} install DESTDIR=${RPM_BUILD_ROOT}
83
84find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
85find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
86
87
88%clean
89%{__rm} -rf ${RPM_BUILD_ROOT}
90
91%post -p /sbin/ldconfig
92
93%postun -p /sbin/ldconfig
94
95
96%files
97%defattr(-,root,root,-)
98%doc COPYING ChangeLog NEWS README
99%{_sysconfdir}/pango/pangox.aliases
100%{_libdir}/libpangox-1.0.so.*
101
102%files devel
103%defattr(-,root,root,-)
104%{_includedir}/pango-1.0
105%{_libdir}/libpangox-1.0.so
106%{_libdir}/pkgconfig/pangox.pc
107
108%if %{build_compat32}
109%files -n compat32-%{name}
110%defattr(-, root, root,-)
111%{_libdir}/libpangox-1.0.so.*
112
113%files -n compat32-%{name}-devel
114%defattr(-, root, root,-)
115%{_libdir}/libpangox-1.0.so
116%endif
117
118
119%changelog
120* Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.1-1
121- initial build
122
Note: See TracBrowser for help on using the repository browser.