diff options
author | crunchy <crunchy> | 2002-09-15 14:55:57 +0000 |
---|---|---|
committer | crunchy <crunchy> | 2002-09-15 14:55:57 +0000 |
commit | 38734679e4a63712715368e95081cd21a2d0d1d1 (patch) | |
tree | 2e463277ffb0a829402970879a7ddb288e264618 /mpio.spec.in | |
parent | a9c7d297c5244f6ffc5ac0f977b56f7e19d14cd1 (diff) | |
download | mpiosh-38734679e4a63712715368e95081cd21a2d0d1d1.tar.gz mpiosh-38734679e4a63712715368e95081cd21a2d0d1d1.tar.bz2 mpiosh-38734679e4a63712715368e95081cd21a2d0d1d1.zip |
spec file; fixes
Diffstat (limited to 'mpio.spec.in')
-rw-r--r-- | mpio.spec.in | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/mpio.spec.in b/mpio.spec.in index 301850b..303a8c2 100644 --- a/mpio.spec.in +++ b/mpio.spec.in @@ -1,22 +1,22 @@ -# @configure_input@ +%define version @VERSION@ +%define release 1 +%define name mpio -Version: @VERSION@ +Version: %version Summary: MPIO - providing access to MPIO mp3 players -Name: mpio -Release: 1 +Name: %name +Release: %release Copyright: see COPYING Group: Applications/MultiMedia -Source: http://download.sourceforge.net/mpio/ +Source: http://download.sourceforge.net/mpio/mpio-@VERSION@.tar.gz Prefix: /usr -Buildroot: /var/tmp/mpio-%version-buildroot/ +Buildroot: /var/tmp/mpio-@VERSION@-buildroot/ Packager: Andreas Büsching <crunchy@tzi.de> -%define confdir /etc - %description This is a project for using Digitalway/Adtec digital audio player MPIO (DMG, DMK, DME) under Linux. It provides Linux kernel module driver, -userspace library and utility. +a userspace library and at the moment one tool to access the MPIO player. %prep %setup @@ -29,19 +29,25 @@ make rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install-strip +%post +mkmpiodev +ldconfig + +%preun +mkmpiodev -r + %files -# %attr(750,root,news) %dir %confdir/ -# %attr(640,root,news) %confdir/config.example -# %defattr(755,root,root) -# %prefix/bin/newsq -# %defattr(755,root,root) -# %prefix/sbin/* -# %defattr(644,root,root) -# %doc %_mandir/man1/* -# %doc %_mandir/man8/* +%defattr(755,root,root) +%prefix/bin/mpiosh +%prefix/lib/libmpio* +%defattr(700,root,root) +%prefix/sbin/mkmpiodev +%defattr(644,root,root) +@MODULE_PATH@/mpio.o %doc COPYING ChangeLog INSTALL NEWS %doc README TODO %clean rm -rf $RPM_BUILD_ROOT + |