Logoj0ke.net Open Build Service > Projects > multimedia > libdvdplay > Changes
Sign Up | Log In

Changes of Revision 2

[-] Changed libdvdplay.spec
x
 
1
@@ -1,73 +1,82 @@
2
-
3
 # norootforbuild
4
 
5
-Name:           libdvdplay
6
+%define  realname    libdvdplay
7
+%define  soname      0
8
+
9
+Name:           %{realname}%{soname}
10
+Version:        1.0.1
11
+Release:        6
12
 License:        GPL
13
 Group:          Productivity/Multimedia/Other
14
 Summary:        A Portable Abstraction Library for DVD Menu Support
15
-Version:        1.0.1
16
-Release:        1.2
17
-Source0:        http://www.videolan.org/pub/libdvdplay/%{version}/libdvdplay-%{version}.tar.bz2
18
 URL:            http://developers.videolan.org/libdvdplay/
19
+
20
+Source0:        http://www.videolan.org/pub/%{realname}/%{version}/%{realname}-%{version}.tar.bz2
21
+
22
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
23
 
24
 BuildRequires:  libdvdread-devel
25
 
26
+
27
 %description
28
 libdvdplay is a portable abstraction library for DVD menu support. It
29
 provides a simple API to access a DVD device as a block device. This
30
 package contains the libdvdplay runtime library.
31
 
32
 
33
-%debug_package
34
-%package devel
35
+%package -n %{realname}-devel
36
 Summary:        A portable abstraction library for DVD menus support
37
 Group:          Development/Libraries/C and C++
38
 Requires:       %{name} = %{version}-%{release}
39
 
40
-%description devel
41
+%description -n %{realname}-devel
42
 libdvdplay is a portable abstraction library for DVD menus support, it
43
 provides a simple API to access a DVD device as a block device. This
44
 package contains the libdvdplay static libraries and header files.
45
 
46
 
47
+%debug_package
48
+
49
+
50
 %prep
51
-%setup
52
+%setup -q -n %{realname}-%{version}
53
+
54
 
55
 %build
56
-%{?suse_update_config:%{suse_update_config -f }}
57
-autoreconf --force --install
58
-export CFLAGS="$RPM_OPT_FLAGS"
59
-./configure --prefix=/usr --libdir=%{_libdir} --includedir=/usr/include
60
-make
61
+%configure
62
+%__make %{?jobs:-j%{jobs}}
63
+
64
 
65
 %install
66
-rm -rf $RPM_BUILD_ROOT
67
-mkdir -p $RPM_BUILD_ROOT
68
-make DESTDIR=$RPM_BUILD_ROOT install
69
+%makeinstall
70
+
71
 
72
 %clean
73
-rm -rf $RPM_BUILD_ROOT
74
+%__rm -rf "%{buildroot}"
75
+
76
 
77
 %post
78
-%run_ldconfig
79
+/sbin/ldconfig
80
+
81
 
82
 %postun
83
-%run_ldconfig
84
+/sbin/ldconfig
85
+
86
 
87
 %files
88
 %defattr(-,root,root)
89
 %{_libdir}/*.so.*
90
 %doc AUTHORS COPYING NEWS README THANKS TODO ChangeLog
91
 
92
-%files devel
93
+
94
+%files -n %{realname}-devel
95
 %defattr(-,root,root)
96
-/usr/include/*
97
+%{_includedir}/*
98
 %{_libdir}/*.so
99
 %{_libdir}/*.a
100
 %{_libdir}/*.la
101
 
102
-%changelog -n libdvdplay
103
+
104
+%changelog
105
 * Fri Dec 28 2007 Carsten Schoene <cs@linux-administrator.com>
106
 - import for SLE_10 build
107
-
108