SHA256
1
0
forked from pool/jlfgr
Fridrich Strba 2021-06-07 08:40:11 +00:00 committed by Git OBS Bridge
parent 76f7c6644e
commit f22d4f0f0b
2 changed files with 15 additions and 16 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jun 7 08:39:08 UTC 2021 - Fridrich Strba <fstrba@suse.com>
- A new cleanup of the spec file along with added
javapackages-filesystem dependency in order to avoid unowned
directories
-------------------------------------------------------------------
Thu Feb 7 08:04:56 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package jlfgr
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,16 +17,15 @@
Name: jlfgr
Version: 1.0
Release: 0
Summary: Java look and feel Graphics Repository
License: SUSE-Redistributable-Content
Group: Development/Languages/Java
Version: 1.0
Release: 0
Url: http://java.sun.com/developer/techDocs/hi/repository/
URL: https://java.sun.com/developer/techDocs/hi/repository/
Source0: %{name}-%{version}.tar.bz2
BuildRequires: fastjar
BuildRequires: javapackages-filesystem
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
@ -45,25 +44,18 @@ terminology across different Java look and feel applications.
To provide feedback about the graphics repository, send email to the
Java look and feel Design Team (jlfdesign (at) sun (dot) com).
Authors:
--------
Java look and feel Design Team (jlfdesign@sun.com)
%prep
%setup -q
%setup -q
%build
# NOP
%install
install -d -m 755 $RPM_BUILD_ROOT/%{_javadir}
install -m 644 *jar $RPM_BUILD_ROOT/%{_javadir}
(cd $RPM_BUILD_ROOT/%{_javadir}; ln -sf jlfgr-1_0.jar jlfgr-%{version}.jar; ln -sf jlfgr-1_0.jar jlfgr.jar)
install -d -m 755 %{buildroot}/%{_javadir}
install -m 644 *jar %{buildroot}/%{_javadir}
(cd %{buildroot}/%{_javadir}; ln -sf jlfgr-1_0.jar jlfgr-%{version}.jar; ln -sf jlfgr-1_0.jar jlfgr.jar)
%files
%defattr(-,root,root)
%{_javadir}/*.jar
%changelog