diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c4add80 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +shed-1.15.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/shed-1.15-configure_cflags.patch b/shed-1.15-configure_cflags.patch new file mode 100644 index 0000000..7a1e7c9 --- /dev/null +++ b/shed-1.15-configure_cflags.patch @@ -0,0 +1,11 @@ +--- configure 2009-03-24 08:42:37.000000000 -0500 ++++ configure.patched 2009-04-21 11:13:11.000000000 -0500 +@@ -3367,7 +3367,7 @@ + + test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +-CFLAGS="-Wall" ++CFLAGS="$CFLAGS -Wall" + + + # Check whether --enable-debug was given. diff --git a/shed-1.15-makefile_in.patch b/shed-1.15-makefile_in.patch new file mode 100644 index 0000000..84ad676 --- /dev/null +++ b/shed-1.15-makefile_in.patch @@ -0,0 +1,32 @@ +--- Makefile.in 2009-04-20 13:24:18.000000000 -0500 ++++ Makefile.in.patched 2009-04-20 13:20:53.000000000 -0500 +@@ -34,7 +34,7 @@ + subdir = . + DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \ +- ChangeLog INSTALL NEWS TODO depcomp install-sh missing ++ ChangeLog INSTALL NEWS TODO depcomp missing + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + am__aclocal_m4_deps = $(top_srcdir)/configure.in + am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ +@@ -489,11 +489,6 @@ + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + + installcheck: installcheck-am +-install-strip: +- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ +- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ +- `test -z '$(STRIP)' || \ +- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + mostlyclean-generic: + + clean-generic: +@@ -566,7 +561,7 @@ + + uninstall-man: uninstall-man1 + +-.MAKE: install-am install-strip ++.MAKE: install-am + + .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ + clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \ diff --git a/shed.spec b/shed.spec new file mode 100644 index 0000000..0bc710a --- /dev/null +++ b/shed.spec @@ -0,0 +1,71 @@ +Name: shed +Version: 1.15 +Release: 3%{?dist} +Summary: Easy to use hex editor + +Group: Applications/Editors +License: GPLv2+ +URL: http://shed.sourceforge.net/ +Source0: http://master.dl.sourceforge.net/shed/%{name}-%{version}.tar.gz +Patch0: shed-1.15-makefile_in.patch +Patch1: shed-1.15-configure_cflags.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root + +BuildRequires: ncurses-devel + +%description +shed is an easy to use hex editor written for unix/linux using ncurses, +with a friendly pico-style interface. + + +%prep +%setup -q +%patch0 -p0 +%patch1 -p0 + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING ChangeLog README TODO BUGS +%{_bindir}/%{name} +%{_mandir}/man1/shed.1* + + +%changelog +* Tue Apr 21 2009 Adam Miller - 1.15-3 +- Patched the configure cflags + +* Mon Apr 20 2009 Adam Miller - 1.15-2 +- Fixed debuginfo issue, patched Makefile.in to not strip + +* Mon Apr 13 2009 Adam Miller - 1.15-1 +- New upstream release. + +* Wed Feb 25 2009 Fedora Release Engineering - 1.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Nov 27 2008 Adam Miller - 1.14-1 +- New upstream release. + +* Sun Nov 02 2008 Adam Miller - 1.13-3 +- Fixed the license listing for the project. + +* Wed Oct 29 2008 Adam Miller - 1.13-2 +- Fixed issues that were brought to my attention from package review +- Typo in download, removed chmod, added changelog, incremented release + +* Fri Oct 24 2008 Adam Miller - 1.13-1 +- First build of shed for fedora diff --git a/sources b/sources new file mode 100644 index 0000000..385b42f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +c7d7d464d6b4fa28a7980270d03e0906 shed-1.15.tar.gz