Revert "LP#1332651 do not strip internal spaces in barcode"
[working/Evergreen.git] / Open-ILS / src / extras / install / Makefile.fedora
1 # install files for Fedora
2
3 DIR = $(dir $(lastword $(MAKEFILE_LIST)))
4
5 # Fedora?
6 FEDORA=$(shell uname -r | grep "\.fc[0-9][0-9]\.")
7 # Fedora 64-bit?
8 FEDORA_64=$(shell uname -r | grep "\.fc[0-9][0-9]\.x86_64")
9
10 PGSQL_COMMON_RPMS = \
11         gcc \
12         perl-Business-ISBN \
13         perl-Library-CallNumber-LC \
14         perl-MARC-Record \
15         perl-MARC-XML \
16         perl-UUID-Tiny \
17         perl-XML-LibXML \
18         perl-XML-LibXSLT
19
20 FEDORA_RPMS = \
21         $(PGSQL_COMMON_RPMS) \
22         aspell \
23         aspell-en \
24         bzip2-devel \
25         check \
26         check-devel \
27         libdbi \
28         libdbi-dbd-pgsql \
29         libdbi-devel \
30         libssh2-devel \
31         libyaz \
32         libyaz-devel \
33         mingw32-nsiswrapper \
34         mod_perl \
35         mod_ssl \
36         ncurses-devel \
37         ncurses-libs \
38         perl-parent \
39         perl-Business-CreditCard \
40         perl-Business-ISBN-Data \
41         perl-CPAN \
42         perl-Crypt-SSLeay \
43         perl-Date-Manip \
44         perl-DBD-Pg \
45         perl-Email-Send \
46         perl-Email-Simple \
47         perl-Email-MIME \
48         perl-GDGraph3d \
49         perl-JSON-XS \
50         perl-LDAP \
51         perl-Locale-Codes \
52         perl-Locale-Maketext-Lexicon \
53         perl-MARC-Charset \
54         perl-Module-Pluggable \
55         perl-Net-IP \
56         perl-Net-SSH2 \
57         perl-OLE-Storage_Lite \
58         perl-Parse-RecDescent \
59         perl-RPC-XML \
60         perl-SOAP-Lite \
61         perl-Test-Warn \
62         perl-Test-Output \
63         perl-Text-Aspell \
64         perl-Text-CSV \
65         perl-Text-CSV_XS \
66         perl-XML-Writer \
67         perl-HTML-Defang \
68         postgresql-devel \
69         readline-devel \
70         tcp_wrappers-devel \
71         wget \
72         yaz
73
74 export CPAN_MODULES = \
75         Excel::Writer::XLSX \
76         Business::ISSN \
77         Net::Z3950::ZOOM \
78         Net::Z3950::Simple2ZOOM \
79         Template::Plugin::POSIX \
80         SRU \
81         Rose::URI
82
83 export CPAN_MODULES_FORCE = \
84         Business::Stripe \
85         Class::DBI::Frozen::301 \
86         Business::OnlinePayment \
87         Business::OnlinePayment::AuthorizeNet \
88         Business::OnlinePayment::PayflowPro \
89         Business::OnlinePayment::PayPal
90
91 PGSQL_FEDORA_RPMS = \
92         $(PGSQL_COMMON_RPMS) \
93         postgresql \
94         postgresql-contrib \
95         postgresql-libs \
96         postgresql-plperl \
97         postgresql-server
98
99 all: install_fedora_rpms
100         make -f $(DIR)/Makefile.common install_net_z3950_simpleserver
101         make -f $(DIR)/Makefile.common install_cpan
102         make -f $(DIR)/Makefile.common install_cpan_force
103
104 install_postgres_server:
105         yum -y install $(PGSQL_FEDORA_RPMS)
106
107 install_fedora_rpms:
108         yum -y update
109         yum -y install $(FEDORA_RPMS)
110
111 clean:
112         make -f $(DIR)/Makefile.common clean
113
114 # vim:noet:sw=4:ts=4: