Skip to content

Commit

Permalink
package installed software
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Jan 2, 2018
1 parent 738c00d commit 9d7aac7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 35 deletions.
20 changes: 2 additions & 18 deletions platforms/win32/winbareos32.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# Determine Windows BITS (32/64) from name (mingw32-.../ming64-...)
%define WINDOWS_BITS %(echo %name | grep 64 >/dev/null 2>&1 && echo "64" || echo "32")

Expand Down Expand Up @@ -143,24 +142,9 @@ rm -rf $RPM_BUILD_ROOT

%files postvista
%defattr(-,root,root)
/etc/postvista/%name/config/
/etc/postvista/%name/ddl/
/etc/postvista/%name/fillup.sed
%dir %{bindir}/postvista
%{bindir}/postvista/*.dll
%{bindir}/postvista/*.exe
%{bindir}/postvista/bareos-config-deploy.bat
%{bindir}/postvista/Plugins/
%{buildroot}/postvista

%files postvista-debug
%defattr(-,root,root)
/etc/postvista-debug/%name/config/
/etc/postvista-debug/%name/ddl/
/etc/postvista-debug/%name/fillup.sed
%dir %{bindir}/postvista-debug
%{bindir}/postvista-debug/*.dll
%{bindir}/postvista-debug/*.exe
%{bindir}/postvista-debug/bareos-config-deploy.bat
%{bindir}/postvista-debug/Plugins/
%{buildroot}/postvista-debug

%changelog
19 changes: 2 additions & 17 deletions platforms/win32/winbareos64.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# Determine Windows BITS (32/64) from name (mingw32-.../ming64-...)
%define WINDOWS_BITS %(echo %name | grep 64 >/dev/null 2>&1 && echo "64" || echo "32")


%define mingw mingw64
Expand Down Expand Up @@ -142,24 +142,9 @@ rm -rf $RPM_BUILD_ROOT

%files postvista
%defattr(-,root,root)
/etc/postvista/%name/config/
/etc/postvista/%name/ddl/
/etc/postvista/%name/fillup.sed
%dir %{bindir}/postvista
%{bindir}/postvista/*.dll
%{bindir}/postvista/*.exe
%{bindir}/postvista/bareos-config-deploy.bat
%{bindir}/postvista/Plugins/

%files postvista-debug
%defattr(-,root,root)
/etc/postvista-debug/%name/config/
/etc/postvista-debug/%name/ddl/
/etc/postvista-debug/%name/fillup.sed
%dir %{bindir}/postvista-debug
%{bindir}/postvista-debug/*.dll
%{bindir}/postvista-debug/*.exe
%{bindir}/postvista-debug/bareos-config-deploy.bat
%{bindir}/postvista-debug/Plugins/
%{buildroot}/postvista-debug

%changelog

0 comments on commit 9d7aac7

Please sign in to comment.