diff options
author | germeier <germeier> | 2004-03-24 22:14:20 +0000 |
---|---|---|
committer | germeier <germeier> | 2004-03-24 22:14:20 +0000 |
commit | 195314b4b75fb568677f3b81a1971a881c67cdf1 (patch) | |
tree | 6b0fd5e43a4343c8327ecc3f6d49edd0c1e7008e /mpio.spec.in | |
parent | efe455139fa6d17aa74e71453870675bb67f6795 (diff) | |
download | mpiosh-195314b4b75fb568677f3b81a1971a881c67cdf1.tar.gz mpiosh-195314b4b75fb568677f3b81a1971a881c67cdf1.tar.bz2 mpiosh-195314b4b75fb568677f3b81a1971a881c67cdf1.zip |
small build environment updates
updated mpio.spec.in file
Diffstat (limited to 'mpio.spec.in')
-rw-r--r-- | mpio.spec.in | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/mpio.spec.in b/mpio.spec.in index e802974..7ffa6d5 100644 --- a/mpio.spec.in +++ b/mpio.spec.in @@ -1,8 +1,7 @@ # -*- rpm-spec -*- %define version @VERSION@ -%define release 1 +%define release @RELEASE@ %define name mpio -%define spec_path @SPEC_PATH@ %define prefix /usr %define sysconfdir %prefix/etc @@ -16,11 +15,16 @@ Source: http://download.sourceforge.net/mpio/mpio-@VERSION@.tar.gz Prefix: %prefix Buildroot: /var/tmp/mpio-@VERSION@-buildroot/ Packager: Andreas Büsching <crunchy@tzi.de> +Requires: libusb >= 0.1.7, readline >= 4.3, ncurses >= 5.0 +BuildRequires: libusb-devel >= 0.1.7 +BuildRequires: readline-devel >= 4.3 +BuildRequires: ncurses-devel >= 5.0 -%description +%description This is a project for using Digitalway/Adtec digital audio player MPIO -(DMG, DMK, DME) under Linux. It provides Linux kernel module driver, -a userspace library and at the moment one tool to access the MPIO player. +(DMG, DMK, DME, DMB, FD 100, FL100, FY100, FY200) under Linux. It uses +libusb and provides a userspace library and at the moment one tool to +access the MPIO player. %prep %setup @@ -38,9 +42,6 @@ echo "%prefix/bin/mpiosh" >> /tmp/mpio-files.lst echo "%prefix/bin/mpiologo" >> /tmp/mpio-files.lst echo "%prefix/lib/libmpio*" >> /tmp/mpio-files.lst echo "%defattr(700,root,root)" >> /tmp/mpio-files.lst -echo "%prefix/sbin/mkmpiodev" >> /tmp/mpio-files.lst -echo "%defattr(644,root,root)" >> /tmp/mpio-files.lst -echo "/lib/modules/$KVERSION/%{spec_path}/mpio.o" >> /tmp/mpio-files.lst echo "%defattr(644,root,root)" >> /tmp/mpio-files.lst echo "%sysconfdir/mpio/mpioshrc" >> /tmp/mpio-files.lst echo "%prefix/include/mpio/mpio.h" >> /tmp/mpio-files.lst @@ -49,12 +50,7 @@ echo "%prefix/include/mpio/defs.h" >> /tmp/mpio-files.lst make DESTDIR=$RPM_BUILD_ROOT install %post -mkmpiodev ldconfig -depmod -a - -%preun -mkmpiodev -r %files -f /tmp/mpio-files.lst |