]>
Commit | Line | Data |
---|---|---|
6bce815d | 1 | %define pkgname orange |
dfe990cd | 2 | Summary: SynCE Orange - a tool capable to get installable MS Cabinet Files from installers |
f98ebfb5 | 3 | Summary(pl.UTF-8): SynCE Orange - narzędzie zdolne do wydobycia plików MS Cabinet z instalatorów |
6bce815d | 4 | Name: synce-%{pkgname} |
6c5719eb | 5 | Version: 0.4 |
c62ba30d | 6 | Release: 4 |
dfe990cd MŁ |
7 | License: MIT |
8 | Group: Applications | |
6bce815d | 9 | Source0: http://downloads.sourceforge.net/synce/lib%{pkgname}-%{version}.tar.gz |
6c5719eb | 10 | # Source0-md5: 40e9ac3de389c74a60007f7493e072a5 |
9907da9b | 11 | URL: http://www.synce.org/ |
dfe990cd MŁ |
12 | BuildRequires: autoconf >= 2.50 |
13 | BuildRequires: automake >= 1.4 | |
44f1d9a6 | 14 | BuildRequires: gettext-tools |
dfe990cd | 15 | BuildRequires: libtool |
cd9347ee | 16 | BuildRequires: pkgconfig |
dfe990cd | 17 | BuildRequires: rpmbuild(macros) >= 1.213 |
dfe990cd | 18 | BuildRequires: synce-dynamite-libs-devel |
4baa94c3 | 19 | BuildRequires: synce-libsynce-devel |
dfe990cd | 20 | BuildRequires: synce-unshield-libs-devel |
4baa94c3 | 21 | BuildRequires: zlib-devel |
4f1325d3 | 22 | Requires: %{name}-libs = %{version}-%{release} |
dfe990cd MŁ |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
26 | Orange is a tool for squeezing out juicy installable Microsoft Cabinet | |
27 | Files from self-extracting installers for Microsoft Windows and some | |
28 | other installer file formats. | |
29 | ||
9504f6ce JR |
30 | %description -l pl.UTF-8 |
31 | Orange jest narzędziem umożliwiającym wydobycie z samorozpakowujących | |
32 | się instalatorów przeznaczonych dla Microsoft Windows plików Microsoft | |
dfe990cd MŁ |
33 | Cabinet. |
34 | ||
35 | %package libs | |
36 | Summary: The Orange library | |
f98ebfb5 | 37 | Summary(pl.UTF-8): Biblioteka Orange |
4f1325d3 | 38 | Group: Libraries |
dfe990cd MŁ |
39 | |
40 | %description libs | |
41 | The Orange library. | |
42 | ||
9504f6ce | 43 | %description libs -l pl.UTF-8 |
dfe990cd MŁ |
44 | Biblioteka Orange. |
45 | ||
46 | %package libs-devel | |
47 | Summary: Header files for the Orange library | |
f98ebfb5 | 48 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Orange |
dfe990cd MŁ |
49 | Group: Development/Libraries |
50 | Requires: %{name}-libs = %{version}-%{release} | |
6bce815d ER |
51 | Requires: synce-dynamite-libs-devel |
52 | Requires: synce-libsynce-devel | |
112c3a77 | 53 | Requires: synce-unshield-libs-devel |
dfe990cd MŁ |
54 | |
55 | %description libs-devel | |
56 | Header files for the Orange library. | |
57 | ||
9504f6ce JR |
58 | %description libs-devel -l pl.UTF-8 |
59 | Pliki nagłówkowe biblioteki Orange. | |
dfe990cd MŁ |
60 | |
61 | %package libs-static | |
62 | Summary: Static Orange library | |
f98ebfb5 | 63 | Summary(pl.UTF-8): Statyczna biblioteka Orange |
dfe990cd | 64 | Group: Development/Libraries |
76043814 | 65 | Requires: %{name}-libs-devel = %{version}-%{release} |
dfe990cd MŁ |
66 | |
67 | %description libs-static | |
68 | Static Orange library. | |
69 | ||
9504f6ce | 70 | %description libs-static -l pl.UTF-8 |
dfe990cd MŁ |
71 | Statyczna biblioteka Orange. |
72 | ||
73 | %prep | |
6bce815d | 74 | %setup -q -n lib%{pkgname}-%{version} |
dfe990cd MŁ |
75 | |
76 | %build | |
77 | %{__libtoolize} | |
78 | %{__aclocal} -I m4 | |
79 | %{__autoconf} | |
80 | %{__autoheader} | |
81 | %{__automake} | |
82 | %configure | |
83 | ||
84 | %{__make} | |
85 | ||
86 | %install | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %{__make} install \ | |
90 | DESTDIR=$RPM_BUILD_ROOT | |
91 | ||
92 | %clean | |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
95 | %post libs -p /sbin/ldconfig | |
96 | %postun libs -p /sbin/ldconfig | |
97 | ||
98 | %files | |
99 | %defattr(644,root,root,755) | |
100 | %doc LICENSE | |
101 | %attr(755,root,root) %{_bindir}/* | |
53bb8783 | 102 | %{_mandir}/man1/orange.1* |
dfe990cd MŁ |
103 | |
104 | %files libs | |
105 | %defattr(644,root,root,755) | |
106 | %attr(755,root,root) %{_libdir}/liborange.so.*.*.* | |
6c5719eb | 107 | %attr(755,root,root) %ghost %{_libdir}/liborange.so.? |
dfe990cd MŁ |
108 | |
109 | %files libs-devel | |
110 | %defattr(644,root,root,755) | |
111 | %attr(755,root,root) %{_libdir}/liborange.so | |
112 | %{_libdir}/liborange.la | |
4baa94c3 | 113 | %{_pkgconfigdir}/liborange.pc |
dfe990cd | 114 | %{_includedir}/liborange.h |
53bb8783 | 115 | %{_includedir}/liborange_stub.h |
dfe990cd MŁ |
116 | |
117 | %files libs-static | |
118 | %defattr(644,root,root,755) | |
119 | %{_libdir}/liborange.a |