Logoj0ke.net Open Build Service > Projects > devel > yasm > Changes
Sign Up | Log In

Changes of Revision 12

[-] Changed yasm.spec
x
 
1
@@ -1,27 +1,23 @@
2
 #
3
-# spec file for package yasm (Version 0.8.0)
4
+# spec file for package yasm (Version 1.0.1)
5
 #
6
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
7
-# This file and all modifications and additions to the pristine
8
-# package are under the same license as the package itself.
9
+# based on the spec file from openSUSE:
10
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
11
 #
12
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
13
-#
14
-
15
 # norootforbuild
16
-# usedforbuild    aaa_base acl attr audit-libs autoconf automake bash bind-libs bind-utils binutils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db diffutils e2fsprogs file filesystem fillup findutils flex gawk gcc gdbm gdbm-devel gettext gettext-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv klogd less libacl libattr libcom_err libgcc libnscd libstdc++ libtool libxcrypt libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch perl permissions popt procinfo procps psmisc pwdutils rcs readline rpm sed strace sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel
17
+
18
 
19
 Name:           yasm
20
-URL:            http://www.tortall.net/projects/yasm/
21
-License:        BSD
22
+Version:        1.0.1
23
+Release:        1
24
+License:        BSD 3-Clause
25
 Group:          Development/Languages/Other
26
-Autoreqprov:    on
27
-Version:        0.8.0
28
-Release:        20
29
 Summary:        YASM is a complete rewrite of the NASM assembler
30
-Source0:        yasm-%{version}.tar.bz2
31
+Url:            http://www.tortall.net/projects/yasm/
32
+Source0:        %{name}-%{version}.tar.bz2
33
+AutoReqProv:    on
34
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
35
-   
36
+BuildRequires:  python
37
 
38
 %description
39
 YASM is a complete rewrite of the NASM assembler. It is designed from
40
@@ -37,6 +33,7 @@
41
     Peter Johnson <peter@tortall.net>
42
 
43
 %debug_package
44
+
45
 %package devel
46
 License:        BSD 3-Clause
47
 Summary:        YASM development package
48
@@ -58,18 +55,19 @@
49
 %setup -q
50
 
51
 %build
52
-CFLAGS="$RPM_OPT_FLAGS" \
53
-./configure --libdir=%_libdir --prefix=/usr --mandir=%_mandir
54
-%__make %{?jobs:-j%jobs}
55
+export CFLAGS="%{optflags}" 
56
+%{configure} --prefix=/usr --with-gnu-ld --enable-python
57
+%{__make} %{?jobs:-j%{jobs}}
58
 
59
 %install
60
-%__make DESTDIR=$RPM_BUILD_ROOT  install 
61
+[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
62
+mkdir %{buildroot}
63
+%__make DESTDIR=$RPM_BUILD_ROOT install
64
 
65
 %clean
66
-rm -rf $RPM_BUILD_ROOT
67
+[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
68
 
69
 %post -p /sbin/ldconfig
70
-
71
 %postun -p /sbin/ldconfig
72
 
73
 %files
74
@@ -85,32 +83,6 @@
75
 /usr/include/*
76
 %{_libdir}/lib*.a
77
 
78
-%changelog -n yasm
79
-* Sat Jul 11 2009 Carsten Schoene <cs@linux-administrator.com> - 0.8.0-20
80
-- update to release 0.8.0
81
-
82
-* Sat Aug 16 2008 Carsten Schoene <cs@linux-administrator.com>
83
-- new upstream release 0.7.1
84
-* Wed Mar 19 2008 Carsten Schoene <cs@linux-administrator.com>
85
-- version bump to 0.6.2
86
-* Sun Sep 30 2007 Carsten Schoene <cs@linux-administrator.com>
87
-- import for SLE_10 build
88
-* Wed Jan 25 2006 - mls@suse.de
89
-- converted neededforbuild to BuildRequires
90
-* Mon Jul 04 2005 - sf@suse.de
91
-- fix missing string function declarations
92
-* Wed Apr 27 2005 - meissner@suse.de
93
-- fixed one stack overflow.
94
-* Sun Mar 20 2005 - olh@suse.de
95
-- fix memory corruption in genmacro while handling empty lines
96
-  or lines with whitespaces only
97
-  use RPM_OPT_FLAGS, build with icecream
98
-* Thu Feb 10 2005 - sf@suse.de
99
-- update to version 0.4.0
100
-- added man pages
101
-* Fri Nov 12 2004 - ro@suse.de
102
-- fixed file list
103
-* Sat Jan 10 2004 - adrian@suse.de
104
-- add %%defattr and %%run_dlconfig
105
-* Wed Nov 12 2003 - sf@suse.de
106
-- initial release 0.3.0
107
+%changelog
108
+* Sat Jul 11 2009 Carsten Schoene <cs@linux-administrator.com> - 1.0.1-1
109
+- update to release 1.0.1
110
Changed yasm-1.0.1.tar.bz2 ^