source: spec/trunk/SPECS/bww-resources.spec@ 1191

Last change on this file since 1191 was 1183, checked in by herwigb, 8 years ago

spec: bww-resources: Release version 1.0.1-1.

File size: 2.7 KB
Line 
1%define debug_package %{nil}
2%define _strip_opts --no-compress --no-debuginfo
3
4Summary: bitwiseworks icons and folders
5Name: bww-resources
6Version: 1.0.1
7Release: 1%{?dist}
8License: Proprietory
9Group: Applications/System
10URL: http://www.bitwiseworks.com
11Vendor: bww bitwiseworks GmbH
12Source1: macros.bww
13Source10: bwwfbkg.bmp
14Source11: bwwfldrc.ico
15Source12: bwwfldro.ico
16Source13: mkres.obj
17BuildRoot: %_tmppath/%name-%version-%release-root
18BuildArch: noarch
19Obsoletes: bwwres
20Provides: bwwres = %{version}
21
22%description
23This package provides bitwiseworks icons and folder background
24
25%package devel
26Summary: bww macros and the like
27Group: Development/Libraries
28
29%description devel
30This package provides bitwiseworks macros
31
32%prep
33%setup -n "%{name}-%{version}" -Tc
34
35# Prepare forwarder DLLs.
36for m in %{SOURCE1} %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13}; do
37 cp ${m} .
38done
39
40cat << EOF >mkres.def
41; MKRES.DEF: Definition file for resource DLL's
42; -----------------------------------------------
43
44
45LIBRARY
46
47CODE SHARED
48DATA SHARED SINGLE
49
50PROTMODE
51EOF
52
53cat << EOF >bwwres.rc
54ICON 1 BWWFLDRC.ICO
55ICON 2 BWWFLDRO.ICO
56BITMAP 3 BWWFBKG.BMP
57EOF
58
59%build
60link386 /A:4 /BASE:0x12000000 /NOD /NOL mkres.obj, bwwres.dll, nul, , mkres;
61rc bwwres.rc bwwres.dll
62
63%install
64install -p -m0644 -D bwwres.dll $RPM_BUILD_ROOT%{_libdir}/bwwres.dll
65install -p -m0644 -D macros.bww $RPM_BUILD_ROOT%{_rpmconfigdir}/macros.d/macros.bww
66install -p -m0644 -D bwwfbkg.bmp $RPM_BUILD_ROOT%{_datadir}/os2/bww/bwwfbkg.bmp
67install -p -m0644 -D bwwfldrc.ico $RPM_BUILD_ROOT%{_datadir}/os2/bww/bwwfldrc.ico
68install -p -m0644 -D bwwfldro.ico $RPM_BUILD_ROOT%{_datadir}/os2/bww/bwwfldro.ico
69
70%clean
71rm -rf "$RPM_BUILD_ROOT"
72
73%post
74
75%postun
76
77%files
78%defattr(-,root,root,-)
79%_libdir/bwwres.dll
80%_datadir/os2/bww/bwwfbkg.bmp
81%_datadir/os2/bww/*.ico
82
83%files devel
84%_libdir/rpm/macros.d/macros.bww
85
86%changelog
87* Thu Jun 08 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.0.1-1
88- redesigned the macro completely
89- moved the macro to -devel
90- renamed the spec
91
92* Sat Mar 18 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-5
93- fix -a switch (diver)
94
95* Tue Mar 14 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-4
96- -a switch in order to allow file filters
97
98* Mon Mar 06 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-3
99- -t switch in order to allow custom object titles (diver)
100
101* Mon Mar 06 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-2
102- fix exe shadow
103- heavily modified specfile (diver)
104
105* Fri Mar 03 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-1
106- first release of bitwiseworks icons, bitmaps and macros
Note: See TracBrowser for help on using the repository browser.