commit 3a49d4adeae3de1c725f49a96af0c7a489dcc0a31d6d6d25f5c30104689ded54 Author: Ismail Dönmez Date: Wed Feb 1 07:21:28 2017 +0000 Accepting request 453532 from home:adra New package submission: jigit can be used by libisofs and libisoburn OBS-URL: https://build.opensuse.org/request/show/453532 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/jigit?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/jigit.changes b/jigit.changes new file mode 100644 index 0000000..8b73925 --- /dev/null +++ b/jigit.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Jan 30 20:19:56 UTC 2017 - asterios.dramis@gmail.com + +- Initial rpm release. diff --git a/jigit.spec b/jigit.spec new file mode 100644 index 0000000..ed780ce --- /dev/null +++ b/jigit.spec @@ -0,0 +1,108 @@ +# +# spec file for package jigit +# +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%define so_ver 1 + +Name: jigit +Version: 1.20 +Release: 0 +Summary: Tools for Working With jigdo Files +License: GPL-2.0 +Group: Productivity/File utilities +Url: http://www.einval.com/~steve/software/JTE/ +Source0: http://www.einval.com/~steve/software/JTE/download/%{name}_%{version}.orig.tar.gz +BuildRequires: libbz2-devel +BuildRequires: zlib-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Utilities written to make jigdo files easier to work with. + +%package -n libjte%{so_ver} +Summary: Jigdo Template Export Library +License: LGPL-2.1+ +Group: System/Libraries + +%description -n libjte%{so_ver} +libjte is a library providing support for creating jigdo files, to be used by +ISO image creation tools. + +%package -n libjte-devel +Summary: Development Files for libjte +License: LGPL-2.1+ +Group: Development/Libraries/C and C++ +Requires: libjte%{so_ver} = %{version} + +%description -n libjte-devel +This package includes development files for libjte. + +%prep +%setup -q + +%build +export CFLAGS="%{optflags}" +make %{?_smp_mflags} jigit-mkimage extract-data jigsum rsyncsum jigdump +cd libjte +%configure \ + --disable-static +make %{?_smp_mflags} +cd .. + +%install +install -dm 0755 %{buildroot}%{_bindir} +install -pm 0755 jigit-mkimage jigsum jigdump %{buildroot}%{_bindir} +install -pm 0755 extract-data %{buildroot}%{_bindir}/jigit-extract-data +install -pm 0755 rsyncsum %{buildroot}%{_bindir}/jigit-rsyncsum +install -pm 0755 jigit mkjigsnap %{buildroot}%{_bindir} +install -dm 0755 %{buildroot}%{_mandir}/man1 +install -pm 0644 jigdump.1 jigit-mkimage.1 jigit.1 jigsum.1 %{buildroot}%{_mandir}/man1/ +install -dm 0755 %{buildroot}%{_mandir}/man8 +install -pm 0644 mkjigsnap.8 %{buildroot}%{_mandir}/man8/ +cd libjte +%make_install +install -pm 0755 bin/jigdo-gen-md5-list %{buildroot}%{_bindir} +install -pm 0644 doc/jigdo-gen-md5-list.1 %{buildroot}%{_mandir}/man1/ +cd .. + +# Remove libtool config files +find %{buildroot} -type f -name "*.la" -delete -print + +%post -n libjte%{so_ver} -p /sbin/ldconfig + +%postun -n libjte%{so_ver} -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING ChangeLog README iso-image.pl +%{_bindir}/* +%{_mandir}/man1/*.1%{ext_man} +%{_mandir}/man8/*.8%{ext_man} + +%files -n libjte%{so_ver} +%defattr(-,root,root,-) +%{_libdir}/libjte.so.%{so_ver}* + +%files -n libjte-devel +%defattr(-,root,root,-) +%doc libjte/{COPYING,COPYRIGHT,ChangeLog} +%doc libjte/doc/{API,NOTES,TODO} +%{_includedir}/libjte/ +%{_libdir}/pkgconfig/* +%{_libdir}/libjte.so + +%changelog diff --git a/jigit_1.20.orig.tar.gz b/jigit_1.20.orig.tar.gz new file mode 100644 index 0000000..2c9269c --- /dev/null +++ b/jigit_1.20.orig.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:459285bd743645381912301578316f2bfafb99ce1c10140a01af2b6cb011f193 +size 430196