OBS User unknown 2007-01-15 23:13:28 +00:00 committed by Git OBS Bridge
commit 444ab1fe70
10 changed files with 287 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
garlic-1.6-doc.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11d21bd565c94c1d0c3529d393f73c279009ed0f6f3657a748acb49820ca721b
size 1173846

11
garlic-1.6-libpath.patch Normal file
View File

@ -0,0 +1,11 @@
--- Makefile
+++ Makefile
@@ -8,7 +8,7 @@
HEADERS = defines.h typedefs.h
-LIBPATH = -L/usr/X11R6/lib
+LIBPATH =
LINKOPT = -lX11 -lm

22
garlic-1.6.patch Normal file
View File

@ -0,0 +1,22 @@
--- garlic-1.3/register.c
+++ garlic-1.3/register.c
@@ -33,6 +33,8 @@
int Register_ (void)
{
+ return 1;
+
char outfile_nameA[SHORTSTRINGSIZE];
char command_stringA[STRINGSIZE];
FILE *outfileP;
--- garlic-1.3/typedefs.h
+++ garlic-1.3/typedefs.h
@@ -38,7 +38,7 @@
/* Configuration data from $HOME/.garlicrc , or - if this file */
-/* does not exist - from /usr/local/lib/garlic/.garlicrc file: */
+/* does not exist - from /etc/garlicrc file: */
/*----------------------------------*/
/* _atomic_ = atomic world units */
/* _real_ = real world units */

3
garlic-1.6.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:259b5d642c3b021229eba9286413ef04ce442616b2a687189f4b9f49ced0f1bf
size 383037

3
garlic.1.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:52a95c9931ef531e256a1f468ef82063a0a77eb14b55acc65fcfc829952d7e5b
size 2281

79
garlic.changes Normal file
View File

@ -0,0 +1,79 @@
-------------------------------------------------------------------
Mon Sep 25 20:21:26 CEST 2006 - lmichnovic@suse.cz
- update to version 1.6
* new rendering features
- create desktop file
-------------------------------------------------------------------
Fri Aug 11 10:16:17 CEST 2006 - lmichnovic@suse.cz
- builds also with X.org 7.x, checks prefix in X.org
- specifying libpath in spec file, not in Makefile (libpath.patch)
-------------------------------------------------------------------
Wed Jan 25 21:36:06 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Fri Jan 13 17:20:43 CET 2006 - lmichnovic@suse.cz
- fixed missing needed file residues.pdb
-------------------------------------------------------------------
Fri Jan 6 20:05:19 CET 2006 - lmichnovic@suse.cz
- update to version 1.5
-------------------------------------------------------------------
Thu May 12 17:44:41 CEST 2005 - meissner@suse.de
- use RPM_OPT_FLAGS
-------------------------------------------------------------------
Fri Jan 21 12:40:10 CET 2005 - postadal@suse.cz
- updated to version 1.4
-------------------------------------------------------------------
Thu Aug 12 15:09:04 CEST 2004 - postadal@suse.cz
- updated to version 1.3
-------------------------------------------------------------------
Fri Mar 19 11:42:12 CET 2004 - postadal@suse.cz
- removed useless .xvpics directory
-------------------------------------------------------------------
Sat Jan 10 16:18:40 CET 2004 - adrian@suse.de
- build as user
-------------------------------------------------------------------
Mon Feb 03 15:34:55 CET 2003 - postadal@suse.cz
- updated to version 1.2
* now can create and edit molecular structures
-------------------------------------------------------------------
Thu Feb 28 10:33:42 CET 2002 - postadal@suse.cz
- fix file permits, moved man page
-------------------------------------------------------------------
Tue Feb 12 12:29:31 CET 2002 - postadal@suse.cz
- fix lib64
-------------------------------------------------------------------
Thu Jan 24 11:39:41 CET 2002 - postadal@suse.cz
- fix specfile
-------------------------------------------------------------------
Fri Jan 18 16:16:00 CET 2002 - postadal@suse.cz
- added package garlic-1.1

142
garlic.spec Normal file
View File

@ -0,0 +1,142 @@
#
# spec file for package garlic (Version 1.6)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: garlic
BuildRequires: update-desktop-files xorg-x11 xorg-x11-devel
License: LGPL
Group: Productivity/Scientific/Chemistry
URL: http://www.ccp14.ac.uk/ccp/web-mirrors/garlic/garlic/
Autoreqprov: on
Version: 1.6
Release: 1
Summary: Molecular Graphics Visualization Tool
Source0: %{name}-%{version}.tar.bz2
Source1: %{name}-%{version}-doc.tar.bz2
Source2: %{name}.1.gz
Patch: %{name}-%{version}.patch
Patch1: garlic-%{version}-libpath.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if "%(xft-config --prefix)" == "/usr"
%define _xorg7libs %_lib
%define _xorg7libs32 lib
%define _xorg7bin bin
%define _xorg7_mandir %_mandir
%define _xorg7pixmaps include
%define _xorg7libshare share
%define _xorg7_xkb /usr/share/X11/xkb
%define _xorg7_termcap /usr/lib/X11/etc
%define _xorg7_serverincl /usr/include/xorg
%define _xorg7_fonts /usr/share/fonts
#%define _xorg7_config /usr/share/X11/config #use libshare macro
%define _xorg7_prefix /usr
%else
%define _xorg7libs X11R6/%_lib
%define _xorg7libs32 X11R6/lib
%define _xorg7bin X11R6/bin
%define _xorg7_mandir /usr/X11R6/man
%define _xorg7pixmaps X11R6/include
%define _xorg7libshare X11R6/lib/
%define _xorg7_xkb /etc/X11/xkb
%define _xorg7_termcap /usr/X11R6/lib/X11/etc
%define _xorg7_serverincl /usr/X11R6/lib/Server/include
%define _xorg7_fonts /usr/X11R6/lib/X11/fonts
#%define _xorg7_config /usr/X11R6/lib/X11/config #use libshare macro
%define _xorg7_prefix /usr/X11R6
%endif
%description
Garlic is an X Window System tool intended for the molecular
visualization of protein structure, DNA structure, and biological
macromolecules. It reads Brookhaven Protein Database (PDB) files.
Authors:
--------
Damir Zucic <zucic@pref.etfos.hr>
%prep
%setup -b 0
%setup -T -D -a 1
%patch -p 1
%patch1
%build
%if "%(xft-config --prefix)" == "/usr"
make %{?jobs:-j%jobs} CCOPT="$RPM_OPT_FLAGS" LIBPATH="-L/usr/%{_lib}"
%else
make %{?jobs:-j%jobs} CCOPT="$RPM_OPT_FLAGS" LIBPATH="-L/usr/X11R6/%{_lib}"
%endif
%install
mkdir -p $RPM_BUILD_ROOT/{usr/%{_xorg7bin},etc,%{_xorg7_mandir}/man1/}
cp -a garlic $RPM_BUILD_ROOT/usr/%{_xorg7bin}/
cp -a .garlicrc $RPM_BUILD_ROOT/etc/garlicrc
mkdir -p $RPM_BUILD_ROOT/usr/share/garlic
cp -a residues.pdb $RPM_BUILD_ROOT/usr/share/garlic/residues.pdb
mv %{name}-%{version} html
install -m 644 %{S:2} $RPM_BUILD_ROOT/%{_xorg7_mandir}/man1/
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
cp -a garlic.xpm $RPM_BUILD_ROOT/usr/share/pixmaps/garlic.xpm
rm -rf html/source html/mouse/.xvpics
chmod 644 html/{README,bold_statement.html,docs.html,favicon.ico,garlic.gif,index.html,monster.gif,versions.html}
%suse_update_desktop_file -n -c %name "Garlic" Garlic garlic garlic Education Science Chemistry
%files
%defattr(-,root,root)
%doc html 1mal.script 2fcp.script 2omf.script 2por.script BUGS COPYING ENVIRONMENT HISTORY INSTALL README TODO
%doc %{_xorg7_mandir}/man1/*
%config /etc/garlicrc
/usr/%{_xorg7bin}/%{name}
/usr/share/garlic
/usr/share/garlic/residues.pdb
/usr/share/applications/%{name}.desktop
/usr/share/pixmaps/garlic.xpm
%clean
[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf %{buildroot}
%changelog -n garlic
* Mon Sep 25 2006 - lmichnovic@suse.cz
- update to version 1.6
* new rendering features
- create desktop file
* Fri Aug 11 2006 - lmichnovic@suse.cz
- builds also with X.org 7.x, checks prefix in X.org
- specifying libpath in spec file, not in Makefile (libpath.patch)
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 13 2006 - lmichnovic@suse.cz
- fixed missing needed file residues.pdb
* Fri Jan 06 2006 - lmichnovic@suse.cz
- update to version 1.5
* Thu May 12 2005 - meissner@suse.de
- use RPM_OPT_FLAGS
* Fri Jan 21 2005 - postadal@suse.cz
- updated to version 1.4
* Thu Aug 12 2004 - postadal@suse.cz
- updated to version 1.3
* Fri Mar 19 2004 - postadal@suse.cz
- removed useless .xvpics directory
* Sat Jan 10 2004 - adrian@suse.de
- build as user
* Mon Feb 03 2003 - postadal@suse.cz
- updated to version 1.2
* now can create and edit molecular structures
* Thu Feb 28 2002 - postadal@suse.cz
- fix file permits, moved man page
* Tue Feb 12 2002 - postadal@suse.cz
- fix lib64
* Thu Jan 24 2002 - postadal@suse.cz
- fix specfile
* Fri Jan 18 2002 - postadal@suse.cz
- added package garlic-1.1

0
ready Normal file
View File