/[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 584317 - (show annotations) (download)
Thu Feb 6 06:49:54 2014 UTC (10 years, 2 months ago) by tv
File size: 2479 byte(s)
bump release (SILENT)
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 4
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
41 %description -n %devname
42 The %{name}-devel package contains libraries and header files for
43 developing applications that use %{name}.
44
45 %package doc
46 Summary: Documentation of %{name} API
47 Group: Documentation
48 BuildArch: noarch
49
50 %description doc
51 The %{name}-doc package contains documentation files for %{name}.
52
53 %package tools
54 Summary: Tools to transform Macromedia/Adobe FreeHand documents into other formats
55 Group: Office/Utilities
56 Requires: %{libname} = %{version}-%{release}
57
58 %description tools
59 Tools to transform Macromedia/Adobe FreeHand documents into other formats.
60 Currently supported: SVG, raw.
61
62 %prep
63 %setup -q
64
65 %patch0 -p1
66
67 %build
68 %configure2_5x --disable-silent-rules --disable-static --disable-werror
69 sed -i \
70 -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
71 -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
72 libtool
73 %make
74
75 %install
76 %makeinstall_std
77 rm -f %{buildroot}/%{_libdir}/*.la
78 # we install API docs directly from build
79 rm -rf %{buildroot}/%{_docdir}/%{name}
80
81
82
83 %files -n %libname
84 %doc AUTHORS COPYING
85 %{_libdir}/%{name}-%{apiversion}.so.*
86
87 %files -n %devname
88 %doc ChangeLog
89 %{_includedir}/%{name}-%{apiversion}
90 %{_libdir}/%{name}-%{apiversion}.so
91 %{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
92
93 %files doc
94 %doc COPYING
95 %doc docs/doxygen/html
96
97 %files tools
98 %{_bindir}/fh2raw
99 %{_bindir}/fh2svg
100

  ViewVC Help
Powered by ViewVC 1.1.30