diff options
-rw-r--r-- | Makefile.am | 12 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | libvisio-zip.in | 44 | ||||
-rw-r--r-- | libvisio.spec.in | 100 |
4 files changed, 1 insertions, 157 deletions
diff --git a/Makefile.am b/Makefile.am index 7e1cc85..fdddbeb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,21 +14,11 @@ EXTRA_DIST = \ NEWS \ README \ autogen.sh \ - libvisio.pc.in \ - libvisio-zip.in \ - libvisio.spec \ - libvisio.spec.in + libvisio.pc.in distclean-local: rm -rf *.cache *~ *.out *.pc -rpm: dist - rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz - @rm -f $(PACKAGE)-$(VERSION).tar.gz - -zip: all install - sh libvisio-zip - dist-hook: git log --date=short --pretty="format:@%cd %an <%ae> [%H]%n%n%s%n%n%e%b" | sed -e "s|^\([^@]\)|\t\1|" -e "s|^@||" >$(distdir)/ChangeLog diff --git a/configure.ac b/configure.ac index 969bc45..673af7c 100644 --- a/configure.ac +++ b/configure.ac @@ -333,8 +333,6 @@ build/win32/Makefile docs/Makefile docs/doxygen/Makefile libvisio-$VSD_MAJOR_VERSION.$VSD_MINOR_VERSION.pc:libvisio.pc.in -libvisio.spec -libvisio-zip ]) AC_OUTPUT diff --git a/libvisio-zip.in b/libvisio-zip.in deleted file mode 100644 index 3b337ad..0000000 --- a/libvisio-zip.in +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh - -# Build runtime and developer zipfiles for libvisio on Win32. - -ZIP=libvisio-@VSD_VERSION@-MinGW.zip -DEVZIP=libvisio-devel-@VSD_VERSION@-MinGW.zip -TOOLSZIP=libvisio-tools-@VSD_VERSION@.zip - -cd $DESTDIR@prefix@ - -DLLDIR=lib -[ -f bin/libvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@.dll ] && \ -DLLDIR=bin - -@STRIP@ --strip-unneeded \ -$DLLDIR/libvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@.dll - -@STRIP@ --strip-all \ -bin/vsd2raw.exe \ -bin/vsd2xhtml.exe - -upx -qqq --best \ -$DLLDIR/libvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@.dll \ -bin/vsd2raw.exe \ -bin/vsd2xhtml.exe - -rm -f $ZIP -zip -q -r $ZIP -@ <<EOF -$DLLDIR/libvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@.dll -EOF - -rm -f $DEVZIP -zip -q -r $DEVZIP -@ <<EOF -include/libvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@ -lib/libvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@.dll.a -lib/libvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@.a -lib/pkgconfig/libvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@.pc -EOF - -rm -f $TOOLSZIP -zip -q -r -j $TOOLSZIP -@ <<EOF -bin/vsd2raw.exe -bin/vsd2xhtml.exe -EOF diff --git a/libvisio.spec.in b/libvisio.spec.in deleted file mode 100644 index 875e948..0000000 --- a/libvisio.spec.in +++ /dev/null @@ -1,100 +0,0 @@ -%define name libvisio -%define version @VERSION@ -%define RELEASE 1 -%define release %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} - -Name: %{name} -Summary: Library for parsing the visio file format structure -Version: %{version} -Release: %{release} -Source: %{name}-%{version}.tar.gz -Group: System Environment/Libraries -URL: http://libvisio.sf.net/ -BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot -BuildRequires: librevenge-devel >= 0.9.0, gcc-c++, libstdc++-devel, pkgconfig >= 0.9.0 -License: LGPL -Prefix: %{prefix} - -%description -libvisio is a library for parsing the visio file format structure - -%package tools -Requires: libvisio -Tools to convert Visio documents into other formats. -Group: Applications/Publishing - -%description tools -Tools to convert Visio documents into other formats. -Currently supported: raw xhtml (with embedded svg pages) - -%package devel -Requires: %{name} >= %{version} -Requires: librevenge-devel >= 0.9.0 -Summary: Files for developing with libvisio. -Group: Development/Libraries - -%description devel -Includes and definitions for developing with libvisio. - -%if %{!?_without_docs:1}%{?_without_docs:0} -%package docs -Requires: %{name} >= %{version} -BuildRequires: doxygen -Summary: Documentation of libvisio API -Group: Development/Documentation - -%description docs -Documentation of libvisio API for developing with libvisio -%endif - -%prep -%__rm -rf $RPM_BUILD_ROOT - -%setup -q -n %{name}-%{version} - -%build -%configure --prefix=%{_prefix} --libdir=%{_libdir} \ - %{?_with_debug:--enable-debug} \ - -%__make - -%install -umask 022 - -%__make DESTDIR=$RPM_BUILD_ROOT install -%__rm -rf $RPM_BUILD_ROOT/%{_libdir}/libvisio*.la - -%clean -%__rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/file.list.%{name} - -%files -%defattr(644,root,root,755) -%{_libdir}/libvisio*.so.* -%doc ChangeLog README COPYING AUTHORS - -%files tools -%defattr(755,root,root,755) -%{_bindir}/visio2* - -%files devel -%defattr(644,root,root,755) -%{_libdir}/libvisio*.so -%{_libdir}/pkgconfig/libvisio*.pc -%{_includedir}/libvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@/libvisio - -%if %{!?_without_docs:1}%{?_without_docs:0} -%files docs -%{_datadir}/* -%endif - -%changelog -* Web Aug 10 2011 Rene Engelhard <rene@debian.org> -- fix up descriptions - -* Fri Apr 20 2007 Fridrich Strba <fridrich.strba@bluewin.ch> -- Add documentation packaging -- Make doc and stream optional - -* Tue Jan 27 2004 Fridrich Strba <fridrich.strba@bluewin.ch> -- Create rpm spec according to the rpm spec of libwpD -- of Rui M. Seabra |