1 | Name: libmspack |
---|
2 | Version: 0.5 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Library for CAB and related files compression and decompression |
---|
5 | |
---|
6 | Group: System Environment/Libraries |
---|
7 | License: LGPLv2 |
---|
8 | URL: http://www.cabextract.org.uk/libmspack/ |
---|
9 | Source0: http://www.cabextract.org.uk/libmspack/%{name}-%{version}alpha.tar.gz |
---|
10 | Patch0: %{name}-0.4alpha-doc.patch |
---|
11 | BuildRequires: doxygen |
---|
12 | |
---|
13 | |
---|
14 | %description |
---|
15 | The purpose of libmspack is to provide both compression and decompression of |
---|
16 | some loosely related file formats used by Microsoft. |
---|
17 | |
---|
18 | %package devel |
---|
19 | Summary: Development files for %{name} |
---|
20 | Group: Development/Libraries |
---|
21 | Requires: %{name} = %{version}-%{release} |
---|
22 | |
---|
23 | %description devel |
---|
24 | The %{name}-devel package contains libraries, header files and documentation |
---|
25 | for developing applications that use %{name}. |
---|
26 | |
---|
27 | |
---|
28 | %prep |
---|
29 | %setup -q -n %{name}-%{version}alpha |
---|
30 | %patch0 -p1 |
---|
31 | |
---|
32 | chmod a-x mspack/mspack.h |
---|
33 | |
---|
34 | |
---|
35 | %build |
---|
36 | %configure --disable-static --disable-silent-rules |
---|
37 | make %{?_smp_mflags} |
---|
38 | |
---|
39 | |
---|
40 | %install |
---|
41 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' |
---|
42 | rm $RPM_BUILD_ROOT%{_libdir}/libmspack.la |
---|
43 | |
---|
44 | iconv -f ISO_8859-1 -t utf8 ChangeLog --output Changelog.utf8 |
---|
45 | touch -r ChangeLog Changelog.utf8 |
---|
46 | mv Changelog.utf8 ChangeLog |
---|
47 | |
---|
48 | pushd doc |
---|
49 | doxygen |
---|
50 | find html -type f | xargs touch -r %{SOURCE0} |
---|
51 | rm -f html/installdox |
---|
52 | popd |
---|
53 | |
---|
54 | |
---|
55 | %post -p /sbin/ldconfig |
---|
56 | |
---|
57 | %postun -p /sbin/ldconfig |
---|
58 | |
---|
59 | |
---|
60 | %files |
---|
61 | %doc README TODO COPYING.LIB ChangeLog AUTHORS |
---|
62 | %{_libdir}/*.so.* |
---|
63 | |
---|
64 | %files devel |
---|
65 | %doc doc/html |
---|
66 | %{_includedir}/* |
---|
67 | %{_libdir}/*.so |
---|
68 | %{_libdir}/pkgconfig/%{name}.pc |
---|
69 | |
---|
70 | |
---|
71 | %changelog |
---|
72 | * Wed Feb 11 2015 Toshiharu Kudoh <kudoh@vinelinux.org> - 0.5-1 |
---|
73 | - new upstream release |
---|
74 | |
---|
75 | * Sat Aug 30 2014 Toshiharu Kudoh <kudoh@vinelinux.org> - 0.4-1 |
---|
76 | - initial build for Vine Linux |
---|
77 | |
---|
78 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-0.4.alpha |
---|
79 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
80 | |
---|
81 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-0.3.alpha |
---|
82 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
83 | |
---|
84 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-0.2.alpha |
---|
85 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
86 | |
---|
87 | * Tue May 28 2013 Dan Horák <dan[at]danny.cz> - 0.4-0.1.alpha |
---|
88 | - updated to 0.4alpha |
---|
89 | |
---|
90 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-0.4.alpha |
---|
91 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
92 | |
---|
93 | * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-0.3.alpha |
---|
94 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
95 | |
---|
96 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-0.2.alpha |
---|
97 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
98 | |
---|
99 | * Mon May 16 2011 Dan Horák <dan[at]danny.cz> - 0.3-0.1.alpha |
---|
100 | - updated to 0.3alpha |
---|
101 | |
---|
102 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-0.2.20100723alpha |
---|
103 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
104 | |
---|
105 | * Mon Aug 30 2010 Dan Horák <dan[at]danny.cz> - 0.2-0.1.20100723alpha |
---|
106 | - updated to 0.2alpha released 2010/07/23 |
---|
107 | - merged the doc subpackage with devel |
---|
108 | |
---|
109 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0-0.7.20060920alpha |
---|
110 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
111 | |
---|
112 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0-0.6.20060920alpha |
---|
113 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
114 | |
---|
115 | * Wed Feb 13 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> - 0.0-0.5-20060920alpha |
---|
116 | - Rebuild for gcc4.3 |
---|
117 | |
---|
118 | * Sun Jan 20 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> - 0.0-0.4.20060920alpha |
---|
119 | - installed documentation into html subdir |
---|
120 | - manually installed doc's for main package |
---|
121 | |
---|
122 | * Sun Jan 20 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> - 0.0-0.3.20060920alpha |
---|
123 | - Got source using wget -N |
---|
124 | - Removed some doc's |
---|
125 | - Shifted doc line for doc package |
---|
126 | - Added install -p |
---|
127 | |
---|
128 | * Sun Jan 20 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> - 0.0-0.2.20060920alpha |
---|
129 | - Changed install script for doc package |
---|
130 | - Fixed rpmlint issue with debug package |
---|
131 | |
---|
132 | * Fri Jan 18 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> - 20060920cvs.a-1 |
---|
133 | - Initial release |
---|