/[packages]/cauldron/libfreehand/current/SPECS/libfreehand.spec
ViewVC logotype

Contents of /cauldron/libfreehand/current/SPECS/libfreehand.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 584328 - (show annotations) (download)
Thu Feb 6 06:56:41 2014 UTC (10 years, 3 months ago) by tv
File size: 2507 byte(s)
add devel provides
1 %global major 0
2 %define libname %mklibname freehand %major
3 %define devname %mklibname -d freehand
4 %global apiversion 0.0
5
6 Name: libfreehand
7 Version: 0.0.0
8 Release: %mkrel 5
9 Summary: A library for import of Macromedia/Adobe FreeHand documents
10
11 Group: System/Libraries
12 License: MPLv2.0
13 URL: http://www.freedesktop.org/wiki/Software/libfreehand/
14 Source: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.xz
15
16 BuildRequires: doxygen
17 BuildRequires: gperf
18 BuildRequires: libwpd-devel
19 BuildRequires: libwpg-devel
20 BuildRequires: zlib-devel
21
22 Patch0: 0001-coverity-fix-memory-leak.patch
23
24 %description
25 libfreehand is library providing ability to interpret and import
26 Macromedia/Adobe FreeHand documents into various applications.
27
28 %package -n %libname
29 Summary: A library for import of Macromedia/Adobe FreeHand documents
30 Group: System/Libraries
31
32 %description -n %libname
33 libfreehand is library providing ability to interpret and import
34 Macromedia/Adobe FreeHand documents into various applications.
35
36 %package -n %devname
37 Summary: Development files for %{name}
38 Group: Development/C
39 Requires: %{libname} = %{version}-%{release}
40 Provides: libfreehand-devel
41
42 %description -n %devname
43 The %{name}-devel package contains libraries and header files for
44 developing applications that use %{name}.
45
46 %package doc
47 Summary: Documentation of %{name} API
48 Group: Documentation
49 BuildArch: noarch
50
51 %description doc
52 The %{name}-doc package contains documentation files for %{name}.
53
54 %package tools
55 Summary: Tools to transform Macromedia/Adobe FreeHand documents into other formats
56 Group: Office/Utilities
57 Requires: %{libname} = %{version}-%{release}
58
59 %description tools
60 Tools to transform Macromedia/Adobe FreeHand documents into other formats.
61 Currently supported: SVG, raw.
62
63 %prep
64 %setup -q
65
66 %patch0 -p1
67
68 %build
69 %configure2_5x --disable-silent-rules --disable-static --disable-werror
70 sed -i \
71 -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
72 -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
73 libtool
74 %make
75
76 %install
77 %makeinstall_std
78 rm -f %{buildroot}/%{_libdir}/*.la
79 # we install API docs directly from build
80 rm -rf %{buildroot}/%{_docdir}/%{name}
81
82
83
84 %files -n %libname
85 %doc AUTHORS COPYING
86 %{_libdir}/%{name}-%{apiversion}.so.*
87
88 %files -n %devname
89 %doc ChangeLog
90 %{_includedir}/%{name}-%{apiversion}
91 %{_libdir}/%{name}-%{apiversion}.so
92 %{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
93
94 %files doc
95 %doc COPYING
96 %doc docs/doxygen/html
97
98 %files tools
99 %{_bindir}/fh2raw
100 %{_bindir}/fh2svg
101

  ViewVC Help
Powered by ViewVC 1.1.30