forked from pool/hxtools
Accepting request 59122 from home:jengelh:dev
Accepted submit request 59122 from user jengelh OBS-URL: https://build.opensuse.org/request/show/59122 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hxtools?expand=0&rev=1
This commit is contained in:
commit
58dd4aadeb
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
hxtools-20101227.tar.xz
Normal file
3
hxtools-20101227.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:18069e1746918b0a6135561bd2c927be1a6a00bf8767a9f02f1cc41566a8edfe
|
||||
size 268932
|
7
hxtools-20101227.tar.xz.asc
Normal file
7
hxtools-20101227.tar.xz.asc
Normal file
@ -0,0 +1,7 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.15 (GNU/Linux)
|
||||
|
||||
iEYEABECAAYFAk0YdG4ACgkQ92gFgoRMQ2DwCwCcCknb2coekQ68k2ZnJSd7AW4L
|
||||
uHMAn1/0RAQ1C9l1+koJhYbwYcC4+VKx
|
||||
=Pu/h
|
||||
-----END PGP SIGNATURE-----
|
6
hxtools.changes
Normal file
6
hxtools.changes
Normal file
@ -0,0 +1,6 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 21 16:27:06 UTC 2010 - jengelh@medozas.de
|
||||
|
||||
- Initial package for build.opensuse.org
|
||||
|
||||
|
118
hxtools.spec
Normal file
118
hxtools.spec
Normal file
@ -0,0 +1,118 @@
|
||||
|
||||
Name: hxtools
|
||||
Version: 20101227
|
||||
Release: 0
|
||||
Group: System/Base
|
||||
URL: http://jengelh.medozas.de/projects/hxtools/
|
||||
Summary: Collection of day-to-day tools
|
||||
|
||||
Source: %name-%version.tar.xz
|
||||
Source2: %name-%version.tar.xz.asc
|
||||
License: GPL,PD
|
||||
# freetype2, xorg-x11 for "bdftopcf"
|
||||
BuildRequires: libHX-devel >= 3.4, freetype2, libcap-devel
|
||||
BuildRequires: xorg-x11, pkg-config, xz
|
||||
BuildRequires: -hxtools-data
|
||||
BuildRoot: %_tmppath/%name-%version-build
|
||||
Recommends: hxtools-data = %version
|
||||
|
||||
%if "%{?vendor_uuid}" != ""
|
||||
Provides: %name(vendor:%vendor_uuid) = %version-%release
|
||||
%endif
|
||||
|
||||
%description
|
||||
A collection of various tools. Some of the important ones:
|
||||
|
||||
* checkbrack(1) — check parenthesis and bracket count
|
||||
* cwdiff(1) — run wdiff with color
|
||||
* declone(1) — break hardlinks
|
||||
* diff2php(1) — transform patch to self-serving PHP file
|
||||
* doxygen-kerneldoc-filter(1) — filter for Doxygen to support kerneldoc
|
||||
* fd0ssh(1) — pipe for password-over-stdin support to ssh
|
||||
* filenameconv(1) — convert file name encoding
|
||||
* flv2avi(1) — repackage Flash video into an AVI container with PCM audio
|
||||
* fnt2bdf(1) — convert VGA raw fonts to X11 BDF
|
||||
* git-author-stat(1) — show commit author statistics of a git repository
|
||||
* git-export-patch(1) — produce perfect patch from git comits for mail submission
|
||||
* git-forest(1) — display the commit history forest
|
||||
* git-lemon(1) — don't just pick cherries, but take it all (cherry- pick a commit range)
|
||||
* git-new-root(1) — start a new root in the git history
|
||||
* git-revert-stats(1) — show reverting statistics of a git repository
|
||||
* git-track(1) — set up branch for tracking a remote
|
||||
* man2html(1) — convert nroff manpages to HTML
|
||||
* newns(8) — clone current filesystem namespace and start a process
|
||||
* ofl(1) — open file lister (replaces fuser and lsof -m)
|
||||
* pesubst(1) — perl-regexp stream substitution (replaces sed for sub‐ stitutions)
|
||||
* pmap_dirty(1) — display amount of RAM a process uses hard
|
||||
* recursive_lower(1) — recursively lowercase all filenames
|
||||
* spec-beautifier(1) — program to clean up RPM .spec files
|
||||
* sysinfo(1) — print IRC-style system information banner
|
||||
* tailhex(1) — hex dumper with tail-following support
|
||||
* utmp_register(1) — make entries in the utmp/wtmp database
|
||||
* vcsaview(8) — display a screen dump in VCSA format
|
||||
* vfontas(1) — VGA font file assembler
|
||||
* wktimer(1) — work timer
|
||||
|
||||
%package data
|
||||
Group: System/Base
|
||||
Summary: Collection day-to-day tools (data)
|
||||
Requires: hxtools = %version
|
||||
Obsoletes: hxtools-noarch
|
||||
BuildArch: noarch
|
||||
|
||||
%description data
|
||||
Architecture-indepent data for hxtools.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--datadir=%_datadir/%name \
|
||||
--with-keymapdir=%_datadir/kbd/keymaps \
|
||||
--with-vgafontdir=%_datadir/kbd/consolefonts \
|
||||
--with-x11fontdir=%_datadir/fonts
|
||||
make %{?_smp_mflags};
|
||||
|
||||
%install
|
||||
o="$PWD";
|
||||
b="%buildroot";
|
||||
rm -Rf "$b";
|
||||
mkdir "$b";
|
||||
make install DESTDIR="$b";
|
||||
install -dm0755 "$b/%_sysconfdir/openldap/schema" "$b/%_datadir/mc/syntax";
|
||||
install -pm0644 cooledit/*.syntax "$b/%_datadir/mc/syntax/";
|
||||
install -pm0644 data/rfc2307bis-utf8.schema "$b/%_sysconfdir/openldap/schema/";
|
||||
cd "$b";
|
||||
find * -type f ! -wholename "usr/share/man*" -print0 | \
|
||||
xargs -0 grep -l ELF | perl -ne 'print"/$_"' >"$o/binary.lst";
|
||||
find * -type f ! -wholename "usr/share/man*" -print0 | \
|
||||
xargs -0 grep -L ELF | perl -ne 'print"/$_"' >"$o/data.lst";
|
||||
chmod a+x "$b/%_sysconfdir"/hx*.bash;
|
||||
ln "$b/%_sysconfdir/hxtools_dircolors" "$b/%_sysconfdir/DIR_COLORS";
|
||||
mkdir -p "$b/%_sysconfdir/profile.d";
|
||||
ln -s "../hxtools_profile.bash" "$b/%_sysconfdir/profile.d/z_hxtools_profile.sh";
|
||||
|
||||
%clean
|
||||
rm -Rf "%buildroot";
|
||||
|
||||
%files -f binary.lst
|
||||
%defattr(-,root,root)
|
||||
%dir %_libexecdir/%name
|
||||
|
||||
%files data -f data.lst
|
||||
%defattr(-,root,root)
|
||||
%config %_sysconfdir/hx*
|
||||
%config %_sysconfdir/DIR_COLORS
|
||||
%config %_sysconfdir/profile.d/*
|
||||
%dir %_sysconfdir/openldap
|
||||
%dir %_sysconfdir/openldap/schema
|
||||
%config %_sysconfdir/openldap/schema/*
|
||||
%dir %_libexecdir/%name
|
||||
%_datadir/%name
|
||||
%_datadir/kbd
|
||||
%_datadir/fonts/misc
|
||||
%_datadir/mc
|
||||
%doc %_mandir/*/*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user