]> git.pld-linux.org Git - packages/LANChat.git/commitdiff
- updated to 1.0.3,
authordjrzulf <djrzulf@pld-linux.org>
Sun, 16 Feb 2003 00:52:41 +0000 (00:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- damn, this tarball suck! :)

Changed files:
    LANChat.spec -> 1.21

LANChat.spec

index ff175cfc04460c877a01b41a7fd34ce7698362c6..f1fb1abc5605900c42359acd994cf3db4a73591c 100644 (file)
@@ -1,18 +1,14 @@
 Summary:       LANChat - network-chatting program
 Summary(pl):   LANChat - program do sieciowych pogaduszek
 Name:          LANChat
-Version:       1.0.2
-Release:       4
+Version:       1.0.3
+Release:       1
 License:       GPL
 Group:         Applications/Networking
-Source0:       http://priv4.onet.pl./ki/lanchat/%{name}-%{version}.tar.gz
-Patch0:                %{name}-ac_am.patch
-Patch1:                %{name}-wincrash.patch
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: libtool
+Source0:       http://melun.republika.pl/%{name}-%{version}.tar.gz
 BuildRequires: ncurses-devel >= 5.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define                _broot $HOME/rpm/BUILD/%{name}-%{version}
 
 %description
 LANChat a network-chatting program. It allows you to chat with your
@@ -39,30 +35,29 @@ i Linuksa. Mo
 BRIDGE'ami.
 
 %prep
-%setup -q 
-%patch0 -p1
-%patch1 -p1
+#%setup -q 
+#
+# Ugly workaround for ugly tarball
+#
+rm -rf %{_broot}
+tar zxfv %{SOURCE0} -C $HOME/rpm/BUILD/
+chmod 755 %{_broot}
+cd %{_broot}
+#
 
 %build
-rm -f missing
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__automake}
-CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
-%configure
-%{__make}
+cd %{_broot}
+make CC="gcc %{rpmcflags} -Wall -I/usr/include/ncurses"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install %{_broot}/LANChat $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc NEWS README ROUTING BUGS TODO lanchat.lsm
+%doc %{_broot}/README %{_broot}/ROUTING %{_broot}/BUGS %{_broot}/TODO %{_broot}/lanchat.lsm
 %attr(755,root,root) %{_bindir}/LANChat
This page took 0.125602 seconds and 4 git commands to generate.