source: spec/trunk/SPECS/bww-resources-rpm.spec@ 1330

Last change on this file since 1330 was 1275, checked in by Silvan Scherrer, 8 years ago

spec: bww-resources-rpm: Release version 1.1.2-1.

File size: 4.0 KB
Line 
1%define debug_package %{nil}
2%define _strip_opts --no-compress --no-debuginfo
3
4Summary: bitwise works icons and folders
5Name: bww-resources-rpm
6Version: 1.1.2
7Release: 1%{?dist}
8License: Proprietory
9Group: Applications/System
10URL: http://www.bitwiseworks.com
11Vendor: bww bitwise works GmbH
12Source1: macros.bww
13Source2: bww-fix-docdir.cmd
14Source10: bwwfbkg.bmp
15Source11: bwwfldrc.ico
16Source12: bwwfldro.ico
17Source13: mkres.obj
18BuildRoot: %_tmppath/%name-%version-%release-root
19BuildArch: noarch
20Obsoletes: bwwres
21Provides: bwwres = %{version}
22Requires: os2-rpm >= 0-4
23
24BuildRequires: rexx_exe
25
26%description
27This package provides bitwise works icons and folder background
28
29%package build
30Summary: bww rpm macros for rpm
31Group: Development/Libraries
32
33%description build
34This package provides bitwise works macros for rpm builds
35
36%prep
37%setup -n "%{name}-%{version}" -Tc
38
39# Prepare forwarder DLLs.
40for m in %{SOURCE1} %{SOURCE2} %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13}; do
41 cp ${m} .
42done
43
44cat << EOF >mkres.def
45; MKRES.DEF: Definition file for resource DLL's
46; -----------------------------------------------
47
48
49LIBRARY
50
51CODE SHARED
52DATA SHARED SINGLE
53
54PROTMODE
55EOF
56
57cat << EOF >bwwres.rc
58ICON 1 BWWFLDRC.ICO
59ICON 2 BWWFLDRO.ICO
60BITMAP 3 BWWFBKG.BMP
61EOF
62
63%build
64link386 /A:4 /BASE:0x12000000 /NOD /NOL mkres.obj, bwwres.dll, nul, , mkres;
65rc bwwres.rc bwwres.dll
66
67%install
68install -p -m0644 -D bwwres.dll $RPM_BUILD_ROOT%{_libdir}/bwwres.dll
69install -p -m0644 -D macros.bww $RPM_BUILD_ROOT%{_rpmconfigdir}/macros.d/macros.bww
70install -p -m0644 -D bwwfbkg.bmp $RPM_BUILD_ROOT%{_datadir}/os2/bww/bwwfbkg.bmp
71install -p -m0644 -D bwwfldrc.ico $RPM_BUILD_ROOT%{_datadir}/os2/bww/bwwfldrc.ico
72install -p -m0644 -D bwwfldro.ico $RPM_BUILD_ROOT%{_datadir}/os2/bww/bwwfldro.ico
73
74%{__mkdir_p} %{buildroot}%{_bindir}
75for f in *.cmd; do
76 rexx2vio "$f" "%{buildroot}%{_bindir}/${f%.cmd}.exe"
77done
78
79%clean
80rm -rf "$RPM_BUILD_ROOT"
81
82%post
83bww-fix-docdir
84
85%postun
86
87%files
88%defattr(-,root,root,-)
89%{_bindir}/bww-fix-docdir.exe
90%{_libdir}/bwwres.dll
91%{_datadir}/os2/bww/bwwfbkg.bmp
92%{_datadir}/os2/bww/*.ico
93
94%files build
95%{_libdir}/rpm/macros.d/macros.bww
96
97%changelog
98* Fri Dec 15 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.1.2-1
99- adjusted bww_app_shadow a bit
100- reworded the help and info in the macro (no functional change)
101
102* Thu Dec 14 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.1.1-1
103- added bww_app_shadow and removed the -s switch from bww_app
104
105* Wed Oct 04 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.1.0-3
106- changed bww_doc to bww_docdir
107- changed "Documentation" to "Package Documentation"
108
109* Tue Oct 03 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.1.0-2
110- added bww_changelog macro
111- added a req for os2-rpm >= 0-4 to be sure all exe and symlink are available
112
113* Thu Sep 07 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.1.0-1
114- big overhaul of the macros
115- added better documentation
116- add several presentation parameters to the bitwise help center
117
118* Thu Jun 29 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.0.2-1
119- added -nv parameter to the macro
120- fixed a possible wps id issue in the readme part of the macro
121
122* Thu Jun 08 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.0.1-1
123- redesigned the macro completely
124- moved the macro to -devel
125- renamed the spec
126
127* Sat Mar 18 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-5
128- fix -a switch (diver)
129
130* Tue Mar 14 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-4
131- -a switch in order to allow file filters
132
133* Mon Mar 06 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-3
134- -t switch in order to allow custom object titles (diver)
135
136* Mon Mar 06 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-2
137- fix exe shadow
138- heavily modified specfile (diver)
139
140* Fri Mar 03 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-1
141- first release of bitwise works icons, bitmaps and macros
Note: See TracBrowser for help on using the repository browser.