]> git.pld-linux.org Git - packages/synce-orange.git/blob - synce-orange.spec
- drop .la file, release 7
[packages/synce-orange.git] / synce-orange.spec
1 %define         pkgname orange
2 Summary:        SynCE Orange - a tool capable to get installable MS Cabinet Files from installers
3 Summary(pl.UTF-8):      SynCE Orange - narzędzie zdolne do wydobywania plików MS Cabinet z instalatorów
4 Name:           synce-%{pkgname}
5 Version:        0.4
6 Release:        7
7 License:        MIT
8 Group:          Applications/File
9 Source0:        http://downloads.sourceforge.net/synce/lib%{pkgname}-%{version}.tar.gz
10 # Source0-md5:  40e9ac3de389c74a60007f7493e072a5
11 URL:            http://www.synce.org/
12 BuildRequires:  autoconf >= 2.59
13 BuildRequires:  automake >= 1.4
14 BuildRequires:  gettext-tools
15 BuildRequires:  libgsf-devel
16 BuildRequires:  libmagic-devel
17 BuildRequires:  libtool
18 BuildRequires:  pkgconfig
19 BuildRequires:  rpmbuild(macros) >= 1.213
20 BuildRequires:  synce-core-lib-devel >= 0.9.1
21 BuildRequires:  synce-dynamite-libs-devel >= 0.1
22 BuildRequires:  synce-unshield-libs-devel >= 0.5
23 BuildRequires:  zlib-devel
24 Requires:       %{name}-libs = %{version}-%{release}
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Orange is a tool for squeezing out juicy installable Microsoft Cabinet
29 Files from self-extracting installers for Microsoft Windows and some
30 other installer file formats.
31
32 %description -l pl.UTF-8
33 Orange jest narzędziem umożliwiającym wydobywanie plików Microsoft
34 Cabinet z samorozpakowujących się instalatorów przeznaczonych dla
35 Microsoft Windows.
36
37 %package libs
38 Summary:        The Orange library
39 Summary(pl.UTF-8):      Biblioteka Orange
40 Group:          Libraries
41 Requires:       synce-core-lib >= 0.9.1
42 Requires:       synce-dynamite-libs >= 0.1
43 Requires:       synce-unshield-libs >= 0.5
44
45 %description libs
46 The Orange library.
47
48 %description libs -l pl.UTF-8
49 Biblioteka Orange.
50
51 %package libs-devel
52 Summary:        Header files for the Orange library
53 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Orange
54 Group:          Development/Libraries
55 Requires:       %{name}-libs = %{version}-%{release}
56 Requires:       synce-dynamite-libs-devel >= 0.1
57 Requires:       synce-core-lib-devel >= 0.9.1
58 Requires:       synce-unshield-libs-devel >= 0.5
59
60 %description libs-devel
61 Header files for the Orange library.
62
63 %description libs-devel -l pl.UTF-8
64 Pliki nagłówkowe biblioteki Orange.
65
66 %package libs-static
67 Summary:        Static Orange library
68 Summary(pl.UTF-8):      Statyczna biblioteka Orange
69 Group:          Development/Libraries
70 Requires:       %{name}-libs-devel = %{version}-%{release}
71
72 %description libs-static
73 Static Orange library.
74
75 %description libs-static -l pl.UTF-8
76 Statyczna biblioteka Orange.
77
78 %prep
79 %setup -q -n lib%{pkgname}-%{version}
80
81 %build
82 %{__libtoolize}
83 %{__aclocal} -I m4
84 %{__autoconf}
85 %{__autoheader}
86 %{__automake}
87 %configure \
88         --enable-inno \
89         --enable-msi \
90         --enable-vise \
91         --with-libgsf
92
93 %{__make}
94
95 %install
96 rm -rf $RPM_BUILD_ROOT
97
98 %{__make} install \
99         DESTDIR=$RPM_BUILD_ROOT
100
101 # obsoleted by pkg-config
102 %{__rm} $RPM_BUILD_ROOT%{_libdir}/liborange.la
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %post   libs -p /sbin/ldconfig
108 %postun libs -p /sbin/ldconfig
109
110 %files
111 %defattr(644,root,root,755)
112 %doc ChangeLog LICENSE TODO
113 %attr(755,root,root) %{_bindir}/orange
114 %{_mandir}/man1/orange.1*
115
116 %files libs
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/liborange.so.*.*.*
119 %attr(755,root,root) %ghost %{_libdir}/liborange.so.0
120
121 %files libs-devel
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_libdir}/liborange.so
124 %{_pkgconfigdir}/liborange.pc
125 %{_includedir}/liborange.h
126 %{_includedir}/liborange_stub.h
127
128 %files libs-static
129 %defattr(644,root,root,755)
130 %{_libdir}/liborange.a
This page took 0.05587 seconds and 3 git commands to generate.