avatar
Rosa has added 405bb7c520
initial: add from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "File-Sync-0.09.tar.gz": a6fa11f6e4808340c092f905370571fa288e7a70
view file @ 405bb7c520
... ... --- /dev/null
... ... +++ b/perl-File-Sync.spec
... ... @@ -0,0 +1,111 @@
1
%define upstream_name    File-Sync
2
%define upstream_version 0.09
3
4
Name:      perl-%{upstream_name}
5
Version:   %perl_convert_version %{upstream_version}
6
Release:   %mkrel 6
7
8
Summary:   Perl access to fsync() and sync() function calls
9
license:   Artistic
10
Group:     Development/Perl
11
Url:       http://search.cpan.org/dist/%{upstream_name}
12
Source0:   http://search.cpan.org//CPAN/authors/id/C/CE/CEVANS/%{upstream_name}-%{upstream_version}.tar.gz
13
14
Buildrequires: perl-devel
15
buildroot: %{_tmppath}/%{name}-%{version}-%{release}
16
17
18
%description
19
The fsync() function takes a Perl file handle as its only argument, and
20
passes its fileno() to the C function fsync().  It returns I<undef> on
21
failure, or I<true> on success.
22
23
The fsync_fd() function is used internally by fsync(); it takes a file
24
descriptor as its only argument.
25
26
The sync() function is identical to the C function sync().
27
28
This module does B<not> export any methods by default, but fsync() is
29
made available as a method of the I<FileHandle> and I<IO::Handle>
30
classes.
31
32
%prep
33
%setup -q -n %{upstream_name}-%{upstream_version}
34
35
%build
36
%{__perl} Makefile.PL INSTALLDIRS=vendor
37
%make CFLAGS="%{optflags}"
38
39
%check
40
%{__make} test
41
42
%install
43
rm -rf %{buildroot}
44
%makeinstall_std
45
46
%clean
47
rm -rf %{buildroot}
48
49
%files
50
%defattr(-,root,root)
51
%{perl_vendorarch}/File
52
%{perl_vendorarch}/auto/File
53
%{_mandir}/man3/*
54
55
56
%changelog
57
* Wed May 04 2011 Oden Eriksson <oeriksson@mandriva.com> 0.90.0-6mdv2011.0
58
+ Revision: 667145
59
- mass rebuild
60
61
* Sun Apr 03 2011 Funda Wang <fwang@mandriva.org> 0.90.0-5
62
+ Revision: 650045
63
- rebuild
64
65
* Sun Aug 01 2010 Funda Wang <fwang@mandriva.org> 0.90.0-4mdv2011.0
66
+ Revision: 564436
67
- rebuild for perl 5.12.1
68
69
* Tue Jul 20 2010 Sandro Cazzaniga <kharec@mandriva.org> 0.90.0-3mdv2011.0
70
+ Revision: 555283
71
- rebuild
72
73
  + Jérôme Quelin <jquelin@mandriva.org>
74
    - rebuild for 5.12
75
76
* Tue Jul 28 2009 Jérôme Quelin <jquelin@mandriva.org> 0.90.0-1mdv2010.1
77
+ Revision: 401660
78
- rebuild using %%perl_convert_version
79
- fixed license field
80
81
* Thu Jul 31 2008 Thierry Vignaud <tv@mandriva.org> 0.09-8mdv2009.0
82
+ Revision: 257016
83
- rebuild
84
85
* Mon Jan 14 2008 Pixel <pixel@mandriva.com> 0.09-6mdv2008.1
86
+ Revision: 151424
87
- rebuild for perl-5.10.0
88
89
* Wed Dec 26 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.09-5mdv2008.1
90
+ Revision: 137999
91
- spec cleanup
92
93
  + Olivier Blin <oblin@mandriva.com>
94
    - restore BuildRoot
95
96
  + Thierry Vignaud <tv@mandriva.org>
97
    - kill re-definition of %%buildroot on Pixel's request
98
99
100
* Fri Sep 30 2005 Nicolas Lcureuil <neoclust@mandriva.org> 0.09-4mdk
101
- Buildrequires fix
102
103
* Thu Sep 29 2005 Nicolas Lcureuil <neoclust@mandriva.org> 0.09-3mdk
104
- Fix url
105
106
* Fri Jul 08 2005 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.09-2mdk
107
- drop arch restriction
108
109
* Sun Mar 27 2005 Bruno Cornec <bcornec@mandrake.org> 0.09-1mdk
110
- Initial build.
111

Comments