]> git.pld-linux.org Git - packages/libfvalue.git/commitdiff
- new auto/th/libfvalue-20150104-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 22 Jan 2015 20:17:33 +0000 (21:17 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 22 Jan 2015 20:17:33 +0000 (21:17 +0100)
libfvalue-system-libs.patch [new file with mode: 0644]
libfvalue.spec [new file with mode: 0644]

diff --git a/libfvalue-system-libs.patch b/libfvalue-system-libs.patch
new file mode 100644 (file)
index 0000000..2e3a4f8
--- /dev/null
@@ -0,0 +1,68 @@
+--- libfvalue-20150104/configure.ac.orig       2015-01-22 18:32:08.452473545 +0100
++++ libfvalue-20150104/configure.ac    2015-01-22 20:48:07.308797816 +0100
+@@ -148,15 +148,6 @@ dnl Have configure make the Makefiles
+ AC_CONFIG_FILES([Makefile])
+ AC_CONFIG_FILES([include/Makefile])
+ AC_CONFIG_FILES([common/Makefile])
+-AC_CONFIG_FILES([libcstring/Makefile])
+-AC_CONFIG_FILES([libcerror/Makefile])
+-AC_CONFIG_FILES([libcthreads/Makefile])
+-AC_CONFIG_FILES([libcdata/Makefile])
+-AC_CONFIG_FILES([libcnotify/Makefile])
+-AC_CONFIG_FILES([libuna/Makefile])
+-AC_CONFIG_FILES([libfdatetime/Makefile])
+-AC_CONFIG_FILES([libfguid/Makefile])
+-AC_CONFIG_FILES([libfwnt/Makefile])
+ AC_CONFIG_FILES([libfvalue/Makefile])
+ AC_CONFIG_FILES([po/Makefile.in])
+ AC_CONFIG_FILES([po/Makevars])
+--- libfvalue-20150104/Makefile.am.orig        2015-01-22 18:32:07.832473571 +0100
++++ libfvalue-20150104/Makefile.am     2015-01-22 20:48:22.792130500 +0100
+@@ -3,15 +3,6 @@ ACLOCAL_AMFLAGS = -I m4
+ SUBDIRS = \
+       include \
+       common \
+-      libcstring \
+-      libcerror \
+-      libcthreads \
+-      libcdata \
+-      libcnotify \
+-      libuna \
+-      libfdatetime \
+-      libfguid \
+-      libfwnt \
+       libfvalue \
+       po \
+       manuals \
+@@ -62,15 +53,6 @@ lib: library
+ library:
+       (cd $(srcdir)/common && $(MAKE) $(AM_MAKEFLAGS))
+-      (cd $(srcdir)/libcstring && $(MAKE) $(AM_MAKEFLAGS))
+-      (cd $(srcdir)/libcerror && $(MAKE) $(AM_MAKEFLAGS))
+-      (cd $(srcdir)/libcthreads && $(MAKE) $(AM_MAKEFLAGS))
+-      (cd $(srcdir)/libcdata && $(MAKE) $(AM_MAKEFLAGS))
+-      (cd $(srcdir)/libcnotify && $(MAKE) $(AM_MAKEFLAGS))
+-      (cd $(srcdir)/libuna && $(MAKE) $(AM_MAKEFLAGS))
+-      (cd $(srcdir)/libfdatetime && $(MAKE) $(AM_MAKEFLAGS))
+-      (cd $(srcdir)/libfguid && $(MAKE) $(AM_MAKEFLAGS))
+-      (cd $(srcdir)/libfwnt && $(MAKE) $(AM_MAKEFLAGS))
+       (cd $(srcdir)/libfvalue && $(MAKE) $(AM_MAKEFLAGS))
+       (cd $(srcdir)/po && $(MAKE) $(AM_MAKEFLAGS))
+@@ -87,15 +69,6 @@ distclean: clean
+       done && test -z "$$fail"
+ splint:
+-      (cd $(srcdir)/libcstring && $(MAKE) splint $(AM_MAKEFLAGS))
+-      (cd $(srcdir)/libcerror && $(MAKE) splint $(AM_MAKEFLAGS))
+-      (cd $(srcdir)/libcthreads && $(MAKE) splint $(AM_MAKEFLAGS))
+-      (cd $(srcdir)/libcdate && $(MAKE) splint $(AM_MAKEFLAGS))
+-      (cd $(srcdir)/libcnotify && $(MAKE) splint $(AM_MAKEFLAGS))
+-      (cd $(srcdir)/libuna && $(MAKE) splint $(AM_MAKEFLAGS))
+-      (cd $(srcdir)/libfdatetime && $(MAKE) splint $(AM_MAKEFLAGS))
+-      (cd $(srcdir)/libfguid && $(MAKE) splint $(AM_MAKEFLAGS))
+-      (cd $(srcdir)/libfwnt && $(MAKE) splint $(AM_MAKEFLAGS))
+       (cd $(srcdir)/libfvalue && $(MAKE) splint $(AM_MAKEFLAGS))
+       (cd $(srcdir)/po && $(MAKE) splint $(AM_MAKEFLAGS))
+       (cd $(srcdir)/tests && $(MAKE) splint $(AM_MAKEFLAGS))
diff --git a/libfvalue.spec b/libfvalue.spec
new file mode 100644 (file)
index 0000000..b1d5c0d
--- /dev/null
@@ -0,0 +1,123 @@
+Summary:       Library to support various format value types
+Summary(pl.UTF-8):     Biblioteka obsługująca różne typy formatów wartości
+Name:          libfvalue
+Version:       20150104
+Release:       1
+License:       LGPL v3+
+Group:         Libraries
+Source0:       https://github.com/libyal/libfvalue/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: bd1744914612ada381ca4c18d5348493
+Patch0:                %{name}-system-libs.patch
+URL:           https://github.com/libyal/libfvalue/
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake >= 1.6
+BuildRequires: gettext-tools >= 0.18.1
+BuildRequires: libcdata-devel >= 20150102
+BuildRequires: libcerror-devel >= 20120425
+BuildRequires: libcnotify-devel >= 20120425
+BuildRequires: libcstring-devel >= 20120425
+BuildRequires: libcthreads-devel >= 20130509
+BuildRequires: libfdatetime-devel >= 20130928
+BuildRequires: libfguid-devel >= 20120426
+BuildRequires: libfwnt-devel >= 20120426
+BuildRequires: libuna-devel >= 20120425
+BuildRequires: libtool
+BuildRequires: pkgconfig
+BuildRequires: sed >= 4.0
+Requires:      libcdata >= 20150102
+Requires:      libcerror >= 20120425
+Requires:      libcnotify >= 20120425
+Requires:      libcstring >= 20120425
+Requires:      libcthreads >= 20130509
+Requires:      libfdatetime >= 20130928
+Requires:      libfguid >= 20120426
+Requires:      libfwnt >= 20120426
+Requires:      libuna >= 20120425
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libfvalue is a library to support various format value types.
+
+%description -l pl.UTF-8
+libfvalue to biblioteka obsługująca różne typy formatów wartości.
+
+%package devel
+Summary:       Header files for libfvalue library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki libfvalue
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      libcdata-devel >= 20150102
+Requires:      libcerror-devel >= 20120425
+Requires:      libcnotify-devel >= 20120425
+Requires:      libcstring-devel >= 20120425
+Requires:      libcthreads-devel >= 20130509
+Requires:      libfdatetime-devel >= 20130928
+Requires:      libfguid-devel >= 20120426
+Requires:      libfwnt-devel >= 20120426
+Requires:      libuna-devel >= 20120425
+
+%description devel
+Header files for libfvalue library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libfvalue.
+
+%package static
+Summary:       Static libfvalue library
+Summary(pl.UTF-8):     Statyczna biblioteka libfvalue
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static libfvalue library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libfvalue.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__gettextize}
+%{__sed} -i -e 's/ po\/Makefile.in//' configure.ac
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libfvalue.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_libdir}/libfvalue.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libfvalue.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libfvalue.so
+%{_includedir}/libfvalue
+%{_includedir}/libfvalue.h
+%{_pkgconfigdir}/libfvalue.pc
+%{_mandir}/man3/libfvalue.3*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libfvalue.a
This page took 0.175298 seconds and 4 git commands to generate.