]> git.pld-linux.org Git - packages/libvisio.git/commitdiff
- initial/half raw
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 11 Feb 2012 17:48:59 +0000 (17:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libvisio.spec -> 1.1

libvisio.spec [new file with mode: 0644]

diff --git a/libvisio.spec b/libvisio.spec
new file mode 100644 (file)
index 0000000..a414b98
--- /dev/null
@@ -0,0 +1,80 @@
+Summary:       A library providing ability to interpret and import visio diagrams
+Name:          libvisio
+Version:       0.0.14
+Release:       1
+License:       GPL+ or LGPLv2+ or MPLv1.1
+Group:         Libraries
+URL:           http://www.freedesktop.org/wiki/Software/libvisio
+Source0:       http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.xz
+# Source0-md5: 740188f5b72cc290c89bf306461178ad
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires: boost-devel
+BuildRequires: doxygen
+BuildRequires: libwpd-devel
+BuildRequires: libwpg-devel
+
+%description
+Libvisio is library providing ability to interpret and import visio
+diagrams into various applications. You can find it being used in
+libreoffice.
+
+%package devel
+Summary:       Development files for %{name}
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      pkgconfig
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%package tools
+Summary:       Tools to transform Visio diagrams into other formats
+Group:         Applications/Publishing
+Requires:      %{name} = %{version}-%{release}
+
+%description tools
+Tools to transform Visio diagrams into other formats. Currently
+supported: XHTML, raw.
+
+%prep
+%setup -q
+
+%build
+%configure \
+       --disable-static \
+       --disable-werror \
+
+%{__make}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog COPYING.*
+%attr(755,root,root) %{_libdir}/%{name}-0.0.so.*
+
+%files devel
+%doc %{_docdir}/%{name}
+%defattr(644,root,root,755)
+%{_includedir}/%{name}-0.0
+%attr(755,root,root) %{_libdir}/%{name}-0.0.so
+%{_pkgconfigdir}/%{name}-0.0.pc
+
+%files tools
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/vsd2raw
+%attr(755,root,root) %{_bindir}/vsd2xhtml
This page took 0.040337 seconds and 4 git commands to generate.