]> git.pld-linux.org Git - packages/libvisio.git/blame - libvisio.spec
- updated to 0.0.30
[packages/libvisio.git] / libvisio.spec
CommitLineData
fcbf5e86
JB
1#
2# Conditional build:
3%bcond_without static_libs # static library
4#
6e31dce9 5Summary: A library providing ability to interpret and import Visio diagrams
fcbf5e86 6Summary(pl.UTF-8): Biblioteka umożliwiająca interpretowanie i importowanie diagramów Visio
0b4f5b4b 7Name: libvisio
6d4ab4ab 8Version: 0.0.30
0b4f5b4b 9Release: 1
fcbf5e86 10License: GPL v2+ or LGPL v2+ or MPL v1.1
0b4f5b4b 11Group: Libraries
0b4f5b4b 12Source0: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.xz
6d4ab4ab 13# Source0-md5: d691804bd356ec1edfdfd8e0709347ea
fcbf5e86
JB
14URL: http://www.freedesktop.org/wiki/Software/libvisio
15BuildRequires: boost-devel >= 1.36
0b4f5b4b 16BuildRequires: doxygen
7289ee7f 17BuildRequires: gperf >= 3
28aea940 18BuildRequires: libicu-devel
fcbf5e86
JB
19BuildRequires: libstdc++-devel
20BuildRequires: libwpd-devel >= 0.9
21BuildRequires: libwpg-devel >= 0.2
fbc46dfa 22BuildRequires: libxml2-devel >= 2.0
fcbf5e86
JB
23BuildRequires: pkgconfig >= 1:0.20
24BuildRequires: tar >= 1:1.22
25BuildRequires: xz
fbc46dfa 26BuildRequires: zlib-devel
857ba49d 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
0b4f5b4b
AM
28
29%description
6e31dce9 30Libvisio is library providing ability to interpret and import Visio
0b4f5b4b
AM
31diagrams into various applications. You can find it being used in
32libreoffice.
33
6e31dce9 34%description -l pl.UTF-8
fcbf5e86
JB
35Libvisio to biblioteka umożliwiająca interpretowanie i importowanie
36diagramów Visio do wielu aplikacji. Jest wykorzystywana przez
37libreoffice.
6e31dce9 38
0b4f5b4b
AM
39%package devel
40Summary: Development files for %{name}
25747ed1 41Summary(pl.UTF-8): Pliki nagłówkowe dla %{name}
0b4f5b4b
AM
42Group: Development/Libraries
43Requires: %{name} = %{version}-%{release}
fcbf5e86
JB
44Requires: libstdc++-devel
45Requires: libwpd-devel >= 0.9
46Requires: libwpg-devel >= 0.2
fbc46dfa
JB
47Requires: libxml2-devel >= 2.0
48Requires: zlib-devel
0b4f5b4b
AM
49
50%description devel
fcbf5e86
JB
51This package contains the header files for developing applications
52that use %{name}.
0b4f5b4b 53
6e31dce9 54%description devel -l pl.UTF-8
fcbf5e86
JB
55Pen pakiet zawiera pliki nagłówkowe do tworzenia aplikacji opartych na
56%{name}.
57
58%package static
59Summary: Static libvisio library
60Summary(pl.UTF-8): Statyczna biblioteka libvisio
61Group: Development/Libraries
62Requires: %{name}-devel = %{version}-%{release}
63
64%description static
65Static libvisio library.
66
67%description static -l pl.UTF-8
68Statyczna biblioteka libvisio.
6e31dce9 69
857ba49d
ER
70%package apidocs
71Summary: %{name} API documentation
72Summary(pl.UTF-8): Dokumentacja API biblioteki %{name}
73Group: Documentation
74
75%description apidocs
76API and internal documentation for %{name} library.
77
78%description apidocs -l pl.UTF-8
79Dokumentacja API biblioteki %{name}.
80
0b4f5b4b
AM
81%package tools
82Summary: Tools to transform Visio diagrams into other formats
fcbf5e86 83Summary(pl.UTF-8): Programy przekształcania diagramów Visio do innych formatów
0b4f5b4b
AM
84Group: Applications/Publishing
85Requires: %{name} = %{version}-%{release}
86
87%description tools
88Tools to transform Visio diagrams into other formats. Currently
89supported: XHTML, raw.
90
6e31dce9 91%description tools -l pl.UTF-8
fcbf5e86
JB
92Narzędzia do przekształcania diagramów Visio do innych formatów.
93Aktualnie obsługiwane są XHTML i raw.
6e31dce9 94
0b4f5b4b
AM
95%prep
96%setup -q
97
98%build
99%configure \
fcbf5e86 100 --disable-silent-rules \
ffe3e942 101 %{?with_static_libs:--enable-static} \
fcbf5e86 102 --disable-werror
0b4f5b4b
AM
103
104%{__make}
105
106
107%install
108rm -rf $RPM_BUILD_ROOT
0b4f5b4b
AM
109%{__make} install \
110 DESTDIR=$RPM_BUILD_ROOT
111
fcbf5e86 112# obsoleted by pkg-config
857ba49d 113%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
0b4f5b4b
AM
114
115%clean
116rm -rf $RPM_BUILD_ROOT
117
857ba49d
ER
118%post -p /sbin/ldconfig
119%postun -p /sbin/ldconfig
0b4f5b4b
AM
120
121%files
122%defattr(644,root,root,755)
857ba49d 123%doc AUTHORS ChangeLog
fcbf5e86
JB
124%attr(755,root,root) %{_libdir}/libvisio-0.0.so.*.*.*
125%attr(755,root,root) %ghost %{_libdir}/libvisio-0.0.so.0
0b4f5b4b
AM
126
127%files devel
0b4f5b4b 128%defattr(644,root,root,755)
fcbf5e86
JB
129%attr(755,root,root) %{_libdir}/libvisio-0.0.so
130%{_includedir}/libvisio-0.0
131%{_pkgconfigdir}/libvisio-0.0.pc
132
5980bb8d 133%if %{with static_libs}
fcbf5e86
JB
134%files static
135%defattr(644,root,root,755)
136%{_libdir}/libvisio-0.0.a
5980bb8d 137%endif
0b4f5b4b 138
857ba49d
ER
139%files apidocs
140%defattr(644,root,root,755)
141%doc %{_docdir}/%{name}
142
0b4f5b4b
AM
143%files tools
144%defattr(644,root,root,755)
145%attr(755,root,root) %{_bindir}/vsd2raw
48d55392 146%attr(755,root,root) %{_bindir}/vsd2text
0b4f5b4b 147%attr(755,root,root) %{_bindir}/vsd2xhtml
fbc46dfa
JB
148%attr(755,root,root) %{_bindir}/vss2raw
149%attr(755,root,root) %{_bindir}/vss2text
150%attr(755,root,root) %{_bindir}/vss2xhtml
This page took 0.108817 seconds and 4 git commands to generate.