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

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

spec: bww-resources: create the dll on the fly

File size: 2.4 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: mkdll.cmd
17Source14: mkres.obj
18Source15: mkres.def
19Source16: bwwres.rc
20BuildRoot: %_tmppath/%name-%version-%release-root
21BuildArch: noarch
22Obsoletes: bwwres <= 1.0.0-5
23
24%description
25This package provides bitwiseworks icons and folder background
26
27%package devel
28Summary: bww macros and the like
29Group: Development/Libraries
30
31%description devel
32This package provides bitwiseworks macros
33
34%prep
35%setup -n "%{name}-%{version}" -Tc
36
37# Prepare forwarder DLLs.
38for m in %{SOURCE1} %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} %{SOURCE15} %{SOURCE16}; do
39 cp ${m} .
40done
41
42%build
43mkdll.cmd
44
45%install
46install -p -m0644 -D bwwres.dll $RPM_BUILD_ROOT%{_libdir}/bwwres.dll
47install -p -m0644 -D macros.bww $RPM_BUILD_ROOT%{_rpmconfigdir}/macros.d/macros.bww
48install -p -m0644 -D bwwfbkg.bmp $RPM_BUILD_ROOT%{_datadir}/os2/bww/bwwfbkg.bmp
49install -p -m0644 -D bwwfldrc.ico $RPM_BUILD_ROOT%{_datadir}/os2/bww/bwwfldrc.ico
50install -p -m0644 -D bwwfldro.ico $RPM_BUILD_ROOT%{_datadir}/os2/bww/bwwfldro.ico
51
52%clean
53rm -rf "$RPM_BUILD_ROOT"
54
55%post
56
57%postun
58
59%files
60%defattr(-,root,root,-)
61%_libdir/bwwres.dll
62%_datadir/os2/bww/bwwfbkg.bmp
63%_datadir/os2/bww/*.ico
64
65%files devel
66%_libdir/rpm/macros.d/macros.bww
67
68%changelog
69* Thu Jun 08 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.0.1-1
70- redesigned the macro completely
71- moved the macro to -devel
72- renamed the spec
73
74* Sat Mar 18 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-5
75- fix -a switch (diver)
76
77* Tue Mar 14 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-4
78- -a switch in order to allow file filters
79
80* Mon Mar 06 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-3
81- -t switch in order to allow custom object titles (diver)
82
83* Mon Mar 06 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-2
84- fix exe shadow
85- heavily modified specfile (diver)
86
87* Fri Mar 03 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-1
88- first release of bitwiseworks icons, bitmaps and macros
Note: See TracBrowser for help on using the repository browser.