]> git.pld-linux.org Git - packages/libabw.git/commitdiff
- initial; from fc auto/th/libabw-0.0.1-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 30 Jan 2014 17:19:31 +0000 (18:19 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 30 Jan 2014 17:19:31 +0000 (18:19 +0100)
libabw.spec [new file with mode: 0644]

diff --git a/libabw.spec b/libabw.spec
new file mode 100644 (file)
index 0000000..1a1026d
--- /dev/null
@@ -0,0 +1,84 @@
+%define                apiversion      0.0
+Summary:       A library for import of AbiWord files
+Name:          libabw
+Version:       0.0.1
+Release:       1
+License:       MPLv2.0
+Group:         Libraries
+URL:           http://www.freedesktop.org/wiki/Software/libabw/
+Source0:       http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.xz
+# Source0-md5: 92a82f736aeaf22204ee95bbbcdd69a1
+BuildRequires: boost-devel
+BuildRequires: doxygen
+BuildRequires: gperf
+BuildRequires: libwpd-devel
+BuildRequires: libxml2-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+%{name} is a library for import of AbiWord files.
+
+%package devel
+Summary:       Development files for %{name}
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%package tools
+Summary:       Tools to transform AbiWord files into other formats
+Group:         Applications/Publishing
+Requires:      %{name} = %{version}-%{release}
+
+%description tools
+Tools to transform AbiWord files into other formats. Currently
+supported: XHTML, raw, text.
+
+%prep
+%setup -q
+
+%build
+%configure \
+       --disable-silent-rules \
+       --disable-static \
+       --disable-werror \
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
+
+# we install API docs directly from build
+rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc CREDITS COPYING.MPL README
+%attr(755,root,root) %{_libdir}/%{name}-%{apiversion}.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/%{name}-%{apiversion}.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%doc ChangeLog docs/doxygen/html
+%{_includedir}/%{name}-%{apiversion}
+%attr(755,root,root) %{_libdir}/%{name}-%{apiversion}.so
+%{_pkgconfigdir}/%{name}-%{apiversion}.pc
+
+%files tools
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/abw2raw
+%attr(755,root,root) %{_bindir}/abw2text
+%attr(755,root,root) %{_bindir}/abw2html
This page took 0.063913 seconds and 4 git commands to generate.