1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
Name: cups-filter-sl-watermark Version: 0.4 Release: alt1 Summary: SeLinux watermarking of printed documents License: GPL Group: System/Configuration/Printing BuildArch: noarch BuildRequires: rpm-build-python3 Source: %name-%version.tar %description Special CUPS filter adding security level watermarks on printed documents %prep %setup %install %define cupsdir %_datadir/cups mkdir -p %buildroot%cupsdir/{data,mime} mkdir -p %buildroot%_libexecdir/cups/filter mkdir -p %buildroot/%_sysconfdir install -pm755 watermark{,.py} %buildroot%_libexecdir/cups/filter/ install -pm644 watermark.{pdf,odt} %buildroot%cupsdir/data/ install -pm644 sl-watermark.{convs,types} %buildroot%cupsdir/mime/ install -pm644 cups-filter-sl-watermark.cfg %buildroot%_sysconfdir/ %files %_libexecdir/cups/filter/* %cupsdir/data/* %cupsdir/mime/* %_sysconfdir/* %changelog * Fri Apr 05 2019 Anton V. Boyarshinov <boyarsh@altlinux.org> 0.4-alt1 - throw an exception if there is no data for field - don't watermark if /etc/cups-filter-sl-watermark.cfg missed or empty * Fri Mar 22 2019 Anton V. Boyarshinov <boyarsh@altlinux.org> 0.3-alt1 - handling spaces in index fixed * Thu Nov 01 2018 Anton V. Boyarshinov <boyarsh@altlinux.org> 0.2-alt1 - support fpr form-less watermarks added (but have no sense) * Fri Oct 19 2018 Anton V. Boyarshinov <boyarsh@altlinux.org> 0.1-alt1 - first build