Changeset 1603 for spec/trunk/SPECS/mikmod.spec
- Timestamp:
- Mar 2, 2019, 2:30:14 PM (7 years ago)
- File:
-
- 1 edited
-
spec/trunk/SPECS/mikmod.spec (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/mikmod.spec
r716 r1603 1 %define svn_url http://svn.netlabs.org/repos/ports/mikmod/trunk 2 %define svn_rev 1464 1 Name: mikmod 2 Version: 3.2.8 3 Release: 1%{?dist} 4 Summary: Console music module player 5 Group: Applications/Multimedia 6 License: GPLv2 and LGPLv2+ 7 URL: http://mikmod.sourceforge.net/ 8 %scm_source svn http://svn.netlabs.org/repos/ports/mikmod/trunk 2340 3 9 4 Summary: Music module player 5 Name: mikmod 6 Version: 3.2.7 7 Release: 1%{?dist} 8 License: GPLv2 and LGPLv2+ 9 Group: Applications/Multimedia 10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot 11 BuildRequires: ncurses-devel libmikmod-devel 12 URL: http://mikmod.raphnet.net/ 13 #Source0: http://mikmod.raphnet.net/files/mikmod-%{version}-beta1.tar.bz2 14 Source: %{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip 15 #Patch0: mikmod-3.2.2-beta1-missing-protos.patch 16 #Patch1: mikmod-3.2.2-beta1-various-fixes.patch 10 BuildRequires: gcc 11 BuildRequires: ncurses-devel 12 BuildRequires: libmikmod-devel 17 13 18 14 %description … … 28 24 Install the mikmod package if you need a MOD music file player. 29 25 30 31 26 %prep 32 %if %{?svn_rev:%(sh -c 'if test -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" ; then echo 1 ; else echo 0 ; fi')}%{!?svn_rev):0} 33 %setup -q 34 %else 35 %setup -q -n "%{name}-%{version}" -Tc 36 svn export %{?svn_rev:-r %{svn_rev}} %{svn_url} . --force 37 rm -f "%{_sourcedir}/%{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip" 38 (cd .. && zip -SrX9 "%{_sourcedir}/%{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip" "%{name}-%{version}") 39 %endif 40 41 #%patch0 -p1 42 #%patch1 -p1 -b .various-fixes 43 44 autoreconf -fi 27 %scm_setup 28 autoreconf -vif 45 29 46 30 %build 47 export LDFLAGS="-g -Zhigh-mem" 48 49 %configure 50 51 %{__make} %{?_smp_mflags} CFLAGS="-g $RPM_OPT_FLAGS `libmikmod-config --cflags`" 52 31 export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 32 export LIBS="-lcx" 33 %configure 34 make %{?_smp_mflags} 53 35 54 36 %install 55 rm -rf $RPM_BUILD_ROOT 56 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" 57 rm -f $RPM_BUILD_ROOT%{_infodir}/dir 58 59 60 %clean 61 rm -rf $RPM_BUILD_ROOT 62 37 %make_install INSTALL="install -p" 63 38 64 39 %files 65 %defattr(-, root, root) 66 %doc AUTHORS COPYING NEWS README 67 %{_bindir}/mikmod.exe 68 %{_datadir}/mikmod 69 %{_mandir}/man1/mikmod* 70 40 %license COPYING 41 %doc AUTHORS NEWS README 42 %{_bindir}/%{name}.exe 43 %{_datadir}/%{name}/ 44 %{_mandir}/man1/%{name}.1* 71 45 72 46 %changelog 73 * Fri Mar 19 2016 Valery V. Sedletski <_valerius@mail.ru> - 3.2.7-1 47 * Sat Mar 02 2019 Elbert Pol <elbert.pol@gmail.com> 48 - Updated to latest source 49 - Change some .spec lines 50 51 * Thu Apr 14 2016 Valery V.Sedletski <_valerius@mail.ru> - 3.2.7-2 52 - Made the .spec in accordance with Fedora version 53 54 * Sat Mar 19 2016 Valery V. Sedletski <_valerius@mail.ru> - 3.2.7-1 74 55 - Initial OS/2 packaging.
Note:
See TracChangeset
for help on using the changeset viewer.
