Changeset 650 for spec/trunk/SPECS


Ignore:
Timestamp:
Jan 27, 2016, 10:13:42 PM (10 years ago)
Author:
dmik
Message:

spec: libkai: Release 1.2.0-1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/libkai.spec

    r576 r650  
    11# The default OS/2 Toolkit path, use --define to override on the command line
    2 %if %{undefined os2_toolkit_path}
    3 %define os2_toolkit_path D:/Tools/OS2TK45
    4 %endif
    5 
    62Summary: K Audio Interface library for OS/2 multimedia subsystem
    73Name: libkai
    8 Version: 1.1.4
     4Version: 1.2.0
    95Release: 1%{?dist}
    106License:  LGPLv2+
    117Group: System Environment/Libraries
     8Vendor: bww bitwise works GmbH
     9URL: https://github.com/komh/kai
    1210
    1311%define github_name kai
     
    1816
    1917BuildRequires: gcc make curl zip
     18
     19BuildRequires: os2tk45-headers os2tk45-libs
    2020
    2121%description
     
    2828Summary: K Audio Interface developer package
    2929Group: Development/Libraries
    30 Requires: libkai = %{version}-%{release}
     30Requires: %{name} = %{version}-%{release}
    3131
    3232%description devel
     
    3737Summary: K Audio Interface static library
    3838Group: Development/Libraries
    39 Requires: libkai-devel = %{version}-%{release}
     39Requires: %{name}-devel = %{version}-%{release}
    4040
    4141%description static
    4242Contains headers the static K Audio Interface library.
    4343
    44 %package debug
    45 Summary: HLL debug data for libkai
    46 Requires: libkai = %{version}-%{release}
    47 
    48 %description debug
    49 Contains symbol files necessary to generate proper crash reports
    50 in applications using the libkai package.
     44%debug_package
    5145
    5246%prep
     
    6155
    6256%build
    63 make PREFIX=%{_prefix} CC="gcc -idirafter %{os2_toolkit_path}/h -DOS2EMX_PLAIN_CHAR"
     57make PREFIX=%{_prefix} CC="gcc -idirafter %{_includedir}/os2tk45 -DOS2EMX_PLAIN_CHAR"
    6458
    6559%install
    6660make PREFIX=%{_prefix} INSTALL=%{_bindir}/install DESTDIR=%{buildroot} install
    67 # No need in .a once we have .lib
    68 rm -f %{buildroot}/%{_libdir}/*.a
    6961
    7062%clean
     
    7870%defattr(-,root,root)
    7971%{_includedir}/*.h
    80 %{_libdir}/*_dll.lib
     72%{_libdir}/*_dll.*
    8173
    8274%files static
    8375%defattr(-,root,root)
    84 %exclude %{_libdir}/*_dll.lib
    85 %{_libdir}/*.lib
    86 
    87 %files debug
    88 %defattr(-,root,root)
    89 %{_libdir}/*.dbg
     76%exclude %{_libdir}/*_dll.*
     77%{_libdir}/*.*
    9078
    9179%changelog
     80* Thu Jan 28 2016 Dmitriy Kuminov <coding@dmik.org> 1.2.0-1
     81- Update to version 1.2.0 from vendor:
     82+ uniaud: Fix device selection by index.
     83+ uniaud: Improve volume control.
     84- Add .a libraries (for use with ld, e.g. in non-Zomf mode).
     85
    9286* Wed Jul 1 2015 Dmitriy Kuminov <coding@dmik.org> 1.1.4-1
    9387- Initial package for version 1.1.4.
Note: See TracChangeset for help on using the changeset viewer.