]> git.pld-linux.org Git - SPECS.git/blob - perl-RT-Extension-TicketLocking.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / perl-RT-Extension-TicketLocking.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define         pdir    RT
6 %define         pnam    Extension-TicketLocking
7 %include        /usr/lib/rpm/macros.perl
8 Summary:        RT::Extension::TicketLocking - Enables users to place advisory locks on tickets
9 Name:           perl-RT-Extension-TicketLocking
10 Version:        1.07
11 Release:        1
12 License:        GPL
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/RT/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  8a174769fae34c3b762f0cfb9991af40
16 URL:            https://metacpan.org/release/RT-Extension-TicketLocking/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildRequires:  rt
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Locks can be of several different types. Current types are:
25
26 Locks are advisory: if a ticket is locked by one user, other users
27 will be given a notification (in red) that another user has locked
28 the ticket, with the locking user's name and how long he has had
29 it locked for, but they will still be allowed to edit and submit
30 changes on the ticket.
31
32 When a user locks a ticket (auto lock or hard lock), they are given
33 a notification informing them of their lock and how long they have
34 had the ticket locked (in some other color - currently green).
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLVENDORLIB=%{perl_vendorlib} \
42         INSTALLDIRS=vendor
43 %{__make}
44
45 %{?with_tests:%{__make} test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} pure_install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc Changes README
59 %{perl_vendorlib}/RT/Extension/TicketLocking.pm
60 %{_mandir}/man3/*
This page took 0.525259 seconds and 3 git commands to generate.