Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:Test
jcalendar
jcalendar.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jcalendar.spec of Package jcalendar
# # spec file for package jcalendar (Version 1.3.2) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: jcalendar Version: 1.3.2 Release: 2 Summary: Java date chooser bean for graphically picking a date Group: Development/Libraries/Java License: GPL v2 or later Url: http://toedter.com/en/jcalendar/index.html Source: jcalendar-1.3.2.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch BuildRequires: java-devel BuildRequires: ant BuildRequires: unzip Requires: jgoodies-looks Requires: jpackage-utils %description JCalendar is a Java date chooser bean for graphically picking a date. JCalendar is composed of several other Java beans, a JDayChooser, a JMonthChooser and a JYearChooser. All these beans have a locale property, provide several icons (Color 16x16, Color 32x32, Mono 16x16 and Mono 32x32) and their own locale property editor. So they can easily be used in GUI builders. Also part of the package is a JDateChooser, a bean composed of an IDateEditor (for direct date editing) and a button for opening a JCalendar for selecting the date. Authors: -------- Kai Toedter %package javadoc License: GPL v2 or later Summary: Java date chooser bean for graphically picking a date Group: Development/Libraries/Java %description javadoc JCalendar is a Java date chooser bean for graphically picking a date. JCalendar is composed of several other Java beans, a JDayChooser, a JMonthChooser and a JYearChooser. All these beans have a locale property, provide several icons (Color 16x16, Color 32x32, Mono 16x16 and Mono 32x32) and their own locale property editor. So they can easily be used in GUI builders. Also part of the package is a JDateChooser, a bean composed of an IDateEditor (for direct date editing) and a button for opening a JCalendar for selecting the date. Authors: -------- Kai Toedter %prep %setup -q # remove all third party jars find . -iname '*.jar' | xargs rm -rf # wrong end of line encoding #sed -i -e 's/.$//' %build ant -f src/build.xml dist %install install -d -m 755 $RPM_BUILD_ROOT/%{_javadir} # jars install -m 644 dist/lib/%{name}-%{version}.jar $RPM_BUILD_ROOT/%{_javadir} (cd $RPM_BUILD_ROOT%{_javadir}/ && for jar in *-%{version}*; do ln -sf ${jar} ${jar/-%{version}/}; done) # javadoc install -d -m 755 $RPM_BUILD_ROOT/%{_javadocdir}/%{name}-%{version} cp -pr dist/doc/* $RPM_BUILD_ROOT/%{_javadocdir}/%{name}-%{version} ln -s %{name}-%{version} $RPM_BUILD_ROOT/%{_javadocdir}/%{name} # binary install -d -m 755 $RPM_BUILD_ROOT/%{_bindir} cat > $RPM_BUILD_ROOT/%{_bindir}/%{name} << EOF #!/bin/sh java -classpath $(build-classpath jcalendar jgoodies-looks) com.toedter.calendar.demo.JCalendarDemo EOF %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,0755) %doc jcalendar-license.txt %{_javadir}/%{name}*.jar %defattr(0755,root,root,0755) %{_bindir}/%{name} %files javadoc %defattr(-,root,root) %{_javadocdir}/%{name}-%{version} %{_javadocdir}/%{name} %changelog * Wed Aug 20 2008 mvyskocil@suse.cz - Initial packaging - 1.3.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor