]> git.pld-linux.org Git - packages/jquery-birthdaypicker.git/commitdiff
new, version 1.4 master auto/th/jquery-birthdaypicker-1.4-1
authorElan Ruusamäe <glen@delfi.ee>
Wed, 16 Oct 2013 13:35:17 +0000 (16:35 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 16 Oct 2013 13:35:17 +0000 (16:35 +0300)
jquery-birthdaypicker.spec [new file with mode: 0644]

diff --git a/jquery-birthdaypicker.spec b/jquery-birthdaypicker.spec
new file mode 100644 (file)
index 0000000..46eed5a
--- /dev/null
@@ -0,0 +1,55 @@
+%define                plugin  birthdaypicker
+Summary:       Attempts to mimic the functionality of the birthday select lists on the Facebook signup page
+Name:          jquery-%{plugin}
+Version:       1.4
+Release:       1
+License:       MIT/GPL
+Group:         Applications/WWW
+Source0:       https://github.com/abecoffman/birthdaypicker/archive/834bca8/%{plugin}-%{version}.tar.gz
+# Source0-md5: 884c18cac5f36a26be0c7621e92ea071
+URL:           https://github.com/abecoffman/birthdaypicker
+Requires:      jquery
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _appdir %{_datadir}/jquery/%{plugin}
+
+%description
+The birthday picker seeks to emulate the functionality of the birthday
+picker on the Facebook signup page. It uses three select boxes to
+choose a date, and tries to ensure that the date is valid by
+accounting for leap years, etc...
+
+It also has a number of options, making it somewhat customizable. The
+birthday picker generates the following markup:
+
+%package demo
+Summary:       Demo for jQuery.%{plugin}
+Summary(pl.UTF-8):     Pliki demonstracyjne dla pakietu jQuery.%{plugin}
+Group:         Development
+Requires:      %{name} = %{version}-%{release}
+
+%description demo
+Demonstrations and samples for jQuery.%{plugin}.
+
+%prep
+%setup -qc
+mv birthdaypicker-*/* .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_appdir},%{_examplesdir}/%{name}-%{version}}
+
+cp -p bday-picker.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.js
+cp -p bday-picker.min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.min.js
+ln -s %{plugin}-%{version}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.src.js
+ln -s %{plugin}-%{version}.min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.js
+ln -s %{plugin}-%{version}.min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.min.js
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%{_appdir}
This page took 0.204972 seconds and 4 git commands to generate.