- new
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 30 Oct 2002 12:32:23 +0000 (12:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cyc_async.spec -> 1.1

cyc_async.spec [new file with mode: 0644]

diff --git a/cyc_async.spec b/cyc_async.spec
new file mode 100644 (file)
index 0000000..d7dd60e
--- /dev/null
@@ -0,0 +1,64 @@
+Summary:       Utilities for Cyclades-Z and Cyclom-Y asynchronous multiport boards
+Summary(pl):   Narz√™dzia dla asynchronicznych kart wieloportowych Cyclades-Z i Cyclom-Y
+Name:          cyc_async
+Version:       6.6.1
+Release:       1
+License:       GPL
+Group:         Applications/Networking
+# "stable": ftp://ftp.cyclades.com/pub/cyclades/async/linux/%{name}-659.tgz
+Source0:       ftp://ftp.cyclades.com/pub/cyclades/async/linux/beta/%{name}-%{version}.tgz
+Patch0:                %{name}-system-libpci.patch
+Patch1:                %{name}-cyzfirm-path.patch
+URL:           http://www.cyclades.com/
+BuildRequires: pciutils-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Utilities for Cyclades-Z and Cyclom-Y asynchronous multiport boards.
+
+%description -l pl
+Narz√™dzia dla asynchronicznych kart wieloportowych Cyclades-Z i
+Cyclom-Y.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+
+%build
+cd common
+# avoid using precompiled versions
+rm -f pciutils.h cyclades-z/{lib,pciutils.h}
+%{__make} clean
+%{__make} clean -C cyclades-z
+%{__make} clean -C cyclom-y
+
+%{__make} \
+       CC="%{__cc}" \
+       OPT="%{rpmcflags} %{!?debug:-fomit-frame-pointer} -I/usr/include/pci"
+
+%{__make} -C cyclades-z \
+       CC="%{__cc}" \
+       OPT="%{rpmcflags} %{!?debug:-fomit-frame-pointer} -I/usr/include/pci"
+
+%{__make} -C cyclom-y \
+       CC="%{__cc}" \
+       OPT="%{rpmcflags} %{!?debug:-fomit-frame-pointer} -I/usr/include/pci"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_datadir}/cyc_async}
+
+cd common
+install cylines cyclades-z/{cyzload,cyzutil} cyclom-y/cyyutil \
+       $RPM_BUILD_ROOT%{_sbindir}
+install cyclades-z/cyzfirm.bin $RPM_BUILD_ROOT%{_datadir}/cyc_async
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_sbindir}/*
+%{_datadir}/%{name}
This page took 0.106345 seconds and 4 git commands to generate.