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

Revision 8084, 3.1 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

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