| 1 | %define ver 1.3.0 |
|---|
| 2 | %define rel 1 |
|---|
| 3 | |
|---|
| 4 | Name: libcue |
|---|
| 5 | Version: %{ver} |
|---|
| 6 | Release: %{rel}%{?_dist_release} |
|---|
| 7 | Summary: Cue sheet parser library |
|---|
| 8 | Summary: Cue シートをパースするライブラリ |
|---|
| 9 | |
|---|
| 10 | Group: System Environment/Libraries |
|---|
| 11 | # Files libcue/rem.{c,h} contains a BSD header |
|---|
| 12 | License: GPLv2 and BSD |
|---|
| 13 | URL: http://libcue.sourceforge.net/ |
|---|
| 14 | Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 |
|---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 16 | |
|---|
| 17 | Vendor: Project Vine |
|---|
| 18 | Distribution: Vine Linux |
|---|
| 19 | Packager: iwaim |
|---|
| 20 | |
|---|
| 21 | %description |
|---|
| 22 | Libcue is intended for parsing a so-called cue sheet from a char string or |
|---|
| 23 | a file pointer. For handling of the parsed data a convenient API is available. |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | %package devel |
|---|
| 27 | Summary: Development files |
|---|
| 28 | Group: Development/Libraries |
|---|
| 29 | Requires: %{name} = %{version}-%{release} |
|---|
| 30 | Requires: pkgconfig |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | %description devel |
|---|
| 34 | Development files for %{name}. |
|---|
| 35 | |
|---|
| 36 | |
|---|
| 37 | %prep |
|---|
| 38 | %setup -q |
|---|
| 39 | |
|---|
| 40 | |
|---|
| 41 | %build |
|---|
| 42 | %configure --disable-static |
|---|
| 43 | make %{?_smp_mflags} |
|---|
| 44 | |
|---|
| 45 | |
|---|
| 46 | %install |
|---|
| 47 | rm -rf $RPM_BUILD_ROOT |
|---|
| 48 | make install DESTDIR=$RPM_BUILD_ROOT |
|---|
| 49 | rm -f $RPM_BUILD_ROOT%{_libdir}/libcue.la |
|---|
| 50 | |
|---|
| 51 | |
|---|
| 52 | %clean |
|---|
| 53 | rm -rf $RPM_BUILD_ROOT |
|---|
| 54 | |
|---|
| 55 | |
|---|
| 56 | %post -p /sbin/ldconfig |
|---|
| 57 | |
|---|
| 58 | |
|---|
| 59 | %postun -p /sbin/ldconfig |
|---|
| 60 | |
|---|
| 61 | |
|---|
| 62 | %files |
|---|
| 63 | %defattr(-,root,root,-) |
|---|
| 64 | %{_libdir}/%{name}.so.* |
|---|
| 65 | %doc AUTHORS COPYING NEWS |
|---|
| 66 | |
|---|
| 67 | |
|---|
| 68 | %files devel |
|---|
| 69 | %defattr(-,root,root,-) |
|---|
| 70 | %{_includedir}/* |
|---|
| 71 | %{_libdir}/%{name}.so |
|---|
| 72 | %{_libdir}/pkgconfig/%{name}.pc |
|---|
| 73 | |
|---|
| 74 | |
|---|
| 75 | %changelog |
|---|
| 76 | * Sat Feb 2 2013 IWAI, Masaharu <iwai@alib.jp> 1.3.0-1 |
|---|
| 77 | - initial build for Vine Linux |
|---|
| 78 | |
|---|
| 79 | * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-5 |
|---|
| 80 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
|---|
| 81 | |
|---|
| 82 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-4 |
|---|
| 83 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
|---|
| 84 | |
|---|
| 85 | * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-3 |
|---|
| 86 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
|---|
| 87 | |
|---|
| 88 | * Mon Nov 16 2009 Peter Lemenkov <lemenkov@gmail.com> - 1.3.0-2 |
|---|
| 89 | - Changed %%description a bit |
|---|
| 90 | - Corrected license field |
|---|
| 91 | - Fixed Source0 value |
|---|
| 92 | - Fixed Group tag for main package |
|---|
| 93 | |
|---|
| 94 | * Mon Nov 9 2009 Peter Lemenkov <lemenkov@gmail.com> - 1.3.0-1 |
|---|
| 95 | - Initial package for Fedora |
|---|
| 96 | |
|---|