source: trunk/epoll.spec.in @ 94

Last change on this file since 94 was 94, checked in by nanardon, 15 years ago
  • add rpm target
File size: 775 bytes
Line 
1%define realname   Vote
2%define version    @VERSION@
3%define release    %mkrel 0.1
4
5Name:       Epoll
6Version:    %{version}
7Release:    %{release}
8License:    GPL or Artistic
9Group:      Development/Perl
10Summary:    A web voting application
11Source:     %{realname}-%{version}.tar.gz
12Url:        http://search.cpan.org/dist/%{realname}
13BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-buildroot
14BuildArch:  noarch
15
16%description
17A web voting application
18
19%prep
20%setup -q -n %{realname}-%{version}
21
22%build
23%{__perl} Makefile.PL INSTALLDIRS=vendor
24%make
25
26%if 0
27%check
28make test
29%endif
30
31%install
32rm -rf %buildroot
33%makeinstall_std
34
35%clean
36rm -rf %buildroot
37
38%files
39%defattr(-,root,root)
40%doc Changes README
41%_bindir/*
42%{_mandir}/man3/*
43%{_mandir}/man1/*
44%perl_vendorlib/*
45
Note: See TracBrowser for help on using the repository browser.