-
Notifications
You must be signed in to change notification settings - Fork 21
/
rubygem-ui_alchemy-rails.spec
226 lines (197 loc) · 8.84 KB
/
rubygem-ui_alchemy-rails.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
%{?scl:%scl_package rubygem-%{gem_name}}
%{!?scl:%global pkg_name %{name}}
# vim: sw=4:ts=4:et
#
# Copyright 2011 Red Hat, Inc.
#
# MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
%global gem_name ui_alchemy-rails
%if "%{?scl}" == "ruby193" || 0%{?rhel} > 6 || 0%{?fedora} < 19
%define rubyabi 1.9.1
%endif
%if 0%{?rhel} == 6 && "%{?scl}" == ""
%global gem_dir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global gem_docdir %{gem_dir}/doc/%{gem_name}-%{version}
%global gem_cache %{gem_dir}/cache/%{gem_name}-%{version}.gem
%global gem_spec %{gem_dir}/specifications/%{gem_name}-%{version}.gemspec
%global gem_instdir %{gem_dir}/gems/%{gem_name}-%{version}
%endif
BuildRequires: %{?scl_prefix}rubygems-devel
Name: %{?scl_prefix}rubygem-%{gem_name}
Summary: Mixing up the best that web technologies have to offer.
Group: Applications/System
License: MIT
Version: 1.0.12
Release: 1%{?dist}
URL: http://www.ui-alchemy.org
Source0: %{pkg_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if 0%{?fedora} > 18
Requires: %{?scl_prefix}ruby(release)
%else
Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
%endif
Requires: %{?scl_prefix}ruby(rubygems)
Requires: %{?scl_prefix}rubygem(compass)
%if 0%{?fedora} > 18
BuildRequires: %{?scl_prefix}ruby(release)
%else
BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
%endif
BuildRequires: %{?scl_prefix}ruby(rubygems)
BuildArch: noarch
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
%description
A Rails engine providing a set of web assets.
%prep
%setup -n %{pkg_name}-%{version} -q
%build
%{?scl:scl enable %{scl} - << \EOF}
LANG=en_US.utf-8 gem build %{gem_name}.gemspec
%{?scl:EOF}
%install
%{?scl:scl enable %{scl} "}
gem install \
--local \
--install-dir %{buildroot}%{gem_dir} \
--force \
%{gem_name}-%{version}.gem
%{?scl:"}
mkdir -p %{buildroot}%{gem_dir}
rm -rf %{buildroot}%{gem_instdir}/.yardoc
%files
%dir %{gem_instdir}
%{gem_instdir}/Rakefile
%{gem_instdir}/lib
%{gem_instdir}/app
%{gem_instdir}/vendor
%exclude %{gem_cache}
%{gem_spec}
%doc %{gem_instdir}/LICENSE
%doc %{gem_instdir}/README.md
%package doc
BuildArch: noarch
Requires: %{?scl_prefix}%{name} = %{version}-%{release}
Summary: Documentation for rubygem-%{gem_name}
%description doc
This package contains documentation for rubygem-%{gem_name}
%files doc
%doc %{gem_docdir}
%changelog
* Tue Aug 27 2013 Eric D Helms <[email protected]> 1.0.12-1
- Version bump to 1.0.12 ([email protected])
- Updating UnderscoreJS to 1.5.1 ([email protected])
- Removed an unused spec macro ([email protected])
- Changes to get alchemy building on f19 ([email protected])
- Adding a build target for Fedora 19 ([email protected])
* Thu Jun 20 2013 Eric D Helms <[email protected]> 1.0.11-1
- Updating spec. ([email protected])
- Version bump to 1.0.11 ([email protected])
- Spec: Enabling SCL prefixes in spec. ([email protected])
- Merge pull request #163 from ehelms/vendor-update ([email protected])
- Alchemy-header update. ([email protected])
- Fonts: Make setting the font_path optional. ([email protected])
- Added support for maxlength attribute for jeditable textarea
- Version bump. ([email protected])
- Merge pull request #159 from ehelms/component-updates ([email protected])
- Bumping the version of Alchemy header included. ([email protected])
* Mon May 06 2013 Eric D Helms <[email protected]> 1.0.9-1
- Version bump. ([email protected])
- Updating alchemy-tables and alchemy-header. ([email protected])
- Adding angular-resource to alchemy rails. ([email protected])
* Mon Apr 22 2013 Eric D Helms <[email protected]> 1.0.8-1
- Version bump 1.0.8. ([email protected])
- Header and Tables - Updates to both components to address issues when
attempting to minify. ([email protected])
- Version bump to 1.0.7. ([email protected])
- Initializer - Fix for the paths initializer that can be ignored by projects
that set config.assets.initialize_on_precompile = false ([email protected])
- Removing unneeded CSS file that doesn't exist from Alchemy repo.
- Updating font urls to be relative to engine namespace. ([email protected])
- Updating Alchemy Tables to include infinite scroll support for loading more
rows. ([email protected])
- Version bump. ([email protected])
- Adding alchemy-header as a carried library. ([email protected])
- Version bump. ([email protected])
- Updates to move references to the alchemy component. ([email protected])
- Removing forms and partials in favor of their components. ([email protected])
- Adding component repositories via bower. ([email protected])
* Fri Mar 29 2013 Eric D Helms <[email protected]> 1.0.4-1
- new package built with tito
* Thu Mar 28 2013 Eric D Helms <[email protected]> 1.0.3-1
- Bumping to meet gem version.
* Thu Mar 28 2013 Eric D Helms <[email protected]> 1.0.2-1
- Version bump. ([email protected])
- Merge pull request #151 from ehelms/flot-cleanup ([email protected])
- Removes Flot development cruft. ([email protected])
- Fix chosen-sprite relative path ([email protected])
- Merge pull request #147 from abenari/select ([email protected])
- Updates Normalize to the most recent version. ([email protected])
- Adds HandlebarsJS templating library ([email protected])
- make select box the same size and same border and background color as the
edit box. ([email protected])
- fixed latest comments. ([email protected])
- Moves engine declaration into explicit file. Adds helper functions for
stylesheets and javascript to ensure child views declaring a stylesheet or
javascript requirement are appended. ([email protected])
- added danger button ([email protected])
- Merge pull request #145 from abenari/minor-fixes ([email protected])
- Merge pull request #142 from mbacovsky/login_screen_padding
- fixed fieldset lable width. ([email protected])
- removed clear after btn-group, because it brakes multiple btn-group in a
single toolbar ([email protected])
- seting the login logo size ([email protected])
- fix image re-size for the logo. This fix enables using a large image for the
logo that looks good in close-up. ([email protected])
- Added btn-success ([email protected])
- added support for single button in a button group ([email protected])
- fixed var usage in url ([email protected])
- added aliases for bootstrap compatibility: primary, btn-primary warning, btn-
warning btn_group, btn-group lable, control-lable ([email protected])
- Update alchemy.gemspec ([email protected])
- make colors default in order to be easily overwritten ([email protected])
- Avoid footer overlaping over login form on narrow screen
- Merge pull request #141 from xsuchy/pull-req-f18 ([email protected])
- Version bump. ([email protected])
- allow to build under F18 ([email protected])
- Adds Media object as a component. ([email protected])
* Tue Jan 15 2013 Eric D Helms <[email protected]> 1.0.1-1
- Spec - Updates to use any version of compass available. ([email protected])
- Added default to component variables + fixed btn primary color at hover
- Templates - Updates to make templates more usuable outside alchemy.
- Version bump. ([email protected])
- Removes the jquery ui development bundle. ([email protected])
- Encoding - A character exists in the comments that causes Rails asset
pipeline to explode. ([email protected])
- SCSS - Moves from relative pathing in SCSS imports to be based off the
alchemy namespacing for proper imports by parent applications using the
engine. ([email protected])
- Removing redundant string. ([email protected])
- Fix for get_string to translate for gettext properly ([email protected])
* Thu Dec 06 2012 Eric D Helms <[email protected]> 1.0.0-1
- new package built with tito