Logoj0ke.net Open Build Service > Projects > devel:perl > perl-X11-Protocol > Changes
Sign Up | Log In

Changes of Revision 2

[-] Added perl-X11-Protocol.spec
x
 
1
@@ -0,0 +1,90 @@
2
+# $Id$
3
+# Authority: dries
4
+# Upstream: Stephen McCamant <smcc$csua,berkeley,edu>
5
+
6
+# %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
7
+# %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
8
+
9
+%define real_name X11-Protocol
10
+
11
+Summary: Perl module for the X Window System Protocol
12
+Name: perl-X11-Protocol
13
+Version: 0.56
14
+Release: 1
15
+License: Artistic
16
+Group: Applications/CPAN
17
+URL: http://search.cpan.org/dist/X11-Protocol/
18
+Packager: Richard Bos <richard@radoeka.nl>
19
+
20
+Source: http://www.cpan.org/modules/by-module/X11/X11-Protocol-%{version}.tar.gz
21
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
22
+
23
+BuildArch: noarch
24
+BuildRequires: perl
25
+%if 0%{?fedora_version} >= 7
26
+BuildRequires: perl-ExtUtils-MakeMaker
27
+%endif
28
+
29
+%description
30
+This is a module for the X Window System Protocol.
31
+
32
+%prep
33
+%setup -q -n %{real_name}-%{version}
34
+perl Makefile.PL
35
+%{__make} %{?_smp_mflags}
36
+%makeinstall DESTDIR=$RPM_BUILD_ROOT
37
+%if 0%{?suse_version}
38
+%perl_process_packlist
39
+%else
40
+find $RPM_BUILD_ROOT -name perllocal.pod -exec rm {} \; >/dev/null
41
+%endif
42
+cd $RPM_BUILD_ROOT
43
+find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name}
44
+find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name}
45
+find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name}
46
+
47
+%clean
48
+rm -rf $RPM_BUILD_ROOT/*
49
+rm -rf $RPM_BUILD_DIR/%{name}*
50
+
51
+%if 0%{?suse_version}
52
+%files
53
+%doc Changes README Todo
54
+/usr/share/man/man3/*
55
+/var/adm/perl-modules/perl-%{real_name}
56
+%{perl_sitelib}/*
57
+%ifarch %ix86
58
+%{perl_sitelib}/i586-linux-thread-multi
59
+%endif
60
+%ifarch x86_64
61
+%{perl_sitelib}/x86_64-linux-thread-multi
62
+%endif
63
+
64
+%else
65
+
66
+%files -f ../file.list.%{name}
67
+
68
+%endif
69
+
70
+
71
+
72
+%changelog
73
+* Sat Sep 22 2007 Carsten Schoene <cs@linux-administrator.com> - 0.56-1
74
+- Updated to releas 0.56
75
+- added BuildRequires for Fedora 7 
76
+
77
+* Mon Jul 31 2006 Richard Bos <richard@radoeka.nl> - 0.55-1
78
+- Initial build for opensuse
79
+
80
+* Sun Mar 26 2006 Dries Verachtert <dries@ulyssis.org> - 0.55-1
81
+- Updated to release 0.55.
82
+
83
+* Wed Mar 22 2006 Dries Verachtert <dries@ulyssis.org> - 0.54-1.2
84
+- Rebuild for Fedora Core 5.
85
+
86
+* Wed Jun  8 2005 Dries Verachtert <dries@ulyssis.org> - 0.54-1
87
+- Updated to release 0.54.
88
+
89
+* Wed Dec 08 2004 Dries Verachtert <dries@ulyssis.org> - 0.53-1
90
+- Initial package.
91
+
92