]> git.pld-linux.org Git - packages/dcom98.git/blob - dcom98.spec
50e0b1a422aceae315a1fd950fba495be7e055df
[packages/dcom98.git] / dcom98.spec
1 # This spec file is released under the GNU General Public License version 2.0
2 # (http://www.gnu.org/licenses/gpl.txt).
3 #
4 # NOTE: Releasing this spec file under the GPL does not alter the licensing of
5 # DCOM98 itself. Satisfying the terms of DCOM98's license remains the user's
6 # responsibility.
7
8 %define ver     1.3
9 %define rel     3
10 %define _wine_cdrive    %{_datadir}/wine
11 %define _wine_system    %{_wine_cdrive}/windows/system
12
13 Summary:        Package of DLLs supporting Microsoft's DCOM framework.
14 Name:           dcom98
15 Version:        %ver
16 Release:        %rel
17 Vendor:         Microsoft
18 Source0:        http://download.microsoft.com/msdownload/dcom/98/x86/en/%{name}.exe
19 Requires:       wine, wine-utils
20 BuildRequires:  wine, cabextract
21 Group:          System/Libraries
22 ######          Unknown group!
23 License:        Distributable
24 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Url:            http://www.microsoft.com/com/tech/DCOM.asp
26 ExclusiveArch:  %{ix86}
27 Obsoletes:      dcom
28
29
30 %description
31 The Distributed Component Object Model (DCOM) is a protocol that
32 enables software components to communicate directly over a network in
33 a reliable, secure, and efficient manner. Previously called "Network
34 OLE," DCOM is designed for use across multiple network transports,
35 including Internet protocols such as HTTP. DCOM is based on the Open
36 Software Foundation's DCE-RPC spec and will work with both Java
37 applets and ActiveX® components through its use of the Component
38 Object Model (COM). Follow the links below to learn more about DCOM.
39
40 %prep
41 /usr/bin/cabextract -L $RPM_SOURCE_DIR/dcom98.exe
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT/%{_wine_system}
46 install -d $RPM_BUILD_ROOT/%{_wine_cdrive}/inf/
47 mv advpack.dll $RPM_BUILD_ROOT/%{_wine_system}/
48 mv asycfilt.dll $RPM_BUILD_ROOT/%{_wine_system}/
49 mv comcat.dll $RPM_BUILD_ROOT/%{_wine_system}/
50 mv compobj.dll $RPM_BUILD_ROOT/%{_wine_system}/
51 mv dcom98.inf $RPM_BUILD_ROOT/%{_wine_cdrive}/inf/
52 mv dllhost.exe $RPM_BUILD_ROOT/%{_wine_system}/
53 mv imagehlp.dll $RPM_BUILD_ROOT/%{_wine_system}/
54 mv iprop.dll $RPM_BUILD_ROOT/%{_wine_system}/
55 mv ole2.dll $RPM_BUILD_ROOT/%{_wine_system}/
56 mv ole32.dll $RPM_BUILD_ROOT/%{_wine_system}/
57 mv oleaut32.dll $RPM_BUILD_ROOT/%{_wine_system}/
58 mv olecnv32.dll $RPM_BUILD_ROOT/%{_wine_system}/
59 mv olepro32.dll $RPM_BUILD_ROOT/%{_wine_system}/
60 mv olethk32.dll $RPM_BUILD_ROOT/%{_wine_system}/
61 mv rpcltc1.dll $RPM_BUILD_ROOT/%{_wine_system}/
62 mv rpcltc5.dll $RPM_BUILD_ROOT/%{_wine_system}/
63 mv rpcltccm.dll $RPM_BUILD_ROOT/%{_wine_system}/
64 mv rpclts5.dll $RPM_BUILD_ROOT/%{_wine_system}/
65 mv rpcltscm.dll $RPM_BUILD_ROOT/%{_wine_system}/
66 mv rpcmqcl.dll $RPM_BUILD_ROOT/%{_wine_system}/
67 mv rpcmqsvr.dll $RPM_BUILD_ROOT/%{_wine_system}/
68 mv rpcns4.dll $RPM_BUILD_ROOT/%{_wine_system}/
69 mv rpcrt4.dll $RPM_BUILD_ROOT/%{_wine_system}/
70 mv rpcss.exe $RPM_BUILD_ROOT/%{_wine_system}/
71 mv secur32.dll $RPM_BUILD_ROOT/%{_wine_system}/
72 mv stdole2.tlb $RPM_BUILD_ROOT/%{_wine_system}/
73 mv stdole32.tlb $RPM_BUILD_ROOT/%{_wine_system}/
74 mv storage.dll $RPM_BUILD_ROOT/%{_wine_system}/
75 mv w95inf16.dll $RPM_BUILD_ROOT/%{_wine_system}/w95inf16.dll
76 mv w95inf32.dll $RPM_BUILD_ROOT/%{_wine_system}/w95inf32.dll
77
78 rm -f eula98.txt
79 rm -f relnt98.txt
80 rm -f install.exe
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644,root,root,755)
87 %{_wine_system}/advpack.dll
88 %{_wine_system}/asycfilt.dll
89 %{_wine_system}/comcat.dll
90 %{_wine_system}/compobj.dll
91 %{_wine_cdrive}/inf/dcom98.inf
92 %{_wine_system}/dllhost.exe
93 %{_wine_system}/imagehlp.dll
94 %{_wine_system}/iprop.dll
95 %{_wine_system}/ole2.dll
96 %{_wine_system}/ole32.dll
97 %{_wine_system}/oleaut32.dll
98 %{_wine_system}/olecnv32.dll
99 %{_wine_system}/olepro32.dll
100 %{_wine_system}/olethk32.dll
101 %{_wine_system}/rpcltc1.dll
102 %{_wine_system}/rpcltc5.dll
103 %{_wine_system}/rpcltccm.dll
104 %{_wine_system}/rpclts5.dll
105 %{_wine_system}/rpcltscm.dll
106 %{_wine_system}/rpcmqcl.dll
107 %{_wine_system}/rpcmqsvr.dll
108 %{_wine_system}/rpcns4.dll
109 %{_wine_system}/rpcrt4.dll
110 %{_wine_system}/rpcss.exe
111 %{_wine_system}/secur32.dll
112 %{_wine_system}/stdole2.tlb
113 %{_wine_system}/stdole32.tlb
114 %{_wine_system}/storage.dll
115 %{_wine_system}/w95inf16.dll
116 %{_wine_system}/w95inf32.dll
This page took 0.495119 seconds and 2 git commands to generate.