1 %define plugin birthdaypicker
2 Summary: Attempts to mimic the functionality of the birthday select lists on the Facebook signup page
7 Group: Applications/WWW
8 Source0: https://github.com/abecoffman/birthdaypicker/archive/834bca8/%{plugin}-%{version}.tar.gz
9 # Source0-md5: 884c18cac5f36a26be0c7621e92ea071
10 URL: https://github.com/abecoffman/birthdaypicker
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 %define _appdir %{_datadir}/jquery/%{plugin}
18 The birthday picker seeks to emulate the functionality of the birthday
19 picker on the Facebook signup page. It uses three select boxes to
20 choose a date, and tries to ensure that the date is valid by
21 accounting for leap years, etc...
23 It also has a number of options, making it somewhat customizable. The
24 birthday picker generates the following markup:
27 Summary: Demo for jQuery.%{plugin}
28 Summary(pl.UTF-8): Pliki demonstracyjne dla pakietu jQuery.%{plugin}
30 Requires: %{name} = %{version}-%{release}
33 Demonstrations and samples for jQuery.%{plugin}.
37 mv birthdaypicker-*/* .
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_appdir},%{_examplesdir}/%{name}-%{version}}
43 cp -p bday-picker.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.js
44 cp -p bday-picker.min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.min.js
45 ln -s %{plugin}-%{version}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.src.js
46 ln -s %{plugin}-%{version}.min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.js
47 ln -s %{plugin}-%{version}.min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.min.js
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)