SHA256
1
0
forked from pool/jlfgr

Accepting request 898002 from Java:packages

cleanup

OBS-URL: https://build.opensuse.org/request/show/898002
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jlfgr?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2021-06-07 20:44:08 +00:00 committed by Git OBS Bridge
commit 77e9ce57c8
2 changed files with 16 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,15 +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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: javapackages-filesystem
BuildArch: noarch
%description
@ -44,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