]> git.pld-linux.org Git - packages/crafted.git/commitdiff
- new, rather unusable yet (but let notifier monitor this)
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 22 Dec 2002 21:59:47 +0000 (21:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    crafted-acfix.patch -> 1.1
    crafted.spec -> 1.1

crafted-acfix.patch [new file with mode: 0644]
crafted.spec [new file with mode: 0644]

diff --git a/crafted-acfix.patch b/crafted-acfix.patch
new file mode 100644 (file)
index 0000000..de6bf94
--- /dev/null
@@ -0,0 +1,25 @@
+--- crafted-0.1.3/configure.in.orig    Tue Mar  5 23:35:12 2002
++++ crafted-0.1.3/configure.in Sun Dec 22 22:50:42 2002
+@@ -55,18 +55,18 @@
+ if test -z "$LIBZ"; then
+   AC_CHECK_LIB(z, gzsetparams,
+-               AC_CHECK_HEADER(zlib.h,
++               [AC_CHECK_HEADER(zlib.h,
+                                [LIBS="$LIBS -lz"
+                                 AC_DEFINE(HAVE_ZLIB)],
+-                               AC_MSG_ERROR(*** ZLIB header files not found ***)),
++                               AC_MSG_ERROR(*** ZLIB header files not found ***))],
+                AC_MSG_ERROR(*** ZLIB library not found ***))
+ fi
+ if test -z "$LIBPNG"; then
+   AC_CHECK_LIB(png, png_read_info,
+-               AC_CHECK_HEADER(png.h,
++               [AC_CHECK_HEADER(png.h,
+                                png_ok=yes,
+-                               png_ok=no),
++                               png_ok=no)],
+                AC_MSG_ERROR(*** PNG library not found ***), -lz -lm)
+   if test "$png_ok" = yes; then
+     AC_MSG_CHECKING([for png_structp in png.h])
diff --git a/crafted.spec b/crafted.spec
new file mode 100644 (file)
index 0000000..2acaa81
--- /dev/null
@@ -0,0 +1,54 @@
+Summary:       Crafted - an editor for Freecraft maps
+Summary(pl):   Crafted - edytor do map Freecrafta
+Name:          crafted
+Version:       0.1.3
+Release:       1
+License:       GPL
+Group:         X11/Applications/Games
+Source0:       ftp://ftp.sourceforge.net/pub/sourceforge/freecraft/%{name}-%{version}.tar.gz
+Patch0:                %{name}-acfix.patch
+URL:           http://freecraft.org/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: gtk+-devel >= 1.2.0
+BuildRequires: libpng-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
+
+%description
+Crafted - an editor for Freecraft maps.
+
+%description -l pl
+Crafted - edytor do map Freecrafta.
+
+%prep
+%setup -q
+%patch -p1
+
+%build
+%{__gettextize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
This page took 0.070179 seconds and 4 git commands to generate.