1 | %global apiversion 0.1 |
---|
2 | |
---|
3 | Name: libvisio |
---|
4 | Version: 0.1.1 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | Summary: A library for import of Microsoft Visio diagrams |
---|
7 | Summary(ja): Microsoft Visio ダイアグラムをインポートするためのライブラリ |
---|
8 | |
---|
9 | License: MPLv2.0 |
---|
10 | Group: System Environment/Libraries |
---|
11 | URL: http://wiki.documentfoundation.org/DLP/Libraries/libvisio |
---|
12 | |
---|
13 | Source: http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.xz |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | BuildRequires: doxygen |
---|
17 | BuildRequires: cppunit-devel |
---|
18 | BuildRequires: gperf |
---|
19 | BuildRequires: help2man |
---|
20 | BuildRequires: libboost-devel |
---|
21 | BuildRequires: libicu-devel |
---|
22 | BuildRequires: librevenge-devel |
---|
23 | BuildRequires: libxml2-devel |
---|
24 | BuildRequires: perl |
---|
25 | BuildRequires: zlib-devel |
---|
26 | |
---|
27 | %description |
---|
28 | %{name} is library providing ability to interpret and import |
---|
29 | Microsoft Visio diagrams into various applications. You can find it |
---|
30 | being used in libreoffice. |
---|
31 | |
---|
32 | %package devel |
---|
33 | Summary: Development files for %{name} |
---|
34 | Summary(ja): %{name} の開発用ファイル |
---|
35 | Group: Development/Libraries |
---|
36 | Requires: %{name} = %{version}-%{release} |
---|
37 | |
---|
38 | %description devel |
---|
39 | The %{name}-devel package contains libraries and header files for |
---|
40 | developing applications that use %{name}. |
---|
41 | |
---|
42 | %package doc |
---|
43 | Summary: Documentation of %{name} API |
---|
44 | Summary(ja): %{name} API のドキュメント |
---|
45 | Group: Documentation |
---|
46 | BuildArch: noarch |
---|
47 | |
---|
48 | %description doc |
---|
49 | The %{name}-doc package contains documentation files for %{name}. |
---|
50 | |
---|
51 | %package tools |
---|
52 | Summary: Tools to transform Microsoft Visio diagrams into other formats |
---|
53 | Summary(ja): Microsoft Visio ダイアグラムを他のフォーマットに変換するツール |
---|
54 | Group: Applications/Productivity |
---|
55 | Requires: %{name} = %{version}-%{release} |
---|
56 | |
---|
57 | %description tools |
---|
58 | Tools to transform Microsoft Visio diagrams into other formats. |
---|
59 | Currently supported: XHTML, raw, plain text. |
---|
60 | |
---|
61 | %prep |
---|
62 | %setup -q |
---|
63 | |
---|
64 | %build |
---|
65 | %configure --disable-static --disable-silent-rules |
---|
66 | sed -i \ |
---|
67 | -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ |
---|
68 | -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \ |
---|
69 | libtool |
---|
70 | make %{?_smp_mflags} |
---|
71 | |
---|
72 | export LD_LIBRARY_PATH=`pwd`/src/lib/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} |
---|
73 | help2man -N -n 'debug the conversion library' -o vsd2raw.1 ./src/conv/raw/.libs/vsd2raw |
---|
74 | help2man -N -n 'convert Visio document into SVG' -o vsd2xhtml.1 ./src/conv/svg/.libs/vsd2xhtml |
---|
75 | help2man -N -n 'convert Visio document into plain text' -o vsd2text.1 ./src/conv/text/.libs/vsd2text |
---|
76 | help2man -N -n 'debug the conversion library' -o vss2raw.1 ./src/conv/raw/.libs/vss2raw |
---|
77 | help2man -N -n 'convert Visio stencil into SVG' -o vss2xhtml.1 ./src/conv/svg/.libs/vss2xhtml |
---|
78 | help2man -N -n 'convert Visio stencil into plain text' -o vss2text.1 ./src/conv/text/.libs/vss2text |
---|
79 | |
---|
80 | %install |
---|
81 | rm -rf %{buildroot} |
---|
82 | make install DESTDIR=%{buildroot} |
---|
83 | rm -f %{buildroot}/%{_libdir}/*.la |
---|
84 | # rhbz#1001240 we install API docs directly from build |
---|
85 | rm -rf %{buildroot}/%{_docdir}/%{name} |
---|
86 | |
---|
87 | install -m 0755 -d %{buildroot}/%{_mandir}/man1 |
---|
88 | install -m 0644 vsd2*.1 vss2*.1 %{buildroot}/%{_mandir}/man1 |
---|
89 | |
---|
90 | %post -p /sbin/ldconfig |
---|
91 | %postun -p /sbin/ldconfig |
---|
92 | |
---|
93 | %check |
---|
94 | export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} |
---|
95 | # Workaround time formatting problem in the test |
---|
96 | export TZ='CET' |
---|
97 | make check %{?_smp_mflags} |
---|
98 | |
---|
99 | %clean |
---|
100 | rm -rf %{buildroot} |
---|
101 | |
---|
102 | %files |
---|
103 | %doc AUTHORS COPYING.* |
---|
104 | %{_libdir}/%{name}-%{apiversion}.so.* |
---|
105 | |
---|
106 | %files devel |
---|
107 | %doc ChangeLog |
---|
108 | %{_includedir}/%{name}-%{apiversion} |
---|
109 | %{_libdir}/%{name}-%{apiversion}.so |
---|
110 | %{_libdir}/pkgconfig/%{name}-%{apiversion}.pc |
---|
111 | |
---|
112 | %files doc |
---|
113 | %doc COPYING.* |
---|
114 | %doc docs/doxygen/html |
---|
115 | |
---|
116 | %files tools |
---|
117 | %{_bindir}/vsd2raw |
---|
118 | %{_bindir}/vsd2text |
---|
119 | %{_bindir}/vsd2xhtml |
---|
120 | %{_bindir}/vss2raw |
---|
121 | %{_bindir}/vss2text |
---|
122 | %{_bindir}/vss2xhtml |
---|
123 | %{_mandir}/man1/vsd2raw.1* |
---|
124 | %{_mandir}/man1/vsd2text.1* |
---|
125 | %{_mandir}/man1/vsd2xhtml.1* |
---|
126 | %{_mandir}/man1/vss2raw.1* |
---|
127 | %{_mandir}/man1/vss2text.1* |
---|
128 | %{_mandir}/man1/vss2xhtml.1* |
---|
129 | |
---|
130 | %changelog |
---|
131 | * Tue Jan 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.1.1-2 |
---|
132 | - Initial build for Vine Linux |
---|
133 | |
---|
134 | * Fri Jan 02 2015 David Tardon <dtardon@redhat.com> - 0.1.1-1 |
---|
135 | - new upstream release |
---|
136 | |
---|
137 | * Tue Aug 26 2014 David Tardon <dtardon@redhat.com> - 0.1.0-4 |
---|
138 | - rebuild for ICU 53.1 |
---|
139 | |
---|
140 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-3 |
---|
141 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
142 | |
---|
143 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2 |
---|
144 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
145 | |
---|
146 | * Mon May 26 2014 David Tardon <dtardon@redhat.com> - 0.1.0-1 |
---|
147 | - new upstream release |
---|
148 | |
---|
149 | * Thu May 22 2014 Petr Machata <pmachata@redhat.com> - 0.0.31-4 |
---|
150 | - Rebuild for boost 1.55.0 |
---|
151 | |
---|
152 | * Wed Apr 09 2014 David Tardon <dtardon@redhat.com> - 0.0.31-3 |
---|
153 | - generate man pages |
---|
154 | |
---|
155 | * Wed Feb 12 2014 Rex Dieter <rdieter@fedoraproject.org> 0.0.31-2 |
---|
156 | - rebuild (libicu) |
---|
157 | |
---|
158 | * Mon Sep 02 2013 David Tardon <dtardon@redhat.com> - 0.0.31-1 |
---|
159 | - new release |
---|
160 | |
---|
161 | * Fri Aug 30 2013 David Tardon <dtardon@redhat.com> - 0.0.30-4 |
---|
162 | - Resolves: rhbz#1001240 duplicate documentation files / potentially conflicting |
---|
163 | |
---|
164 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.30-3 |
---|
165 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
166 | |
---|
167 | * Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 0.0.30-2 |
---|
168 | - Rebuild for boost 1.54.0 |
---|
169 | |
---|
170 | * Mon Jul 15 2013 David Tardon <dtardon@redhat.com> - 0.0.30-1 |
---|
171 | - new release |
---|
172 | |
---|
173 | * Tue Jul 02 2013 David Tardon <dtardon@redhat.com> - 0.0.29-1 |
---|
174 | - new release |
---|
175 | |
---|
176 | * Wed Jun 05 2013 David Tardon <dtardon@redhat.com> - 0.0.28-1 |
---|
177 | - new release |
---|
178 | |
---|
179 | * Thu May 16 2013 David Tardon <dtardon@redhat.com> - 0.0.27-1 |
---|
180 | - new release |
---|
181 | |
---|
182 | * Tue Apr 23 2013 David Tardon <dtardon@redhat.com> - 0.0.26-1 |
---|
183 | - new release |
---|
184 | |
---|
185 | * Thu Feb 28 2013 David Tardon <dtardon@redhat.com> - 0.0.25-1 |
---|
186 | - new release |
---|
187 | |
---|
188 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.24-2 |
---|
189 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
190 | |
---|
191 | * Tue Dec 18 2012 David Tardon <dtardon@redhat.com> - 0.0.24-1 |
---|
192 | - new release |
---|
193 | |
---|
194 | * Mon Dec 03 2012 David Tardon <dtardon@redhat.com> - 0.0.23-1 |
---|
195 | - new release |
---|
196 | |
---|
197 | * Thu Nov 29 2012 David Tardon <dtardon@redhat.com> - 0.0.22-1 |
---|
198 | - new upstream release |
---|
199 | |
---|
200 | * Wed Nov 21 2012 David Tardon <dtardon@redhat.com> - 0.0.21-1 |
---|
201 | - new upstream release |
---|
202 | |
---|
203 | * Tue Nov 06 2012 David Tardon <dtardon@redhat.com> - 0.0.20-1 |
---|
204 | - new upstream version |
---|
205 | |
---|
206 | * Fri Jul 27 2012 David Tardon <dtardon@redhat.com> - 0.0.19-2 |
---|
207 | - rebuilt for boost 1.50 |
---|
208 | |
---|
209 | * Thu Jul 26 2012 David Tardon <dtardon@redhat.com> - 0.0.19-1 |
---|
210 | - new upstream version |
---|
211 | |
---|
212 | * Tue Jul 24 2012 David Tardon <dtardon@redhat.com> - 0.0.18-3 |
---|
213 | - fix endless loop with text fields in VSD6 |
---|
214 | |
---|
215 | * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.18-2 |
---|
216 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
217 | |
---|
218 | * Fri Jun 22 2012 David Tardon <dtardon@redhat.com> 0.0.18-1 |
---|
219 | - new upstream version |
---|
220 | |
---|
221 | * Fri Jun 01 2012 David Tardon <dtardon@redhat.com> 0.0.17-1 |
---|
222 | - new upstream version |
---|
223 | |
---|
224 | * Tue Apr 17 2012 David Tardon <dtardon@redhat.com> 0.0.16-1 |
---|
225 | - new upstream version |
---|
226 | |
---|
227 | * Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.15-2 |
---|
228 | - Rebuilt for c++ ABI breakage |
---|
229 | |
---|
230 | * Tue Feb 21 2012 David Tardon <dtardon@redhat.com> 0.0.15-1 |
---|
231 | - new upstream version |
---|
232 | |
---|
233 | * Wed Jan 25 2012 David Tardon <dtardon@redhat.com> 0.0.14-1 |
---|
234 | - bump version |
---|
235 | |
---|
236 | - initial import |
---|
237 | * Wed Dec 21 2011 David Tardon <dtardon@redhat.com> 0.0.11-1 |
---|
238 | - initial import |
---|